mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			63 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Francesco Colista <fcolista@alpinelinux.org>
 | |
| # Maintainer: Bart Ribbers <bribbers@disroot.org>
 | |
| pkgname=qt5-qtconnectivity
 | |
| pkgver=5.15.8_git20230103
 | |
| pkgrel=0
 | |
| _commit="056294c0493f814c3951ef57e5d0656efe643fb5"
 | |
| pkgdesc="QT5 Connectivity Compontents"
 | |
| url="https://www.qt.io/developers/"
 | |
| arch="all"
 | |
| license="(LGPL-2.0-or-later OR GPL-3.0-only OR GPL-2.0-or-later) AND Qt-GPL-exception-1.0"
 | |
| makedepends="
 | |
| 	bluez-dev
 | |
| 	qt5-qtbase-dev
 | |
| 	qt5-qtdeclarative-dev
 | |
| 	"
 | |
| subpackages="$pkgname-dev"
 | |
| options="!check" # No tests
 | |
| builddir="$srcdir/qtconnectivity-$_commit"
 | |
| 
 | |
| case $pkgver in
 | |
| 	*_beta*|*_rc*) _rel=development_releases;;
 | |
| 	*) _rel=official_releases;;
 | |
| esac
 | |
| 
 | |
| source="https://dev.alpinelinux.org/archive/qt/qtconnectivity-$_commit.tar.xz"
 | |
| 
 | |
| _disturl="dev.alpinelinux.org:/archive/qt/"
 | |
| snapshot() {
 | |
| 	clean
 | |
| 	deps
 | |
| 	mkdir -p "$srcdir" && cd "$srcdir"
 | |
| 	git clone https://invent.kde.org/qt/qt/qtconnectivity.git && cd qtconnectivity
 | |
| 	git archive --format tar --prefix=qtconnectivity-$_commit/ $_commit | xz -T0 -9 -vv - > $SRCDEST/qtconnectivity-$_commit.tar.xz
 | |
| 	rsync --progress -La $SRCDEST/qtconnectivity-$_commit.tar.xz $_disturl
 | |
| }
 | |
| 
 | |
| prepare() {
 | |
| 	default_prepare
 | |
| 
 | |
| 	# We need to make the build system think we're running in a git repository
 | |
| 	# so it correctly symlinks during the build
 | |
| 	mkdir .git
 | |
| }
 | |
| 
 | |
| build() {
 | |
| 	qmake-qt5
 | |
| 	make
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	make INSTALL_ROOT="$pkgdir" install
 | |
| 
 | |
| 	# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
 | |
| 	find "$pkgdir/usr/lib" -type f -name '*.prl' \
 | |
| 		-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
 | |
| 
 | |
| 	install -d "$pkgdir"/usr/share/licenses
 | |
| 	ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
 | |
| }
 | |
| sha512sums="
 | |
| bf64284abce2b3522f20d2c7ae73dabbe5211f17cf9fd2bbe348e94a60730f6825ec3e095d513834efbc090a15a3863f69471cad5a63ac1c6343cecf4e572e94  qtconnectivity-056294c0493f814c3951ef57e5d0656efe643fb5.tar.xz
 | |
| "
 |