Skip to content
Snippets Groups Projects
Commit 885afba3 authored by Zach van Rijn's avatar Zach van Rijn
Browse files

user/qt5-qtquicktimeline: new package

parent 8f99d9c6
No related branches found
No related tags found
No related merge requests found
# 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment