aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-04-26 17:06:30 +0200
committerBart Ribbers <bribbers@disroot.org>2021-04-26 15:13:12 +0000
commit29359840d446563ae9c705d14317fe7109b80863 (patch)
treedece34c8e31bad525ea7e09268f7f1e340845dd3
parent1057ac4b03ab0cb72b854c6843ca14d975a114da (diff)
downloadaports-29359840d446563ae9c705d14317fe7109b80863.tar.gz
aports-29359840d446563ae9c705d14317fe7109b80863.tar.bz2
aports-29359840d446563ae9c705d14317fe7109b80863.tar.xz
community/qt5-qtmultimedia: apply KDE patches
-rw-r--r--community/qt5-qtmultimedia/APKBUILD32
1 files changed, 24 insertions, 8 deletions
diff --git a/community/qt5-qtmultimedia/APKBUILD b/community/qt5-qtmultimedia/APKBUILD
index 03c2a140da..711115e352 100644
--- a/community/qt5-qtmultimedia/APKBUILD
+++ b/community/qt5-qtmultimedia/APKBUILD
@@ -1,22 +1,38 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt5-qtmultimedia
-pkgver=5.15.2
-pkgrel=2
+pkgver=5.15.3_git20201130
+pkgrel=0
+_commit="bd29c87027637a013f2c5e3b549fcda84e4d7545"
pkgdesc="Qt5 - Multimedia support"
url="https://www.qt.io/developers/"
-arch="all !armhf" # armhf blocked by qt5-qtdeclarative
+# armhf blocked by qt5-qtdeclarative
+arch="all !armhf"
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 alsa-lib-dev libxv-dev
- gstreamer-dev gst-plugins-base-dev"
+makedepends="
+ alsa-lib-dev
+ gst-plugins-base-dev
+ gstreamer-dev
+ libxv-dev
+ qt5-qtbase-dev
+ qt5-qtdeclarative-dev
+ "
subpackages="$pkgname-dev"
-builddir="$srcdir/qtmultimedia-everywhere-src-$pkgver"
+builddir="$srcdir/qtmultimedia-$_commit"
case $pkgver in
*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
-source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtmultimedia-everywhere-src-$pkgver.tar.xz"
+source="https://invent.kde.org/qt/qt/qtmultimedia/-/archive/$_commit/qtmultimedia-$_commit.tar.gz"
+
+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
@@ -37,4 +53,4 @@ package() {
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
}
-sha512sums="be58e6934976b04707399f8525dd5d50f73e0539efd1a76c2f9868e35e6f136e0991652df5d46350a9ac39d24313353e4aa826131f268a95e458e57279f448bd qtmultimedia-everywhere-src-5.15.2.tar.xz"
+sha512sums="16876ac50e541911a756b3ad722f4ce7223169c68f10d26921abbc00161b4d3bb4eec19121bc98f57ef7d7056e976cbe6541484e6c8d8a8ec1cdb09cf303f649 qtmultimedia-bd29c87027637a013f2c5e3b549fcda84e4d7545.tar.gz"