2015-03-23 14:47:10 +08:00
|
|
|
#
|
|
|
|
# GLOBAL PACKAGE SETTINGS
|
|
|
|
#
|
|
|
|
# These settings will be sourced directly from the PKGBUILDS
|
|
|
|
|
|
|
|
# KDE settings
|
2018-02-09 03:08:22 +08:00
|
|
|
_kdever="17.12.2"
|
2016-04-23 05:55:25 +08:00
|
|
|
_mirror="http://download.kde.org/stable/applications/${_kdever}/src"
|
2015-03-23 14:47:10 +08:00
|
|
|
_oldkdever="4.14.3"
|
2016-12-21 05:48:24 +08:00
|
|
|
#_oldkdemirror="http://download.kde.org/stable/${_oldkdever}/src"
|
2015-08-15 16:32:44 +08:00
|
|
|
_workspace_ver="4.11.22"
|
2017-11-20 15:18:12 +08:00
|
|
|
_libsver="4.14.38"
|
2017-11-25 00:25:35 +08:00
|
|
|
_kdevver='5.2.1'
|
2015-03-23 14:47:10 +08:00
|
|
|
|
|
|
|
# Qt settings
|
2015-06-29 05:25:36 +08:00
|
|
|
_qtver="4.8.7"
|
2015-03-23 14:47:10 +08:00
|
|
|
_qtpkg="qt"
|
|
|
|
|
2017-07-15 17:07:23 +08:00
|
|
|
Avalidpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
|
2018-02-09 03:08:22 +08:00
|
|
|
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck@kde.org>
|
|
|
|
2D1D5B0588357787DE9EE225EC94D18F7F05997E # Jonathan Riddell
|
|
|
|
348C8651206633FD983A8FC4DEACEA00075E1D76 # KDE Neon
|
|
|
|
D07BD8662C56CB291B316EB2F5675605C74E02CF # David Edmundson
|
|
|
|
1FA881591C26B276D7A5518EEAAF29B42A678C20) # Marco Martin
|
2016-12-21 05:48:24 +08:00
|
|
|
|
2015-03-23 14:47:10 +08:00
|
|
|
# Package name prefix
|
|
|
|
# FIXME: Can we get rid of this?
|
|
|
|
_pkgprefix="kde"
|
|
|
|
|
2015-04-10 09:47:12 +08:00
|
|
|
# Install prefix
|
|
|
|
_installprefix="/usr"
|
|
|
|
|
2015-04-10 09:50:36 +08:00
|
|
|
# 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"
|
2015-04-10 09:47:12 +08:00
|
|
|
|
2015-04-04 03:04:46 +08:00
|
|
|
function cmake_kf5() {
|
2015-04-10 09:50:36 +08:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=${_build_type} \
|
2015-04-10 09:47:12 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
2016-04-16 22:34:39 +08:00
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
2016-04-17 22:41:30 +08:00
|
|
|
-DKDE_INSTALL_SYSCONFDIR=/etc \
|
|
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
2015-04-04 03:04:46 +08:00
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
|
|
|
|
}
|
|
|
|
|
2015-03-23 14:47:10 +08:00
|
|
|
# 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
|