2012-08-16 09:13:47 +00:00
|
|
|
# Template file for 'gstreamer-vaapi'
|
|
|
|
pkgname=gstreamer-vaapi
|
2014-07-29 16:42:34 +00:00
|
|
|
version=0.5.9
|
|
|
|
revision=1
|
2014-04-03 11:12:19 +00:00
|
|
|
lib32disabled=yes
|
2013-04-20 06:39:33 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-08-30 09:39:06 +00:00
|
|
|
makedepends="libXrandr-devel libva-devel>=1:1.1.0 MesaLib-devel
|
|
|
|
gst-plugins-bad-devel gst-plugins-bad1-devel>=1:1.0.10_2"
|
2013-04-20 06:39:33 +00:00
|
|
|
short_desc="VA-API plugins for GStreamer (0.10.x)"
|
2012-08-16 09:13:47 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
2013-04-20 06:39:33 +00:00
|
|
|
homepage="http://www.freedesktop.org/software/vaapi/releases/gstreamer-vaapi/"
|
2012-10-09 17:53:25 +00:00
|
|
|
distfiles="http://www.freedesktop.org/software/vaapi/releases/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2014-07-29 16:42:34 +00:00
|
|
|
checksum=b5efbb5ccd3e9fd1ce16193dd14cfac327a8ec2662794c0067ff2603c3355003
|
2014-08-31 13:11:01 +00:00
|
|
|
nocross=yes
|
2013-11-27 06:11:00 +00:00
|
|
|
|
2013-04-20 06:39:33 +00:00
|
|
|
do_configure() {
|
|
|
|
mkdir build-0.10 build-1.0
|
|
|
|
|
2014-07-29 16:42:34 +00:00
|
|
|
configure_args+=" --disable-builtin-libvpx --disable-static --disable-wayland"
|
|
|
|
|
2013-04-20 06:39:33 +00:00
|
|
|
cd ${wrksrc}/build-0.10
|
2014-07-29 16:42:34 +00:00
|
|
|
../configure ${configure_args} --with-gstreamer-api=0.10
|
2013-04-20 06:39:33 +00:00
|
|
|
|
|
|
|
cd ${wrksrc}/build-1.0
|
2014-07-29 16:42:34 +00:00
|
|
|
../configure ${configure_args} --with-gstreamer-api=1.0
|
2013-04-20 06:39:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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() {
|
2014-04-03 11:12:19 +00:00
|
|
|
lib32disabled=yes
|
2013-04-20 06:39:33 +00:00
|
|
|
depends="gstreamer1-vaapi-${version}_${revision}"
|
2013-11-27 06:18:02 +00:00
|
|
|
short_desc="VA-API plugins for GStreamer (1.x) - development files"
|
2013-04-20 06:39:33 +00:00
|
|
|
pkg_install() {
|
2014-07-29 16:42:34 +00:00
|
|
|
vmove usr/include/gstreamer-1.*
|
|
|
|
vmove "usr/lib/pkgconfig/*-1.*"
|
|
|
|
vmove "usr/lib/*-1.*.so"
|
2013-04-20 06:39:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gstreamer1-vaapi_package() {
|
2014-04-03 11:12:19 +00:00
|
|
|
lib32disabled=yes
|
2013-11-27 06:18:02 +00:00
|
|
|
short_desc="VA-API plugins for GStreamer (1.x)"
|
|
|
|
depends="gst-plugins-base1>=1:1.2 gst-plugins-bad1>=1:1.2"
|
2013-04-20 06:39:33 +00:00
|
|
|
pkg_install() {
|
2014-07-29 16:42:34 +00:00
|
|
|
vmove usr/lib/gstreamer-1*
|
|
|
|
vmove "usr/lib/*-1.*.so.*"
|
2013-04-20 06:39:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-12 13:11:12 +00:00
|
|
|
gstreamer-vaapi-devel_package() {
|
2014-04-03 11:12:19 +00:00
|
|
|
lib32disabled=yes
|
2013-04-12 13:11:12 +00:00
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2013-07-17 17:15:32 +00:00
|
|
|
short_desc="VA-API plugins for GStreamer (0.10.x) -- development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
2013-04-20 06:39:33 +00:00
|
|
|
vmove "usr/include/*-0.10*"
|
|
|
|
vmove "usr/lib/pkgconfig/*-0.10*"
|
2013-11-27 06:18:02 +00:00
|
|
|
vmove "usr/lib/*-0.10*.so"
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|