KF5:fixed PKGBUILDs regarding cmake_kf5

parent 7e2c93a9
...@@ -25,10 +25,9 @@ check() { ...@@ -25,10 +25,9 @@ check() {
build() { build() {
cd build cd build
cmake ../${pkgname}-${pkgver} \ cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=$KFInstallPrefix \ -DCMAKE_INSTALL_PREFIX=$KFInstallPrefix \
-DCMAKE_BUILD_TYPE=$KFBuildType \ -DCMAKE_BUILD_TYPE=$KFBuildType
-DBUILD_HTML_DOCS=OFF
make make
} }
......
...@@ -9,7 +9,7 @@ pkgdesc='Framework providing components to allow applications to integrate with ...@@ -9,7 +9,7 @@ pkgdesc='Framework providing components to allow applications to integrate with
arch=('x86_64') arch=('x86_64')
url='https://projects.kde.org/projects/frameworks/frameworkintegration' url='https://projects.kde.org/projects/frameworks/frameworkintegration'
license=('LGPL') license=('LGPL')
depends=('kio' 'ttf-oxygen') depends=('kio' 'ttf-oxygen') #should replace this with oxygen-fonts once plasma5 hits stable
makedepends=("extra-cmake-modules>=${KFECMVersion}") makedepends=("extra-cmake-modules>=${KFECMVersion}")
options=("debug") options=("debug")
groups=('kf5') groups=('kf5')
...@@ -22,12 +22,7 @@ prepare() { ...@@ -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
} }
......
...@@ -24,13 +24,7 @@ prepare() { ...@@ -24,13 +24,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${_pkgname}-${pkgver} \ cmake_kf5 ../${_pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-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
} }
......
...@@ -23,13 +23,7 @@ prepare() { ...@@ -23,13 +23,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
} }
......
# Contributor : Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kconfigwidgets
source ../frameworks.conf source ../frameworks.conf
pkgname=kconfigwidgets pkgname=kconfigwidgets
...@@ -23,13 +22,7 @@ prepare() { ...@@ -23,13 +22,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-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
} }
......
# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kcrash
source ../frameworks.conf source ../frameworks.conf
pkgname=kcrash pkgname=kcrash
...@@ -22,13 +21,7 @@ prepare() { ...@@ -22,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
} }
......
# Contributor : Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kdeclarative
source ../frameworks.conf source ../frameworks.conf
pkgname=kdeclarative pkgname=kdeclarative
...@@ -22,13 +21,7 @@ prepare() { ...@@ -22,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
} }
......
# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kdelibs4support
source ../frameworks.conf source ../frameworks.conf
pkgname=kdelibs4support pkgname=kdelibs4support
...@@ -22,15 +21,8 @@ prepare() { ...@@ -22,15 +21,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 \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DHTML_INSTAL_DIR=/usr/share/doc/kdelibs4support/html \
-DBUILD_TESTING=OFF
make
} }
package() { package() {
......
# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kemoticons
source ../frameworks.conf source ../frameworks.conf
pkgname=kemoticons pkgname=kemoticons
...@@ -22,12 +21,7 @@ prepare() { ...@@ -22,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
} }
......
# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kio
source ../frameworks.conf source ../frameworks.conf
pkgname=kio pkgname=kio
...@@ -25,13 +24,7 @@ prepare() { ...@@ -25,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
} }
......
# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/ktexteditor
source ../frameworks.conf source ../frameworks.conf
pkgname=ktexteditor pkgname=ktexteditor
...@@ -26,12 +25,7 @@ prepare() { ...@@ -26,12 +25,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
} }
......
# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kwidgetsaddons
source ../frameworks.conf source ../frameworks.conf
pkgname=kwidgetsaddons pkgname=kwidgetsaddons
...@@ -22,13 +21,7 @@ prepare() { ...@@ -22,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
} }
......
# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kwindowsystem
source ../frameworks.conf source ../frameworks.conf
pkgname=kwindowsystem pkgname=kwindowsystem
...@@ -23,12 +22,7 @@ prepare() { ...@@ -23,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
} }
......
# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kxmlgui
source ../frameworks.conf source ../frameworks.conf
pkgname=kxmlgui pkgname=kxmlgui
...@@ -24,13 +23,7 @@ prepare() { ...@@ -24,13 +23,7 @@ prepare() {
build() { build() {
cd build cd build
cmake_kf5 ../${pkgname}-${pkgver} \ cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DPYTHON_EXECUTABLE=/usr/bin/python3
-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
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment