diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-10-16 17:21:08 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-16 15:00:43 -0300 |
commit | f29967b952f7215813c147d6e7682cd8a043f3ef (patch) | |
tree | e3aae7ce3e695cf1f14e25ecac07c6ac68df7c25 /community/libkdcraw | |
parent | 4453e107aefb7ac06b15ca0fa2fa29ccdb6280dd (diff) | |
download | aports-f29967b952f7215813c147d6e7682cd8a043f3ef.tar.bz2 aports-f29967b952f7215813c147d6e7682cd8a043f3ef.tar.xz |
community/libkdcraw: move from testing
Diffstat (limited to 'community/libkdcraw')
-rw-r--r-- | community/libkdcraw/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/libkdcraw/APKBUILD b/community/libkdcraw/APKBUILD new file mode 100644 index 0000000000..97bb2a0b04 --- /dev/null +++ b/community/libkdcraw/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=libkdcraw +pkgver=19.08.2 +pkgrel=0 +arch="all" +url="https://kde.org" +pkgdesc="RAW image file format support for KDE" +license="GPL-2.0-or-later and LGPL-2.0-or-later" +depends_dev="qt5-qtbase-dev libraw-dev" +makedepends="$depends_dev extra-cmake-modules" +source="https://download.kde.org/stable/applications/$pkgver/src/libkdcraw-$pkgver.tar.xz" +subpackages="$pkgname-dev" + +prepare() { + default_prepare + + mkdir "$builddir"/build +} + +build() { + cd "$builddir"/build + cmake "$builddir" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir"/build + DESTDIR="$pkgdir" make install +} + +sha512sums="b7f88ebfaa70e4bf1478b8463beea5e0d636704e91d412d973e5b9fadd7e767d8595137b2995f426180c5234f323587c1d1ab67121e71c78026d3b1f6ea59f89 libkdcraw-19.08.2.tar.xz" |