mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 23:24:44 +02:00
60 lines
1.8 KiB
Text
60 lines
1.8 KiB
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=qt5-qtremoteobjects
|
|
pkgver=5.15.10_git20230601
|
|
pkgrel=1
|
|
_module="${pkgname#qt5-}"
|
|
_pkgver=d10e7673218fa2b00191a82ad20cd3304a711fa6
|
|
_fullname=$_module-$_pkgver
|
|
pkgdesc="Qt Remote Objects (QtRO) is an inter-process communication (IPC) module developed for Qt"
|
|
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="qt5-qtbase-dev"
|
|
subpackages="$pkgname-dev"
|
|
options="!check" # No tests
|
|
source="https://dev.alpinelinux.org/archive/qt/$_fullname.tar.xz"
|
|
builddir="$srcdir/$_fullname"
|
|
|
|
_disturl="dev.alpinelinux.org:/archive/qt/"
|
|
snapshot() {
|
|
clean
|
|
makedepends="git xz rsync tar" deps
|
|
mkdir -p "$srcdir" && cd "$srcdir"
|
|
git clone --filter=tree:0 https://invent.kde.org/qt/qt/$_module.git .
|
|
git archive --format tar --prefix=$_fullname/ $_pkgver > "$SRCDEST"/$_fullname.tar
|
|
xz -vv -T0 -9 -e "$SRCDEST"/$_fullname.tar
|
|
rsync --progress -La "$SRCDEST"/$_fullname.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
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
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 qt5-base "$pkgdir"/usr/share/licenses/$pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
68ce65f684d244379a6a4dc781be7d5db52280be0bfbc1a65a114ad0454cfa58651c51e882c35075aa4b105144fca262f85ab7975646956d99ec7874213a974d qtremoteobjects-d10e7673218fa2b00191a82ad20cd3304a711fa6.tar.xz
|
|
"
|