diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-24 23:32:29 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-27 15:16:14 +0000 |
commit | ad6e2ff1c623446ae392013bf0fbe984a21c794b (patch) | |
tree | fb64d5263354d5b01151c201f46f2d12164165a3 /community/phonon-backend-gstreamer | |
parent | 8b8cbf8d4de0521aecdfec5f063c5115b110cc26 (diff) | |
download | aports-ad6e2ff1c623446ae392013bf0fbe984a21c794b.tar.bz2 aports-ad6e2ff1c623446ae392013bf0fbe984a21c794b.tar.xz |
community/phonon-backend-gstreamer: modernize, fix license
Diffstat (limited to 'community/phonon-backend-gstreamer')
-rw-r--r-- | community/phonon-backend-gstreamer/APKBUILD | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/community/phonon-backend-gstreamer/APKBUILD b/community/phonon-backend-gstreamer/APKBUILD index 009a230767..c24d3ba335 100644 --- a/community/phonon-backend-gstreamer/APKBUILD +++ b/community/phonon-backend-gstreamer/APKBUILD @@ -2,17 +2,14 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=phonon-backend-gstreamer pkgver=4.9.0 -pkgrel=1 +pkgrel=2 pkgdesc="phonon gstreamer backend for Qt4" url="https://phonon.kde.org/" arch="all" -license="LGPL" -depends="" -depends_dev="gstreamer-dev gst-plugins-base-dev gstreamer-dev phonon-dev" +license="LGPL-2.1-only OR LGPL-3.0-only" +depends_dev="gstreamer-dev gst-plugins-base-dev phonon-dev" makedepends="$depends_dev cmake automoc4" -install="" -subpackages="" -source="http://download.kde.org/stable/phonon/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz" +source="https://download.kde.org/stable/phonon/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz" builddir="$srcdir"/phonon-gstreamer-$pkgver @@ -24,16 +21,13 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS $(pkgconf --cflags gstreamer-1.0)" \ - || return 1 - make || return 1 + -DCMAKE_CXX_FLAGS="$CXXFLAGS $(pkgconf --cflags gstreamer-1.0)" + make } package() { cd "$builddir"/build - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="b2b0ca327908948ce8cdba117e31bf80 phonon-backend-gstreamer-4.9.0.tar.xz" -sha256sums="cec3e5ece1261d344b68363ef0606ebf49772628ba94bb55b0c0d18773b885f1 phonon-backend-gstreamer-4.9.0.tar.xz" sha512sums="9c13d37c6c7070c2bd8fcc562f743ac2f55289bc7cc82147ef0ae990e5d380d541cc1d9ce61e6ad1549ed1935d41faafaeeb0cd5463e4c656ea8fee636ff4dfe phonon-backend-gstreamer-4.9.0.tar.xz" |