summaryrefslogblamecommitdiff
path: root/user/qt5-qtdeclarative/APKBUILD
blob: 38d6e1bb1283d56a874604e38cb66d3894117085 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
                                       
            
        
                                              
                        

                                                             
                                                    

                                                                                                            
                          
                  

                     




                                    



                     



                  







                                                                        
                                                                                                                                                                                       
                                                                                                                                                    
                                                                                                                                            
                                                                                                                                                
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtdeclarative
_pkgname=${pkgname#qt5-}-opensource-src
pkgver=5.9.7
pkgrel=1
pkgdesc="Qt 5 - Qt Declarative and Qt Quick 2"
url="https://www.qt.io/"
arch="all"
license="LGPL-2.0 with exceptions OR GPL-3.0 with exceptions"
makedepends="qt5-qtbase-dev libexecinfo-dev python3"
subpackages="$pkgname-dev"
source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz
	add-execinfo.patch
	pmmx.patch
	python3.patch
	"

_qt5_prefix=/usr/lib/qt5
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	qmake && make
}

check() {
	make check
}

package() {
	make install INSTALL_ROOT="$pkgdir"

	mkdir -p "$pkgdir"/usr/bin/
	for i in "$pkgdir"/$_qt5_prefix/bin/*; do
		ln -s ../lib/qt5/bin/${i##*/} "$pkgdir"/usr/bin/${i##*/}
	done
}

sha512sums="bccddeca26c317083fcebc182dd3221dcbe9af665c502bfb636907f2c17a6edd8874a964910423c9eaa6e5c68bf5a13520193ba77f915be08ba1982348d2a9ee  qtdeclarative-opensource-src-5.9.7.tar.xz
065ab2440fd0a81e76fe8873b0991929fad3d4189c8938e0205e94478a6cdce81ef710e3bad19cd5ca0b5ea0f8b3cd1b366969ddede51070496d1d02ace59220  add-execinfo.patch
07bad5742bf00acadc6f2d5e1b8756b9545b95ad93d2b16646c0031abec881bfab6e1c39ca2f1b0a4e43d716518bd4380fd45995a9597d9ce1b51f88f9379176  pmmx.patch
c434ec3b3eaa8859cc3a3ce48d0299533428d94c998876e5735c210b25f89bc8509980cee0d96f2e68331540f95b5f1ec5e9745949d26367bde1d15bc7ac9081  python3.patch"