Plasma 5: Fixes in PKGBUILDs regarding cmake_kf5

This commit is contained in:
Neophytos Kolokotronis 2015-02-23 21:41:32 +00:00
parent 22913403be
commit 87dc140392
32 changed files with 38 additions and 195 deletions

View File

@ -26,12 +26,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${_pkgname}-${pkgver} \ cmake_kf5 ../${_pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -22,12 +22,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgbase}-${PSubVersion} \ cmake_kf5 ../${pkgbase}-${PSubVersion}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
cd ../build-kde4 cd ../build-kde4

View File

@ -1,5 +1,4 @@
#contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kde-cli-tools #contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kde-cli-tools
source ../plasma.conf source ../plasma.conf
pkgname=kde-cli-tools pkgname=kde-cli-tools
@ -24,12 +23,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYHTON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -26,14 +26,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${_pkgname}-${pkgver} \ cmake_kf5 ../${_pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DSYSCONF_INSTALL_DIR=/etc \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -22,12 +22,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DSYSCONF_INSTALL_DIR=/etc \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -25,12 +25,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${_pkgname}-${pkgver} \ cmake_kf5 ../${_pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -27,12 +27,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${_pkgname}-${pkgver} \ cmake_kf5 ../${_pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -21,13 +21,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -23,11 +23,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -22,12 +22,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -26,11 +26,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -24,11 +24,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -26,11 +26,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${_pkgname}-${pkgver} \ cmake_kf5 ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -1,4 +1,4 @@
# Contributions from Arch: # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/ksshaskpass
source ../plasma.conf source ../plasma.conf
@ -24,12 +24,8 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \ make
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make
} }
package() { package() {

View File

@ -24,11 +24,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -20,11 +20,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../$pkgname-${pkgver} \ cmake_kf5 ../$pkgname-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -29,13 +29,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -23,12 +23,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_AS_EXECUTABLE=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DLIB_INSTALL_DIR=lib \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -1,5 +1,4 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libbluedevil-frameworks
source ../plasma.conf source ../plasma.conf
pkgname=libbluedevil-kf5 pkgname=libbluedevil-kf5
@ -22,16 +21,14 @@ sha256sums=( $(getSum ${_pkgname}) )
prepare() { prepare() {
mkdir -p build mkdir -p build
cd ${_pkgname}-${pkgver} cd ${_pkgname}-${pkgver}
} }
build() { build() {
cd build cd build
cmake_kf5 ../${_pkgname}-${pkgver} \ cmake_kf5 ../${_pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_LIBDIR=lib
make make
} }

View File

@ -1,5 +1,4 @@
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libkscreen-frameworks # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libkscreen-frameworks
source ../plasma.conf source ../plasma.conf
pkgname=libkscreen-kf5 pkgname=libkscreen-kf5
@ -16,7 +15,6 @@ groups=('plasma')
options=("debug") options=("debug")
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz") source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) ) sha256sums=( $(getSum ${_pkgname}) )
replaces=('libkscreen2') replaces=('libkscreen2')
provides=('libkscreen2') provides=('libkscreen2')
@ -26,13 +24,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${_pkgname}-${pkgver} \ cmake_kf5 ../${_pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -23,11 +23,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -22,12 +22,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${_pkgname}-${pkgver} \ cmake_kf5 ../${_pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -21,12 +21,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -24,11 +24,7 @@ prepare() {
build() { build() {
cd build cd build
cmake ../oxygen-fonts-${pkgver} \ cmake_kf5 ../oxygen-fonts-${pkgver}
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make make
} }

View File

@ -20,12 +20,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../$pkgname-$PSubVersion \ cmake_kf5 ../$pkgname-$PSubVersion
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
cd .. cd ..
@ -47,7 +42,7 @@ package_oxygen() {
cd build cd build
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
# Cursors conflicts with kdebase-workspace # Cursors conflicts with kde-workspace
rm -r "${pkgdir}"/usr/share/icons/ rm -r "${pkgdir}"/usr/share/icons/
} }

View File

@ -26,13 +26,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -24,12 +24,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${PSubVersion} \ cmake_kf5 ../${pkgname}-${PSubVersion}
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -20,10 +20,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -1,5 +1,4 @@
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/polkit-kde-frameworks # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/polkit-kde-frameworks
source ../plasma.conf source ../plasma.conf
pkgname=polkit-kde-agent-frameworks pkgname=polkit-kde-agent-frameworks
@ -22,13 +21,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${_pkgname}-${pkgver} \ cmake_kf5 ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DLIBEXEC_INSTALL_DIR=lib/polkit-kde
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DSYSCONF_INSTALL_DIR=/etc \
-DLIBEXEC_INSTALL_DIR=lib/polkit-kde \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -23,11 +23,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }

View File

@ -22,14 +22,8 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver}
-DCMAKE_BUILD_TYPE=Release \ make
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DSYSCONF_INSTALL_DIR=/etc \
-DBUILD_TESTING=OFF
make
} }
package() { package() {

View File

@ -23,11 +23,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
make make
} }