mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
83 lines
2.2 KiB
Plaintext
83 lines
2.2 KiB
Plaintext
#
|
|
# GLOBAL PACKAGE SETTINGS
|
|
#
|
|
# These settings will be sourced directly from the PKGBUILDS
|
|
|
|
# KDE settings
|
|
_kdever="16.12.2"
|
|
_mirror="http://download.kde.org/stable/applications/${_kdever}/src"
|
|
_oldkdever="4.14.3"
|
|
#_oldkdemirror="http://download.kde.org/stable/${_oldkdever}/src"
|
|
_workspace_ver="4.11.22"
|
|
_libsver="4.14.29"
|
|
_kdevver='5.0.3'
|
|
|
|
# Qt settings
|
|
_qtver="4.8.7"
|
|
_qtpkg="qt"
|
|
|
|
Avalidpgpkeys=('CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7') # "Albert Astals Cid <aacid@kde.org>"
|
|
|
|
# Package name prefix
|
|
# FIXME: Can we get rid of this?
|
|
_pkgprefix="kde"
|
|
|
|
# Install prefix
|
|
_installprefix="/usr"
|
|
|
|
# Build type, one of the following:
|
|
# Release: Compile with no debugging information, optimization enabled
|
|
# Debug: Minimal optimization, with debugging information
|
|
# RelWithDebInfo: Normal optimization, with debugging information
|
|
# MinSizeRel: No debugging information, with optimization for smallest size
|
|
_build_type="RelWithDebInfo"
|
|
|
|
function cmake_kf5() {
|
|
cmake -DCMAKE_BUILD_TYPE=${_build_type} \
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_SYSCONFDIR=/etc \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DBUILD_TESTING=OFF \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
|
|
}
|
|
|
|
# Working directory for this repository
|
|
_build_work="/chakra/desktop-testing/"
|
|
|
|
# Automatic installation of packages
|
|
#
|
|
# To make this work without entering your password, add the
|
|
# following entry to /etc/sudoers:
|
|
#
|
|
# $your_username all=nopasswd: /usr/bin/pacman
|
|
#
|
|
# Notice: You _must_ enable this if you want to build kde4
|
|
# on a system without any prior installation.
|
|
#
|
|
_build_autoinstall=1
|
|
|
|
# Automatic installation of dependencies
|
|
#
|
|
# To make this work without entering your password, add the
|
|
# following entry to /etc/sudoers:
|
|
#
|
|
# $your_username all=nopasswd: /usr/bin/pacman
|
|
#
|
|
# Notice: You _must_ enable this if you want to build kde4
|
|
# on a system without any prior installation.
|
|
#
|
|
_build_autodepends=1
|
|
|
|
# Behavior when a package fails to build
|
|
#
|
|
# Set to "1" if you want to stop the script(s) when
|
|
# a package fails to build.
|
|
#
|
|
_build_stop=1
|
|
|
|
# If you think you have configured everything,
|
|
# set this to 1 to remove the warning.
|
|
#
|
|
_build_configured=1
|