aboutsummaryrefslogblamecommitdiffstats
path: root/community/qt6-qtsvg/APKBUILD
blob: 0d58796d50f0c11b5caa7310b753195549cfcac3 (plain) (tree)
1
2
3
4
5
6

                                                 
            
        
                                                          
                    








                                                                                   
               












                                                                                                                        
                                 
                                                   







                                               
            
                                                                                                                                                                   
 
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qtsvg
pkgver=6.3.0
pkgrel=0
pkgdesc="Classes for displaying the contents of SVG files"
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="
	qt6-qtbase-dev
	vulkan-headers
	"
makedepends="$depends_dev
	cmake
	perl
	samurai
	"
subpackages="$pkgname-dev"
options="!check" # No tests
builddir="$srcdir/qtsvg-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/qtsvg-everywhere-src-${pkgver/_/-}.tar.xz"

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
f00750df4eb43bcd69ccd20d3d1181252e19a19ddf94c8d5b4eb51e88d1005f67d35902942a795a6af434c4a9cad9754da2702248791e1e60feab54341514e98  qtsvg-everywhere-src-6.3.0.tar.xz
"