Permalink
Browse files

FL-244: xvba-video fork and update ati-drivers dependency

  • Loading branch information...
1 parent 3f632b3 commit 46015062f81aede0ec880b27a773f71a1494f923 @jeanfrancisroy jeanfrancisroy committed Jan 4, 2013
@@ -0,0 +1,3 @@
+DIST xvba-driver-0.8.0.tar.bz2 80424 SHA256 bd56e64c619732956fe3e900520a704de90c1849f0b0e0ab6b8db5ff695d38a2 SHA512 1e968f6123c5563f5dfc1f01cd2b7ed9b3f6afa9cf93b50b2079b1408670f6048f8d6b6d47c1ebbad1defc3600788ddf85a93bee772d90e05a8769ff19e2425b WHIRLPOOL df19706f84c17c6141e9a3cacec230012767b8fb06117477b95ed4b511b52321e9092455d927ff4147b1a951aea234d35575758fd69ba577ade131fb27d79da1
+DIST xvba-video-0.8.0.i686.tar.gz 58245 SHA256 947b186722a2ac22888c7e0d3f6df20335bb2f40fe1383c35b9b17e93287a5ea
+DIST xvba-video-0.8.0.x86_64.tar.gz 64524 SHA256 ffc64d1614d2868495b2181cfda85ada905b2812b84c0d245c864edbbd9339af
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+</pkgmetadata>
@@ -0,0 +1,47 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+EGIT_REPO_URI="git://anongit.freedesktop.org/vaapi/xvba-driver"
+[[ ${PV} = 9999 ]] && inherit git-2
+inherit eutils autotools
+
+DESCRIPTION="XVBA Backend for Video Acceleration (VA) API"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi"
+SRC_URI="http://dev.gentooexperimental.org/~scarabeus/xvba-driver-${PV}.tar.bz2"
+# No source release yet, the src_uri is theoretical at best right now
+#[[ ${PV} = 9999 ]] || SRC_URI="http://www.freedesktop.org/software/vaapi/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2+ MIT"
+SLOT="0"
+# newline is needed for broken ekeyword
+[[ ${PV} = 9999 ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE="debug opengl"
+
+RDEPEND="
+ >=x11-libs/libva-1.1.0[X,opengl?]
+ x11-libs/libvdpau
+ x11-drivers/ati-drivers[vaapi]
+"
+DEPEND="${DEPEND}
+ virtual/pkgconfig"
+
+DOCS=( NEWS README AUTHORS )
+
+S="${WORKDIR}/xvba-driver-${PV}"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable opengl glx)
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}
@@ -0,0 +1,41 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit multilib
+
+x86name="${P}.i686"
+amd64name="${P}.x86_64"
+
+DESCRIPTION="XVBA Backend for Video Acceleration (VA) API"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi/"
+SRC_URI="
+ amd64? ( http://www.splitted-desktop.com/~gbeauchesne/${PN}/${amd64name}.tar.gz )
+ x86? ( http://www.splitted-desktop.com/~gbeauchesne/${PN}/${x86name}.tar.gz )
+"
+
+LICENSE="GPL-2+ MIT"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/libva[opengl]
+ x11-drivers/ati-drivers"
+DEPEND=""
+
+S=${WORKDIR}
+
+# TODO: ignore QA warning about ldflags since this is binary
+QA_PRESTRIPPED="
+ usr/lib\(32\|64\)\?/va/drivers/xvba_drv_video.so
+ usr/lib\(32\|64\)\?/va/drivers/fglrx_drv_video.so
+"
+
+src_install() {
+ use x86 && cd "${x86name}"
+ use amd64 && cd "${amd64name}"
+
+ dodoc AUTHORS NEWS README
+ exeinto /usr/$(get_libdir)/va/drivers/
+ doexe usr/lib/va/drivers/*
+}
@@ -0,0 +1,44 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+EGIT_REPO_URI="git://anongit.freedesktop.org/vaapi/xvba-driver"
+[[ ${PV} = 9999 ]] && inherit git-2
+inherit eutils autotools
+
+DESCRIPTION="XVBA Backend for Video Acceleration (VA) API"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/vaapi"
+# No source release yet, the src_uri is theoretical at best right now
+[[ ${PV} = 9999 ]] || SRC_URI="http://www.freedesktop.org/software/vaapi/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2+ MIT"
+SLOT="0"
+# newline is needed for broken ekeyword
+[[ ${PV} = 9999 ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE="debug opengl"
+
+RDEPEND="
+ >=x11-libs/libva-1.1.0[X,opengl?]
+ x11-libs/libvdpau
+ x11-drivers/ati-drivers[vaapi]
+"
+DEPEND="${DEPEND}
+ virtual/pkgconfig"
+
+DOCS=( NEWS README AUTHORS )
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable opengl glx)
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}

0 comments on commit 4601506

Please sign in to comment.