aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-12-17 14:29:37 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2015-12-17 15:49:14 +0100
commit4846d2c4be472ee0bd381d87a5957b656b02ea8c (patch)
treee129cfc00e3c0ffd879e166a802b09b62e4bea5d /unmaintained
parenta467f4e760d7c517a58b92146651d722dd4921ee (diff)
downloadaports-4846d2c4be472ee0bd381d87a5957b656b02ea8c.tar.bz2
aports-4846d2c4be472ee0bd381d87a5957b656b02ea8c.tar.xz
unmaintained/kfilemetadata: moved from testing
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/kfilemetadata/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/unmaintained/kfilemetadata/APKBUILD b/unmaintained/kfilemetadata/APKBUILD
new file mode 100644
index 0000000000..56e3b564a7
--- /dev/null
+++ b/unmaintained/kfilemetadata/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Łukasz Jendrysik <scadu@yandex.com>
+# Contributor: k0r10n <k0r10n.dev@gmail.com>
+# Maintainer:
+pkgname=kfilemetadata
+pkgver=4.13.3
+pkgrel=1
+pkgdesc="A library for extracting file metadata"
+url="https://projects.kde.org/projects/kde/kdelibs/kfilemetadata"
+arch="all"
+license="LGPL"
+depends=
+depends_dev="kdegraphics-mobipocket-dev ebook-tools-dev
+ poppler-qt4-dev taglib-dev extra-cmake-modules
+ ffmpeg-dev"
+makedepends="$depends_dev cmake automoc4"
+install=""
+subpackages="$pkgname-dev"
+source="ftp://ftp.kde.org/pub/kde/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"
+
+_builddir="$srcdir"/${pkgname}-${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
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -Wno-dev "$_builddir" || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="7456cdbe4a3986ed75706049d2c36c2b kfilemetadata-4.13.3.tar.xz"
+sha256sums="0777d591dd4328f83bdede9764fe7d70923baed0ccad779d9cc3aaddaefef4cf kfilemetadata-4.13.3.tar.xz"
+sha512sums="e8fdb7699c37af227db14e55696fb3b4f012e9f1f3cceec988b52f9f4b9d6406ffc340f60a00ce144764a9fce57d1052979b94bf19ccb3da56495c76a1f10381 kfilemetadata-4.13.3.tar.xz"