2012-08-16 11:13:47 +02:00
|
|
|
# Template file for 'gstreamer-vaapi'
|
|
|
|
pkgname=gstreamer-vaapi
|
2013-04-20 08:39:33 +02:00
|
|
|
version=0.5.3
|
|
|
|
revision=1
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libXrandr-devel libva-devel>=1:1.1.0
|
|
|
|
gst-plugins-base-devel gst-plugins-bad-devel
|
|
|
|
gst-plugins-base1-devel gst-plugins-bad1-devel MesaLib-devel"
|
|
|
|
short_desc="VA-API plugins for GStreamer (0.10.x)"
|
2012-08-16 11:13:47 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
2013-04-20 08:39:33 +02:00
|
|
|
homepage="http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/"
|
2012-10-09 19:53:25 +02:00
|
|
|
distfiles="http://www.freedesktop.org/software/vaapi/releases/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2013-04-20 08:39:33 +02:00
|
|
|
checksum=9f8647381514c6cadef7c15cc3a89f79c3dd2a3dcc2bfad66ff89cffea393bcb
|
2012-08-16 11:13:47 +02:00
|
|
|
long_desc="
|
|
|
|
${pkgname} is a collection of GStreamer plugins and helper libraries that
|
|
|
|
allow hardware accelerated video decoding through VA-API."
|
2013-04-12 15:11:12 +02:00
|
|
|
|
2013-04-20 08:39:33 +02:00
|
|
|
do_configure() {
|
|
|
|
mkdir build-0.10 build-1.0
|
|
|
|
|
|
|
|
cd ${wrksrc}/build-0.10
|
|
|
|
../configure ${CONFIGURE_SHARED_ARGS} --disable-static --with-gstreamer-api=0.10
|
|
|
|
|
|
|
|
cd ${wrksrc}/build-1.0
|
|
|
|
../configure ${CONFIGURE_SHARED_ARGS} --disable-static --with-gstreamer-api=1.0
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cd ${wrksrc}/build-0.10
|
|
|
|
make ${makejobs}
|
|
|
|
|
|
|
|
cd ${wrksrc}/build-1.0
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
cd ${wrksrc}/build-0.10
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
|
|
|
|
cd ${wrksrc}/build-1.0
|
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
}
|
|
|
|
|
|
|
|
gstreamer1-vaapi-devel_package() {
|
|
|
|
depends="gstreamer1-vaapi-${version}_${revision}"
|
|
|
|
short_desc="VA-API plugins for GStreamer (1.0) - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/gstreamer-1.0
|
|
|
|
vmove "usr/lib/pkgconfig/*-1.0*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gstreamer1-vaapi_package() {
|
|
|
|
short_desc="VA-API plugins for GStreamer (1.0)"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/gstreamer-1.0
|
|
|
|
vmove "usr/lib/*-1.0*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-12 15:11:12 +02:00
|
|
|
gstreamer-vaapi-devel_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2013-04-20 08:39:33 +02:00
|
|
|
short_desc="VA-API plugins for GStreamer (0.10.x) -- development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
2013-04-20 08:39:33 +02:00
|
|
|
vmove "usr/include/*-0.10*"
|
|
|
|
vmove "usr/lib/pkgconfig/*-0.10*"
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gstreamer-vaapi_package() {
|
|
|
|
pkg_install() {
|
2013-04-20 08:39:33 +02:00
|
|
|
vmove all
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|