diff options
author | orumin | 2016-06-06 15:11:26 +0900 |
---|---|---|
committer | orumin | 2016-06-06 15:11:26 +0900 |
commit | 14310474b18a7d2bea252029e1c7301726e933ec (patch) | |
tree | dfdecd7e24ba523fa73188444e5748b3b38721e7 | |
download | aur-14310474b18a7d2bea252029e1c7301726e933ec.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..45b9966301c3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +# Generated by mksrcinfo v8 +# Mon Jun 6 06:11:18 UTC 2016 +pkgbase = lib32-gst-plugins-ugly + pkgdesc = GStreamer Multimedia Framework Ugly Plugins (32-bit) + pkgver = 1.8.1 + pkgrel = 1 + url = http://gstreamer.freedesktop.org/ + arch = x86_64 + license = LGPL + makedepends = python + makedepends = x264 + depends = lib32-gst-plugins-base-libs + depends = lib32-libdvdread + depends = lib32-lame + depends = lib32-libmpeg2 + depends = lib32-a52dec + depends = lib32-libmad + depends = lib32-libsidplay + depends = lib32-libcdio + depends = lib32-libx264 + depends = lib32-opencore-amr + depends = lib32-mpg123 + depends = gst-plugins-ugly + options = !emptydirs + source = http://gstreamer.freedesktop.org//src/gst-plugins-ugly/gst-plugins-ugly-1.8.1.tar.xz + sha256sums = 8e656a9a3be60d7e7ed3fb8e2a22d070b1f54f95d0b22accd876360e659446ce + +pkgname = lib32-gst-plugins-ugly + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..644928e635e7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: orumin <dev@orum.in> + +_basename=gst-plugins-ugly +pkgname="lib32-$_basename" +pkgver=1.8.1 +pkgrel=1 +pkgdesc="GStreamer Multimedia Framework Ugly Plugins (32-bit)" +arch=('x86_64') +license=('LGPL') +url="http://gstreamer.freedesktop.org/" +depends=('lib32-gst-plugins-base-libs' 'lib32-libdvdread' 'lib32-lame' 'lib32-libmpeg2' 'lib32-a52dec' 'lib32-libmad' 'lib32-libsidplay' + 'lib32-libcdio' 'lib32-libx264' 'lib32-opencore-amr' 'lib32-mpg123' 'gst-plugins-ugly') +makedepends=('python' 'x264') +options=(!emptydirs) +source=(${url}/src/$_basename/$_basename-$pkgver.tar.xz) +sha256sums=('8e656a9a3be60d7e7ed3fb8e2a22d070b1f54f95d0b22accd876360e659446ce') + +build() { + cd $_basename-$pkgver + + export CC='gcc -m32' + export CXX='g++ -m32' + export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --build=i686-pc-linux-gnu --libdir=/usr/lib32 \ + --disable-static --enable-experimental --disable-gtk-doc \ + --with-package-name="GStreamer Ugly Plugins (Arch Linux)" \ + --with-package-origin="http://www.archlinux.org/" + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +check() { + cd $_basename-$pkgver + make check +} + +package() { + cd $_basename-$pkgver + make DESTDIR="${pkgdir}" install + + rm -r "$pkgdir"/usr/share +} |