diff options
author | Zach van Rijn <me@zv.io> | 2022-02-03 21:18:01 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:58 +0000 |
commit | f4587a9a5c792cae6f488bd4bda985a13e119956 (patch) | |
tree | 0afc0d6497ac7700512379ac0eb3dd896763f8d9 /user | |
parent | 435737f8f0178a476d33fc846e7a82f0a4ea7d64 (diff) | |
download | packages-f4587a9a5c792cae6f488bd4bda985a13e119956.tar.gz packages-f4587a9a5c792cae6f488bd4bda985a13e119956.tar.bz2 packages-f4587a9a5c792cae6f488bd4bda985a13e119956.tar.xz packages-f4587a9a5c792cae6f488bd4bda985a13e119956.zip |
user/qt5-qtquicktimeline: new package.
Diffstat (limited to 'user')
-rw-r--r-- | user/qt5-qtquicktimeline/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/user/qt5-qtquicktimeline/APKBUILD b/user/qt5-qtquicktimeline/APKBUILD new file mode 100644 index 000000000..e3ae12c6a --- /dev/null +++ b/user/qt5-qtquicktimeline/APKBUILD @@ -0,0 +1,45 @@ +# Maintainer: Zach van Rijn <me@zv.io> +pkgname=qt5-qtquicktimeline +_pkgname=${pkgname#*-}-everywhere-src +pkgver=5.15.3_git20211215 +pkgrel=0 +_commit=67503cdadea43b95ddad0de1a04951aff0ce1a07 +pkgdesc="Qt5 Timeline module enables keyframe-based animations and parameterization" +url="https://www.qt.io/" +arch="all" +license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0" +depends="" +makedepends="qt5-qtbase-dev" +subpackages="$pkgname-doc" +source="https://invent.kde.org/qt/qt/${pkgname#*-}/-/archive/$_commit/${pkgname#*-}-$_commit.tar.gz" +builddir="$srcdir"/${pkgname#*-}-$_commit + +prepare() { + default_prepare + + # Make configure think we are running in a git directory + # This makes it symlink the include files to the right directory + mkdir .git +} + +build() { + qmake + 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 /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname +} + +sha512sums="cf18c91e80668da4dea344b70e850f4b99b08d9c38d8663918edc97968a48ad1b6c1fce91460dc29b3788edd156166b7dfd96fc49c487bec718c832f82e37efd qtquicktimeline-67503cdadea43b95ddad0de1a04951aff0ce1a07.tar.gz" |