diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-03-09 17:20:23 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-10 23:54:36 -0300 |
commit | df112d4b721cff58773b4692ed8a848fa3054c20 (patch) | |
tree | eb2e728bd27914016649ba75fe22a2d7f11a6c1b /community/qt5-qtgraphicaleffects | |
parent | 36be4b4aa3cb9e2564bfc05d5ea9152f5f0805f2 (diff) | |
download | aports-df112d4b721cff58773b4692ed8a848fa3054c20.tar.bz2 aports-df112d4b721cff58773b4692ed8a848fa3054c20.tar.xz |
community/qt5-qtgraphicaleffects: take over maintainership
Also sync APKBUILD with other Qt packages
Diffstat (limited to 'community/qt5-qtgraphicaleffects')
-rw-r--r-- | community/qt5-qtgraphicaleffects/APKBUILD | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/community/qt5-qtgraphicaleffects/APKBUILD b/community/qt5-qtgraphicaleffects/APKBUILD index eb62386d2b..6be4ce5acb 100644 --- a/community/qt5-qtgraphicaleffects/APKBUILD +++ b/community/qt5-qtgraphicaleffects/APKBUILD @@ -1,27 +1,24 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=qt5-qtgraphicaleffects pkgver=5.14.1 -_ver=${pkgver/_/-} -_ver=${_ver/beta0/beta} -_ver=${_ver/rc0/rc} -_v=${_ver/rc/RC} -pkgrel=0 +pkgrel=1 pkgdesc="Qt5 - QtGraphicalEffects component" url="https://www.qt.io/developers/" arch="all !armhf" # armhf blocked by qt5-qtdeclarative license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0" makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev" +builddir="$srcdir/qtgraphicaleffects-everywhere-src-$pkgver" case $pkgver in -*_beta*|*_rc*) _rel=development_releases;; -*) _rel=official_releases;; + *_beta*|*_rc*) _rel=development_releases;; + *) _rel=official_releases;; esac -source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtgraphicaleffects-everywhere-src-$_v.tar.xz" -builddir="$srcdir/qtgraphicaleffects-everywhere-src-${_v%-*}" +source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtgraphicaleffects-everywhere-src-$pkgver.tar.xz" build() { - qmake-qt5 && make + qmake-qt5 + make } check() { @@ -30,6 +27,13 @@ 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="82e3ba00d58137c81be333347970e9e7e8c3301d171792d1f362cff6d5badb7d8148b7748a54d5efd5332f315989f2838638a73d960a8ff3ef875683414880c8 qtgraphicaleffects-everywhere-src-5.14.1.tar.xz" |