diff options
Diffstat (limited to 'unmaintained/kdelibs/APKBUILD')
-rw-r--r-- | unmaintained/kdelibs/APKBUILD | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/unmaintained/kdelibs/APKBUILD b/unmaintained/kdelibs/APKBUILD new file mode 100644 index 0000000000..90352204bd --- /dev/null +++ b/unmaintained/kdelibs/APKBUILD @@ -0,0 +1,87 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Maintainer: +pkgname=kdelibs +pkgver=4.13.3 +pkgrel=4 +pkgdesc="KDE base libraries" +url="http://www.kde.org/" +arch="all" +license="GPL" +depends= +depends_dev="phonon-dev polkit-qt-dev acl-dev attica-dev + libdbusmenu-qt-dev pcre-dev strigi-dev + docbook-xml docbook-xsl shared-mime-info + giflib-dev jpeg-dev grantlee-dev qca-dev + udev-dev xz-dev jasper-dev enchant-dev + libxslt-dev openssl-dev bison flex-dev + openexr-dev krb5-dev avahi-dev libxss-dev + scrnsaverproto" +makedepends="$depends_dev cmake automoc4 paxmark" +install="" +options="suid" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://kde.mirrors.tds.net/pub/kde/stable/$pkgver/src/kdelibs-$pkgver.tar.xz + fix-cmake-FindLibintl-4.13.3.patch + fix-headers-kdelibs.patch" + +_builddir="$srcdir"/kdelibs-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + mkdir -p "$_builddir"/build +} + +build() { + cd "$_builddir"/build + # + # We have enchant, so we don't need + # ASPELL and HSPEELL (for Hebrew spell checking) + # Also soprano and Shared Desktop Ontologies + # are disabled in this build, because we + # don't have nepomuk + # + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS:BOOL=OFF \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DWITH_SOLID_UDISKS2:BOOL=ON \ + -DWITH_FAM:BOOL=OFF \ + -DWITH_ASPELL:BOOL=OFF \ + -DWITH_HSPELL:BOOL=OFF \ + -DWITH_Soprano:BOOL=OFF \ + -DWITH_SharedDesktopOntologies:BOOL=OFF \ + -DWITH_HUpnp:BOOL=OFF \ + -DKDE_DISTRIBUTION_TEXT="Alpine Linux" \ + -DHTML_INSTALL_DIR=/usr/share/doc/kde/html \ + -DKDE_DEFAULT_HOME=.kde4 \ + -DSYSCONF_INSTALL_DIR=/etc \ + -Wno-dev \ + "$_builddir" || return 1 + make || return 1 +} + +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 + paxmark -mpes "$pkgdir"/usr/bin/kdeinit4 || return 1 +} + +dev() { + default_dev + mv "$subpkgdir"/usr/bin/kde4-config "$pkgdir"/usr/bin/kde4-config +} + +md5sums="f58d9277127aad95b3032e2546f3006d kdelibs-4.13.3.tar.xz +36ba28baf498d17f2145680dbc6fcf49 fix-cmake-FindLibintl-4.13.3.patch +5ca4cb4c347099c5cc1523981556fb7f fix-headers-kdelibs.patch" +sha256sums="d291b4bc159a3f686ad93ff3dfbe90a0a7e33600357e8390c84154ec050efc82 kdelibs-4.13.3.tar.xz +e880d71f7fdb7cb4cba4f534d4290ab6c0f0dfd956a96eeda3813b73af52a2ad fix-cmake-FindLibintl-4.13.3.patch +1ae5f298acaf25231b4c1e21bf481f711fd654701b9d7bca37734f510a06ce12 fix-headers-kdelibs.patch" +sha512sums="9bc6f154cbf1b6e8b46ee255ce099d9ba9e530dd478d4a1bf2d24f8f9a063221da3a938f9520ad9149c6b82c4135dc72ab652c410bd82ad4b7100e16fff7a661 kdelibs-4.13.3.tar.xz +7491f758d02318ba4fec6465b4076944d65b7f84f23a5982a7dccce02dcc920e0e9354e80b605bc9a2c112901eb040765d0d594f3056f0e86a50a827b285c76b fix-cmake-FindLibintl-4.13.3.patch +a266f3a97cfa3bddfdcbea52df8192a801878981946942044cf76b547b160327163a9cca7f0a2cbfdeb3a4387b6dfc23b6fe58612812fc5f671262329718af71 fix-headers-kdelibs.patch" |