diff options
author | Lubosz Sarnecki | 2015-06-22 22:56:33 +0200 |
---|---|---|
committer | Lubosz Sarnecki | 2015-06-22 22:56:33 +0200 |
commit | 258f1a56d1c9434aed30c1d57eea406a2f3a7112 (patch) | |
tree | 954e01d4971635bd436fbaedc61f071ecbc9ef1d | |
download | aur-258f1a56d1c9434aed30c1d57eea406a2f3a7112.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..83598668c175 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = gst-plugins-ugly-git + pkgdesc = GStreamer Multimedia Framework Ugly Plugins + pkgver = 1.3.1.1.5085.a665347 + pkgrel = 1 + url = http://gstreamer.freedesktop.org/ + arch = i686 + arch = x86_64 + license = LGPL + depends = gst-plugins-base-libs + depends = libdvdread + depends = lame + depends = libmpeg2 + depends = a52dec + depends = libmad + depends = libsidplay + depends = libcdio + depends = x264 + depends = opencore-amr + provides = gst-plugins-ugly=1.3.1.1.5085.a665347 + conflicts = gst-plugins-ugly + options = !libtool + options = !emptydirs + source = git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly + sha256sums = SKIP + +pkgname = gst-plugins-ugly-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..aa5e1cf7e3d1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 180531 2013-03-22 19:24:55Z heftig $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gst-plugins-ugly-git +pkgver=1.3.1.1.5085.a665347 +pkgrel=1 +pkgdesc="GStreamer Multimedia Framework Ugly Plugins" +arch=('i686' 'x86_64') +license=('LGPL') +provides=('gst-plugins-ugly='$pkgver) +conflicts=('gst-plugins-ugly') +url="http://gstreamer.freedesktop.org/" +depends=('gst-plugins-base-libs' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libmad' 'libsidplay' 'libcdio' 'x264' 'opencore-amr') +options=(!libtool !emptydirs) + +source='git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly' +sha256sums=('SKIP') + +_gitname='gst-plugins-ugly' + +pkgver() { + cd $_gitname + version=$(grep AC_INIT configure.ac | sed 's/AC_INIT(\[GStreamer Ugly Plug-ins\],\[//' | sed 's/\],\[http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer\],\[gst-plugins-ugly\])//') + hash=$(git log --pretty=format:'%h' -n 1) + revision=$(git rev-list --count HEAD) + + echo $version.$revision.$hash +} + +build() { + cd $_gitname + ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-experimental + make +} + +package() { + cd $_gitname + make DESTDIR="${pkgdir}" install +} |