mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
64 lines
1.8 KiB
Text
64 lines
1.8 KiB
Text
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=qt5-qtgraphicaleffects
|
|
pkgver=5.15.8_git20221110
|
|
pkgrel=1
|
|
_commit="4119e4e6dc94447d773a01c1d6e4de0fefb9235a"
|
|
pkgdesc="Qt5 - QtGraphicalEffects component"
|
|
url="https://www.qt.io/developers/"
|
|
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
|
|
arch="all"
|
|
makedepends="
|
|
qt5-qtbase-dev
|
|
qt5-qtdeclarative-dev
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
builddir="$srcdir/qtgraphicaleffects-$_commit"
|
|
|
|
case $pkgver in
|
|
*_beta*|*_rc*) _rel=development_releases;;
|
|
*) _rel=official_releases;;
|
|
esac
|
|
|
|
source="https://dev.alpinelinux.org/archive/qt/qtgraphicaleffects-$_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/qtgraphicaleffects.git && cd qtgraphicaleffects
|
|
git archive --format tar --prefix=qtgraphicaleffects-$_commit/ $_commit | xz -T0 -9 -vv - > $SRCDEST/qtgraphicaleffects-$_commit.tar.xz
|
|
rsync --progress -La $SRCDEST/qtgraphicaleffects-$_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
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make install INSTALL_ROOT="$pkgdir"
|
|
|
|
# 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="
|
|
a752c561f879bfc50a1145e5b09fae47d4a2cfb37284dea7c2082d934529798d1b192b7c922018340e47260bd4091597f963a69ee721680922846a728c727b7e qtgraphicaleffects-4119e4e6dc94447d773a01c1d6e4de0fefb9235a.tar.xz
|
|
"
|