diff options
author | Linux User <se@alpine-desktop.my.domain> | 2014-10-16 19:52:25 +0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-17 13:52:16 +0000 |
commit | 9085b73f09d41af164193a3e0b5e22fcce80d503 (patch) | |
tree | 5d2e5fa503bf2540ddeed992a4aba407ffa24649 /testing/kdelibs | |
parent | 276617c77708f50d68ba9b4c87a866399ddd7250 (diff) | |
download | aports-9085b73f09d41af164193a3e0b5e22fcce80d503.tar.bz2 aports-9085b73f09d41af164193a3e0b5e22fcce80d503.tar.xz |
Added KDE core packages
Diffstat (limited to 'testing/kdelibs')
-rw-r--r-- | testing/kdelibs/APKBUILD | 85 | ||||
-rw-r--r-- | testing/kdelibs/fix-cmake-FindLibintl-4.13.3.patch | 11 | ||||
-rw-r--r-- | testing/kdelibs/fix-headers-kdelibs.patch | 22 |
3 files changed, 118 insertions, 0 deletions
diff --git a/testing/kdelibs/APKBUILD b/testing/kdelibs/APKBUILD new file mode 100644 index 0000000000..38cbfe6121 --- /dev/null +++ b/testing/kdelibs/APKBUILD @@ -0,0 +1,85 @@ +# Contributor: k0r10n <k0r10n.dev@gmail.com> +# Maintainer: +pkgname=kdelibs +pkgver=4.13.3 +pkgrel=3 +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" +makedepends="$depends_dev cmake automoc4 paxctl" +install="" +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 + paxctl -c -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 +44eaf8850f7d295f039c016cfde608ac fix-headers-kdelibs.patch" +sha256sums="d291b4bc159a3f686ad93ff3dfbe90a0a7e33600357e8390c84154ec050efc82 kdelibs-4.13.3.tar.xz +e880d71f7fdb7cb4cba4f534d4290ab6c0f0dfd956a96eeda3813b73af52a2ad fix-cmake-FindLibintl-4.13.3.patch +70fb497b23894800676cee000545c6ae2840b87379cd5afda11beedfceeefff8 fix-headers-kdelibs.patch" +sha512sums="9bc6f154cbf1b6e8b46ee255ce099d9ba9e530dd478d4a1bf2d24f8f9a063221da3a938f9520ad9149c6b82c4135dc72ab652c410bd82ad4b7100e16fff7a661 kdelibs-4.13.3.tar.xz +7491f758d02318ba4fec6465b4076944d65b7f84f23a5982a7dccce02dcc920e0e9354e80b605bc9a2c112901eb040765d0d594f3056f0e86a50a827b285c76b fix-cmake-FindLibintl-4.13.3.patch +d9cec3f34601ead92739f2b5005e62d56e35f48d1cf11397790b215f5f0e7e39705aa0f77c8a72a9eb50fa543a2c1de4667d530f18bd46e5b7c123587fe03a27 fix-headers-kdelibs.patch" diff --git a/testing/kdelibs/fix-cmake-FindLibintl-4.13.3.patch b/testing/kdelibs/fix-cmake-FindLibintl-4.13.3.patch new file mode 100644 index 0000000000..f4475aec34 --- /dev/null +++ b/testing/kdelibs/fix-cmake-FindLibintl-4.13.3.patch @@ -0,0 +1,11 @@ +--- kdelibs-4.13.3/cmake/modules/FindLibintl.cmake.orig ++++ kdelibs-4.13.3/cmake/modules/FindLibintl.cmake +@@ -29,7 +29,7 @@ + check_function_exists(dgettext LIBINTL_LIBC_HAS_DGETTEXT) + + if (LIBINTL_LIBC_HAS_DGETTEXT) +- set(LIBINTL_LIBRARIES) ++ set(LIBINTL_LIBRARIES "intl") + set(LIBINTL_LIB_FOUND TRUE) + else (LIBINTL_LIBC_HAS_DGETTEXT) + find_library(LIBINTL_LIBRARIES NAMES intl libintl ) diff --git a/testing/kdelibs/fix-headers-kdelibs.patch b/testing/kdelibs/fix-headers-kdelibs.patch new file mode 100644 index 0000000000..91b7a5f409 --- /dev/null +++ b/testing/kdelibs/fix-headers-kdelibs.patch @@ -0,0 +1,22 @@ +--- a/solid/solid/backends/udisks2/udisksblock.h ++++ b/solid/solid/backends/udisks2/udisksblock.h +@@ -21,6 +21,7 @@ + #ifndef UDISKS2BLOCK_H + #define UDISKS2BLOCK_H + ++#include <sys/types.h> + #include <solid/ifaces/block.h> + #include "udisksdeviceinterface.h" + +--- a/kdecore/io/kdirwatch_p.h ++++ b/kdecore/io/kdirwatch_p.h +@@ -64,7 +64,8 @@ + #endif + + #include <sys/time.h> +-#include <sys/param.h> // ino_t ++#include <sys/param.h> // ino_t , but not there !! ++#include <sys/types.h> // maybe, here ? + #include <ctime> + + |