diff options
author | omni <omni+alpine@hack.org> | 2023-07-12 21:08:03 +0000 |
---|---|---|
committer | psykose <alice@ayaya.dev> | 2023-07-12 23:08:06 +0200 |
commit | e80f45f0cbc8e0ffa636c21eac3de1f531aab036 (patch) | |
tree | 59c057785995a59e02b9a62c10a056249ed58c84 | |
parent | aaee54e1c546d04dd22afc5afe5041933b479faa (diff) |
community/lensfun: upgrade to 0.3.4
-rw-r--r-- | community/lensfun/APKBUILD | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/community/lensfun/APKBUILD b/community/lensfun/APKBUILD index 5f52f051f1e..8a4cb6ba5fc 100644 --- a/community/lensfun/APKBUILD +++ b/community/lensfun/APKBUILD @@ -1,31 +1,33 @@ # Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> # Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> pkgname=lensfun -pkgver=0.3.3 -pkgrel=3 +pkgver=0.3.4 +pkgrel=0 pkgdesc="Image manipulation library to rectify lens defects" url="https://lensfun.github.io/" arch="all" license="LGPL-3.0-or-later" -makedepends="py3-docutils cmake doxygen libpng-dev glib-dev samurai" -subpackages="$pkgname-dev $pkgname-doc $pkgname-tools py3-$pkgname-pyc py3-$pkgname:py3" -source="pgkname-$pkgver.tar.gz::https://github.com/lensfun/lensfun/archive/refs/tags/v$pkgver.tar.gz" +makedepends=" + cmake + doxygen + glib-dev + libpng-dev + py3-docutils + py3-setuptools + py3-wheel + samurai + " +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools py3-$pkgname-pyc py3-$pkgname:py3:noarch" +source="$pkgname-$pkgver.tar.gz::https://github.com/lensfun/lensfun/archive/refs/tags/v$pkgver.tar.gz" build() { - local opts="" - case "$CARCH" in - x86*) ;; - *) opts="-DBUILD_FOR_SSE=OFF -DBUILD_FOR_SSE2=OFF";; - esac - cmake -B build -G Ninja \ -DBUILD_DOC=ON \ -DBUILD_LENSTOOL=ON \ -DBUILD_TESTS=ON \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - $opts + -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } @@ -37,6 +39,8 @@ check() { package() { DESTDIR="$pkgdir" cmake --install build + cd build/apps + python3 setup.py install --root="$pkgdir" --skip-build } tools() { @@ -51,5 +55,5 @@ py3() { } sha512sums=" -2d913e3d121ac069f4cb7acb3f09c9cf11c5d0069e743500631bd4b6007a1b19ebccf871a4ac8cfc2797a03066f8a678ea9d70feba0f7d6a05c28cef61f7d9cf pgkname-0.3.3.tar.gz +4db9a08d51ba50c7c2ff528d380bb28e34698b2bb5c40e5f3deeaa5544c888ac7e0f638bbc3f33a4f75dbb67e0425ca36ce6d8cd1d8c043a4173a2df47de08c6 lensfun-0.3.4.tar.gz " |