diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-21 11:40:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-21 11:40:16 +0000 |
commit | d4977cdfd7ca29406f1fb2167a5799a8abe08c25 (patch) | |
tree | ec14d76f99aae7809ea77a9316351857d64d0291 /main/gst-plugins-ugly0.10/APKBUILD | |
parent | 1451a956b866cf8256478ac02b4804d0f7db5d36 (diff) | |
download | aports-d4977cdfd7ca29406f1fb2167a5799a8abe08c25.tar.bz2 aports-d4977cdfd7ca29406f1fb2167a5799a8abe08c25.tar.xz |
main/gst-plugins-ugly0.10: renamed from gst-plugins-ugly
Diffstat (limited to 'main/gst-plugins-ugly0.10/APKBUILD')
-rw-r--r-- | main/gst-plugins-ugly0.10/APKBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/main/gst-plugins-ugly0.10/APKBUILD b/main/gst-plugins-ugly0.10/APKBUILD new file mode 100644 index 0000000000..0109bba798 --- /dev/null +++ b/main/gst-plugins-ugly0.10/APKBUILD @@ -0,0 +1,56 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gst-plugins-ugly0.10 +pkgver=0.10.19 +pkgrel=0 +pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)" +url="http://gstreamer.freedesktop.org/" +arch="all" +license="LGPL" +depends= +replaces="gst-plugins-ugly" +makedepends="lame-dev libmpeg2-dev a52dec-dev libid3tag-dev libmad-dev + glib-dev liboil-dev gstreamer0.10-dev gst-plugins-base0.10-dev + x264-dev libcdio-dev libcdio-paranoia-dev libid3tag-dev orc-dev" +source="http://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 +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 +} + + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --enable-experimental \ + --with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \ + --with-package-origin="http://www.alpinelinux.org/" \ + || return 1 + make +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" -name '*.la' -delete +} +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" |