diff mbox

[oe,meta-oe,10/49] libvdpau: Add recipe

Message ID 20161123092209.23699-10-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj Nov. 23, 2016, 9:21 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 Dec. 17, 2016, 11:53 p.m. UTC | #1
directfb seems to autodetect this as well:

directfb-1.7.7: directfb rdepends on libvdpau, but it isn't a build
dependency, missing libvdpau in DEPENDS or PACKAGECONFIG? [build-deps]
directfb-1.7.7: directfb rdepends on libx11, but it isn't a build
dependency, missing libx11 in DEPENDS or PACKAGECONFIG? [build-deps]
directfb-1.7.7: directfb rdepends on libxau, but it isn't a build
dependency, missing libxau in DEPENDS or PACKAGECONFIG? [build-deps]
directfb-1.7.7: directfb rdepends on libxcb, but it isn't a build
dependency, missing libxcb in DEPENDS or PACKAGECONFIG? [build-deps]
directfb-1.7.7: directfb rdepends on libxdmcp, but it isn't a build
dependency, missing libxdmcp in DEPENDS or PACKAGECONFIG? [build-deps]
directfb-1.7.7: directfb rdepends on libxext, but it isn't a build
dependency, missing libxext in DEPENDS or PACKAGECONFIG? [build-deps]


On Wed, Nov 23, 2016 at 10:21 AM, Khem Raj <raj.khem@gmail.com> 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>

> ---

>  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

>

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Khem Raj Dec. 19, 2016, 9:10 p.m. UTC | #2
On Sat, Dec 17, 2016 at 3:53 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> directfb seems to autodetect this as well:

>

> directfb-1.7.7: directfb rdepends on libvdpau, but it isn't a build

> dependency, missing libvdpau in DEPENDS or PACKAGECONFIG? [build-deps]

> directfb-1.7.7: directfb rdepends on libx11, but it isn't a build

> dependency, missing libx11 in DEPENDS or PACKAGECONFIG? [build-deps]

> directfb-1.7.7: directfb rdepends on libxau, but it isn't a build

> dependency, missing libxau in DEPENDS or PACKAGECONFIG? [build-deps]

> directfb-1.7.7: directfb rdepends on libxcb, but it isn't a build

> dependency, missing libxcb in DEPENDS or PACKAGECONFIG? [build-deps]

> directfb-1.7.7: directfb rdepends on libxdmcp, but it isn't a build

> dependency, missing libxdmcp in DEPENDS or PACKAGECONFIG? [build-deps]

> directfb-1.7.7: directfb rdepends on libxext, but it isn't a build

> dependency, missing libxext in DEPENDS or PACKAGECONFIG? [build-deps]

>


sent a patch for this
-- 
_______________________________________________
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}"