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() {
cd build
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
cmake_kf5 ../${_pkgname}-${pkgver}
make
}

View File

@ -22,12 +22,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${pkgbase}-${PSubVersion}
make
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
source ../plasma.conf
pkgname=kde-cli-tools
@ -24,12 +23,7 @@ prepare() {
build() {
cd build
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
-DPYHTON_EXECUTABLE=/usr/bin/python3
make
}

View File

@ -26,14 +26,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${_pkgname}-${pkgver}
make
}

View File

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

View File

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

View File

@ -27,12 +27,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${_pkgname}-${pkgver}
make
}

View File

@ -21,13 +21,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${pkgname}-${pkgver}
make
}

View File

@ -23,11 +23,7 @@ prepare() {
build() {
cd build
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
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}

View File

@ -22,12 +22,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${pkgname}-${pkgver}
make
}

View File

@ -26,11 +26,7 @@ prepare() {
build() {
cd build
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
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}

View File

@ -24,11 +24,7 @@ prepare() {
build() {
cd build
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
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}

View File

@ -26,11 +26,7 @@ prepare() {
build() {
cd build
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
-DPYTHON_EXECUTABLE=/usr/bin/python3
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
@ -24,11 +24,7 @@ prepare() {
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DBUILD_TESTING=OFF
cmake_kf5 ../${pkgname}-${pkgver}
make
}

View File

@ -24,11 +24,7 @@ prepare() {
build() {
cd build
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
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}

View File

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

View File

@ -29,13 +29,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${pkgname}-${pkgver}
make
}

View File

@ -23,12 +23,7 @@ prepare() {
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_AS_EXECUTABLE=OFF \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DLIB_INSTALL_DIR=lib \
-DBUILD_TESTING=OFF
-DPYTHON_EXECUTABLE=/usr/bin/python3
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
pkgname=libbluedevil-kf5
@ -22,16 +21,14 @@ sha256sums=( $(getSum ${_pkgname}) )
prepare() {
mkdir -p build
cd ${_pkgname}-${pkgver}
}
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_INSTALL_LIBDIR=lib \
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}

View File

@ -1,5 +1,4 @@
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libkscreen-frameworks
source ../plasma.conf
pkgname=libkscreen-kf5
@ -16,7 +15,6 @@ groups=('plasma')
options=("debug")
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
sha256sums=( $(getSum ${_pkgname}) )
replaces=('libkscreen2')
provides=('libkscreen2')
@ -26,13 +24,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${_pkgname}-${pkgver}
make
}

View File

@ -23,11 +23,7 @@ prepare() {
build() {
cd build
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
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}

View File

@ -22,12 +22,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${_pkgname}-${pkgver}
make
}

View File

@ -21,12 +21,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${pkgname}-${pkgver}
make
}

View File

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

View File

@ -20,12 +20,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../$pkgname-$PSubVersion
make
cd ..
@ -47,7 +42,7 @@ package_oxygen() {
cd build
make DESTDIR="${pkgdir}" install
# Cursors conflicts with kdebase-workspace
# Cursors conflicts with kde-workspace
rm -r "${pkgdir}"/usr/share/icons/
}

View File

@ -26,13 +26,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${pkgname}-${pkgver}
make
}

View File

@ -24,12 +24,7 @@ prepare() {
build() {
cd build
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
cmake_kf5 ../${pkgname}-${PSubVersion}
make
}

View File

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

View File

@ -1,5 +1,4 @@
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/polkit-kde-frameworks
source ../plasma.conf
pkgname=polkit-kde-agent-frameworks
@ -22,13 +21,7 @@ prepare() {
build() {
cd build
cmake_kf5 ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-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
-DLIBEXEC_INSTALL_DIR=lib/polkit-kde
make
}

View File

@ -23,11 +23,7 @@ prepare() {
build() {
cd build
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
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}

View File

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

View File

@ -23,11 +23,7 @@ prepare() {
build() {
cd build
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
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}