pmaports/temp/kde-gtk-config/APKBUILD
Oliver Smith f0159bd0aa
temp/*: don't build plamo related pkgs for armhf
postmarketos-ui-plasma-mobile has !armhf in its arches list, so it does
not make sense to build these packages for armhf either. Let's save some
building time.

[ci:skip-vercheck], [ci:skip-build]
2019-09-29 23:42:30 +02:00

31 lines
1.1 KiB
Text

# Forked from Alpine to build Plasma 5.17 pre-release
pkgname=kde-gtk-config
pkgver=5.16.90
pkgrel=0
pkgdesc="GTK2 and GTK3 Configurator for KDE"
arch="all !armhf"
url="https://cgit.kde.org/kde-gtk-config"
license="GPL-2.0 AND LGPL-2.1-only OR LGPL-3.0-only"
depends="gsettings-desktop-schemas"
makedepends="extra-cmake-modules gsettings-desktop-schemas qt5-qtbase-dev qt5-qtsvg-dev ki18n-dev kio-dev kconfigwidgets-dev knewstuff-dev karchive-dev kcmutils-dev kiconthemes-dev gtk+2.0-dev gtk+3.0-dev gsettings-desktop-schemas-dev"
source="https://download.kde.org/unstable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # broken with cross-compiling
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
# configsavetest fails to write ".gtkrc-2.0"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "configsavetest"
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="5b1d7ce1c8ff23c3fc18adf75d31bc01a7fb103004e789ade11b8bc2a02ddcf258476070a8f48510d5da2e31740dd2c3cc8dcc081bb563367177337996d11637 kde-gtk-config-5.16.90.tar.xz"