summaryrefslogtreecommitdiff
path: root/user/phonon/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 08:12:25 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 08:12:43 -0600
commit1a54b529519b09afe9b5e0160e60e05c0920b2c9 (patch)
treef7ae5dd96e2c5822987861354eb80e5f27ebb16a /user/phonon/APKBUILD
parentfd63dbb46621a57d0c1e684d32e32b28b7c43d5a (diff)
downloadpackages-1a54b529519b09afe9b5e0160e60e05c0920b2c9.tar.gz
packages-1a54b529519b09afe9b5e0160e60e05c0920b2c9.tar.bz2
packages-1a54b529519b09afe9b5e0160e60e05c0920b2c9.tar.xz
packages-1a54b529519b09afe9b5e0160e60e05c0920b2c9.zip
user/phonon: Fix a few issues
* Remove patches for building against older Qt * Split locale files * Remove old CMake options that upstream no longer supports
Diffstat (limited to 'user/phonon/APKBUILD')
-rw-r--r--user/phonon/APKBUILD23
1 files changed, 7 insertions, 16 deletions
diff --git a/user/phonon/APKBUILD b/user/phonon/APKBUILD
index 0b08f443a..e92cc464e 100644
--- a/user/phonon/APKBUILD
+++ b/user/phonon/APKBUILD
@@ -2,19 +2,16 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=phonon
pkgver=4.11.1
-pkgrel=0
+pkgrel=1
pkgdesc="Qt library for playing multimedia files"
url="https://phonon.kde.org/"
arch="all"
license="LGPL-2.1-only OR LGPL-3.0-only"
depends=""
-makedepends="cmake extra-cmake-modules pulseaudio-dev
- qt5-qtbase-dev qt5-qttools-dev"
-subpackages="$pkgname-dev $pkgname-designer"
-source="https://download.kde.org/stable/phonon/$pkgver/phonon-$pkgver.tar.xz
- ecm.patch
- qt59.patch
- "
+makedepends="cmake extra-cmake-modules pulseaudio-dev qt5-qtbase-dev
+ qt5-qttools-dev"
+subpackages="$pkgname-dev $pkgname-designer $pkgname-lang"
+source="https://download.kde.org/stable/phonon/$pkgver/phonon-$pkgver.tar.xz"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@@ -27,11 +24,7 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
- -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE \
- -DWITH_GLIB2=TRUE \
- -DWITH_PulseAudio=TRUE \
- -DPHONON_BUILD_PHONON4QT5=TRUE \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
@@ -52,6 +45,4 @@ designer() {
rmdir "$pkgdir"/usr/lib/qt5/plugins || true # Never mind
}
-sha512sums="858b2b0d7b0336af76d226b30f3acd1914e7297e0879d5a417fa1b87b13c812f9aab7e20adcad33ce1a03624ce78323dd9968b4b277caf85f800ca60aa134f74 phonon-4.11.1.tar.xz
-4de5a7ec143f7bf5068b376b77a1d8acb85225ee87d7ab59cb315ef59be3351305602354b8ef96a1a3fbb17308441704f2c2dfa2fcefadf0560708b4eb377e64 ecm.patch
-06614abd2db7634acdf7bd27c026ea4544845bdd995b4bdeb9b1d2c9fa61940bdb839c39c18c4c9c487b95c2a91aae48056742ce2c8e558bd9186a941b8d0bac qt59.patch"
+sha512sums="858b2b0d7b0336af76d226b30f3acd1914e7297e0879d5a417fa1b87b13c812f9aab7e20adcad33ce1a03624ce78323dd9968b4b277caf85f800ca60aa134f74 phonon-4.11.1.tar.xz"