1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/qt6-qtimageformats/APKBUILD
2021-07-06 13:03:46 +02:00

42 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qtimageformats
pkgver=6.1.2
pkgrel=0
pkgdesc="Plugins for additional image formats: TIFF, MNG, TGA, WBMP"
url="https://qt.io/"
arch="all"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
depends_dev="
libmng-dev
qt6-qtbase-dev
"
makedepends="$depends_dev
cmake
perl
"
subpackages="$pkgname-dev"
options="!check" # No tests
builddir="$srcdir/qtimageformats-everywhere-src-${pkgver/_/-}"
case $pkgver in
*_alpha*|*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qtimageformats-everywhere-src-${pkgver/_/-}.tar.xz"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
53a698de0b7518346649e47604d43e6d0dc5e3ab219ce32802748e028820140b6f881a3f74b26d6f9f5b79417c0c09eefd0de7baed3c8bd9d69cfac51dfa10ff qtimageformats-everywhere-src-6.1.2.tar.xz
"