aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-24 23:42:56 -0300
committerTBK <tbk@jjtc.eu>2019-05-27 03:16:50 +0200
commit13ce56dba108cabfb9550bec0ecb0d0567e533de (patch)
tree2a49a361d8471e6392b859427f6cda52777e0c22 /community
parent4862b760c649af2c86127e8e65fd74bad19ee189 (diff)
downloadaports-13ce56dba108cabfb9550bec0ecb0d0567e533de.tar.bz2
aports-13ce56dba108cabfb9550bec0ecb0d0567e533de.tar.xz
community/gst-plugins-ugly0.10: modernize, fix license
Closes: GH-8053
Diffstat (limited to 'community')
-rw-r--r--community/gst-plugins-ugly0.10/APKBUILD29
1 files changed, 8 insertions, 21 deletions
diff --git a/community/gst-plugins-ugly0.10/APKBUILD b/community/gst-plugins-ugly0.10/APKBUILD
index 537ead3304..601323f765 100644
--- a/community/gst-plugins-ugly0.10/APKBUILD
+++ b/community/gst-plugins-ugly0.10/APKBUILD
@@ -1,34 +1,27 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-plugins-ugly0.10
pkgver=0.10.19
-pkgrel=5
+pkgrel=6
pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)"
url="https://gstreamer.freedesktop.org/"
arch="all"
-license="LGPL"
-depends=
+license="LGPL-2.1-or-later"
replaces="gst-plugins-ugly"
makedepends="lame-dev libmpeg2-dev a52dec-dev libid3tag-dev libmad-dev
glib-dev orc-dev gstreamer0.10-dev gst-plugins-base0.10-dev
- x264-dev libcdio-dev libcdio-paranoia-dev libid3tag-dev orc-dev"
+ x264-dev libcdio-dev libcdio-paranoia-dev"
source="https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.bz2
cdio-cd-text-api.patch"
subpackages="$pkgname-lang"
-_builddir="$srcdir"/gst-plugins-ugly-$pkgver
+builddir="$srcdir"/gst-plugins-ugly-$pkgver
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ update_config_sub
+ default_prepare
}
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,18 +31,12 @@ build() {
--disable-static \
--enable-experimental \
--with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \
- --with-package-origin="http://www.alpinelinux.org/" \
- || return 1
+ --with-package-origin="http://www.alpinelinux.org/"
make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="1d81c593e22a6cdf0f2b4f57eae93df2 gst-plugins-ugly-0.10.19.tar.bz2
-6c1c665f864387f3a77d32231fedeaab cdio-cd-text-api.patch"
-sha256sums="1ca90059275c0f5dca71d4d1601a8f429b7852baed0723e820703b977e2c8df0 gst-plugins-ugly-0.10.19.tar.bz2
-2a8aa4cd019fab333f1f8377bf7afa426d3038a033361d90fab70c335e9a53e7 cdio-cd-text-api.patch"
sha512sums="27ae79653f73a143b1dfd864b16b8f1a43d54538a5802d937cb29ce82d5681604c2b3c3fe68c7debf4a319b09bee880a5a95fc48dce83c6cb9753397a1e300d3 gst-plugins-ugly-0.10.19.tar.bz2
16b65f3140554212bb5454b0bfdc3d5a27627076aabab3ed23e124210a18f41888b488afa1a74ecc9939213cbc61dae1ff6a9055f1929f1803208e2414792de8 cdio-cd-text-api.patch"