diff mbox

[oe,meta-oe] libvdpau: Add recipe

Message ID 20161103101650.31105-1-raj.khem@gmail.com
State Superseded
Headers show

Commit Message

Khem Raj Nov. 3, 2016, 10:16 a.m. UTC
From: Koen Kooi <koen@dominion.thruhere.net>


Needed for x86 machines

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-graphics/vdpau/libvdpau_git.bb | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/vdpau/libvdpau_git.bb

-- 
2.10.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Martin Jansa Nov. 22, 2016, 4:47 p.m. UTC | #1
On Thu, Nov 03, 2016 at 03:16:50AM -0700, Khem Raj wrote:
> From: Koen Kooi <koen@dominion.thruhere.net>

> 

> Needed for x86 machines

> 

> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

> Signed-off-by: Khem Raj <raj.khem@gmail.com>


This seems to break vlc:

http://errors.yoctoproject.org/Errors/Details/104697/

> ---

>  meta-oe/recipes-graphics/vdpau/libvdpau_git.bb | 23 +++++++++++++++++++++++

>  1 file changed, 23 insertions(+)

>  create mode 100644 meta-oe/recipes-graphics/vdpau/libvdpau_git.bb

> 

> diff --git a/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb b/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb

> new file mode 100644

> index 0000000..31f4df4

> --- /dev/null

> +++ b/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb

> @@ -0,0 +1,23 @@

> +SUMMARY = "Video Decode and Presentation API for UNIX"

> +

> +LICENSE = "MIT"

> +LIC_FILES_CHKSUM = "file://COPYING;md5=83af8811a28727a13f04132cc33b7f58"

> +

> +DEPENDS = "virtual/libx11 libxext dri2proto"

> +

> +PV = "1.1.1+git${SRCPV}"

> +

> +SRCREV = "a21bf7aa438f5dd40d0a300a3167aa3d6f26dccc"

> +SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau"

> +

> +S = "${WORKDIR}/git"

> +

> +inherit autotools pkgconfig

> +

> +do_install_append() {

> +    rm -f ${D}${libdir}/*/*.la

> +}

> +

> +FILES_${PN}-dbg += "${libdir}/vdpau/.debug"

> +FILES_${PN}-dev += "${libdir}/vdpau/lib*${SOLIBSDEV}"

> +FILES_${PN} += "${libdir}/vdpau/lib*${SOLIBS}"

> -- 

> 2.10.2

> 

> -- 

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox

Patch

diff --git a/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb b/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb
new file mode 100644
index 0000000..31f4df4
--- /dev/null
+++ b/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb
@@ -0,0 +1,23 @@ 
+SUMMARY = "Video Decode and Presentation API for UNIX"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=83af8811a28727a13f04132cc33b7f58"
+
+DEPENDS = "virtual/libx11 libxext dri2proto"
+
+PV = "1.1.1+git${SRCPV}"
+
+SRCREV = "a21bf7aa438f5dd40d0a300a3167aa3d6f26dccc"
+SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+do_install_append() {
+    rm -f ${D}${libdir}/*/*.la
+}
+
+FILES_${PN}-dbg += "${libdir}/vdpau/.debug"
+FILES_${PN}-dev += "${libdir}/vdpau/lib*${SOLIBSDEV}"
+FILES_${PN} += "${libdir}/vdpau/lib*${SOLIBS}"