Created
August 9, 2013 00:26
-
-
Save zman0900/6190117 to your computer and use it in GitHub Desktop.
gstreamer-vaapi-git PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Dan Ziemba <[email protected]> | |
# Contributor: Jan Alexander Steffens (heftig) <[email protected]> | |
pkgbase=gstreamer-vaapi-git | |
pkgname=(gst-vaapi-git gstreamer0.10-vaapi-git) | |
_gitname=gstreamer-vaapi | |
pkgver=1291.73323ba | |
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 git) | |
options=(!libtool !emptydirs) | |
source=('git://gitorious.org/vaapi/gstreamer-vaapi.git') | |
sha1sums=('SKIP') | |
pkgver() { | |
cd $_gitname | |
echo $(git rev-list --count master).$(git rev-parse --short master) | |
} | |
prepare() { | |
cd $_gitname | |
env NO_CONFIGURE=1 ./autogen.sh | |
mkdir build-1.0 build-0.10 | |
} | |
build() { | |
cd $_gitname/build-1.0 | |
../configure --prefix=/usr --disable-static --with-gstreamer-api=1.0 | |
make | |
cd ../build-0.10 | |
../configure --prefix=/usr --disable-static --with-gstreamer-api=0.10 | |
make | |
} | |
check() { | |
cd $_gitname/build-1.0 | |
make check | |
cd ../build-0.10 | |
make check | |
} | |
package_gst-vaapi-git() { | |
depends=(gst-plugins-base gst-plugins-bad libva libxrandr) | |
conflicts=(gst-vaapi) | |
provides=(gst-vaapi) | |
cd $_gitname/build-1.0 | |
make DESTDIR="$pkgdir" install | |
} | |
package_gstreamer0.10-vaapi-git() { | |
depends=(gstreamer0.10-base-plugins gstreamer0.10-bad-plugins libva libxrandr) | |
conflicts=(gstreamer0.10-vaapi) | |
provides=(gstreamer0.10-vaapi) | |
cd $_gitname/build-0.10 | |
make DESTDIR="$pkgdir" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment