mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
88 lines
2.5 KiB
Plaintext
88 lines
2.5 KiB
Plaintext
#
|
|
# GLOBAL PACKAGE SETTINGS
|
|
#
|
|
# These settings will be sourced directly from the PKGBUILDS
|
|
|
|
# KDE settings
|
|
_kdever="17.12.3"
|
|
_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.38"
|
|
_kdevver='5.2.1'
|
|
|
|
# Qt settings
|
|
_qtver="4.8.7"
|
|
_qtpkg="qt"
|
|
|
|
Avalidpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
|
|
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck@kde.org>
|
|
2D1D5B0588357787DE9EE225EC94D18F7F05997E # Jonathan Riddell
|
|
348C8651206633FD983A8FC4DEACEA00075E1D76 # KDE Neon
|
|
D07BD8662C56CB291B316EB2F5675605C74E02CF # David Edmundson
|
|
1FA881591C26B276D7A5518EEAAF29B42A678C20) # Marco Martin
|
|
|
|
# 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
|