[arch-commits] Commit in gstreamer-vaapi/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Feb 3 20:36:57 UTC 2015
Date: Tuesday, February 3, 2015 @ 21:36:57
Author: heftig
Revision: 230407
0.5.10; gst0.10 support is defunct
Modified:
gstreamer-vaapi/trunk/PKGBUILD
----------+
PKGBUILD | 51 ++++++++++++++++-----------------------------------
1 file changed, 16 insertions(+), 35 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-03 20:11:51 UTC (rev 230406)
+++ PKGBUILD 2015-02-03 20:36:57 UTC (rev 230407)
@@ -1,52 +1,33 @@
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-pkgbase=gstreamer-vaapi
-pkgname=(gst-vaapi gstreamer0.10-vaapi)
-pkgver=0.5.9
+pkgname=gstreamer-vaapi
+pkgver=0.5.10
pkgrel=1
pkgdesc="GStreamer Multimedia Framework VA Plugins"
arch=(i686 x86_64)
license=(LGPL)
url="http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/"
-makedepends=(gst-plugins-base gst-plugins-bad gstreamer0.10-base-plugins gstreamer0.10-bad-plugins
- libva libxrandr libvpx)
-options=(!emptydirs)
+depends=(gst-plugins-base libva libxrandr libvpx)
+provides=("gst-vaapi=$pkgver")
+conflicts=(gst-vaapi)
+replaces=(gst-vaapi)
+source=($url/$pkgname-$pkgver.tar.bz2)
+sha1sums=('456d8e8bc9f76e8f16318172d2b61c18e61c7da0')
-#source=(git://gitorious.org/vaapi/${pkgbase}.git#commit=5ffa82b)
-source=($url/$pkgbase-$pkgver.tar.bz2)
-sha1sums=('14f476f834a15422ecfa6a472df1b18ac2a0e50f')
-
-prepare() {
- mkdir build build-0.10
-}
-
-_build() (
- cd "$1"; shift
- ../$pkgbase-$pkgver/configure --prefix=/usr \
- --disable-static \
- --disable-builtin-libvpx \
- "$@"
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static --disable-builtin-libvpx
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
-)
-
-build() {
- _build build
- _build build-0.10 --with-gstreamer-api=0.10 --disable-wayland
}
check() {
- make -C build -k check
- make -C build-0.10 -k check
+ cd $pkgname-$pkgver
+ make -k check
}
-package_gst-vaapi() {
- depends=(gst-plugins-base gst-plugins-bad libva libxrandr libvpx)
- make -C build DESTDIR="$pkgdir" install
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
}
-
-package_gstreamer0.10-vaapi() {
- depends=(gstreamer0.10-base-plugins gstreamer0.10-bad-plugins libva libxrandr libvpx)
- make -C build-0.10 DESTDIR="$pkgdir" install
-}
More information about the arch-commits
mailing list