Commit 297956a2 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

testing/qt6-qtimageformats: new aport

parent 6ecb55e5
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qtimageformats
pkgver=6.1.0
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="
91f69689062dd598df54da008ac21961153eb76a48bc40c61dad926497f519d7604d161e173650929470d85818f89aa7a372e6e080c28a5413a65a55b53aa459 qtimageformats-everywhere-src-6.1.0.tar.xz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment