xlib_libxshmfence: New package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Thu, 17 Jul 2014 05:42:53 +0000 (07:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 17 Jul 2014 08:00:21 +0000 (10:00 +0200)
Needed for DRI3 support in mesa3d:

configure: error: Package requirements (x11 xext xdamage xfixes x11-xcb xcb-glx >= 1.8.1
 xcb-dri2 >= 1.8 xcb-dri3 xcb-present xcb-sync xshmfence >= 1.1) were not met:

Package xshmfence was not found in the pkg-config search path.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/x11r7/Config.in
package/x11r7/xlib_libxshmfence/Config.in [new file with mode: 0644]
package/x11r7/xlib_libxshmfence/xlib_libxshmfence.mk [new file with mode: 0644]

index 087b8168ca13eccd77d0563108792d6332b6737b..1979a1321a1a4c2b787e832f4dbe62b7e995149c 100644 (file)
@@ -50,6 +50,7 @@ if BR2_PACKAGE_XORG7
                source package/x11r7/xlib_libdmx/Config.in
                source package/x11r7/xlib_libfontenc/Config.in
                source package/x11r7/xlib_libxkbfile/Config.in
+               source package/x11r7/xlib_libxshmfence/Config.in
                source package/x11r7/xlib_xtrans/Config.in
                source package/x11r7/xlib_libpciaccess/Config.in
        endmenu
diff --git a/package/x11r7/xlib_libxshmfence/Config.in b/package/x11r7/xlib_libxshmfence/Config.in
new file mode 100644 (file)
index 0000000..d0595f6
--- /dev/null
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_XLIB_LIBXSHMFENCE
+       bool "libxshmfence"
+       select BR2_PACKAGE_XPROTO_XPROTO
+       help
+         X.Org shmfence library
diff --git a/package/x11r7/xlib_libxshmfence/xlib_libxshmfence.mk b/package/x11r7/xlib_libxshmfence/xlib_libxshmfence.mk
new file mode 100644 (file)
index 0000000..f0fb90f
--- /dev/null
@@ -0,0 +1,15 @@
+################################################################################
+#
+# xlib_libxshmfence
+#
+################################################################################
+
+XLIB_LIBXSHMFENCE_VERSION = 1.1
+XLIB_LIBXSHMFENCE_SOURCE = libxshmfence-$(XLIB_LIBXSHMFENCE_VERSION).tar.bz2
+XLIB_LIBXSHMFENCE_SITE = http://xorg.freedesktop.org/releases/individual/lib
+XLIB_LIBXSHMFENCE_LICENSE = MIT
+XLIB_LIBXSHMFENCE_LICENSE_FILES = COPYING
+XLIB_LIBXSHMFENCE_INSTALL_STAGING = YES
+XLIB_LIBXSHMFENCE_DEPENDENCIES = host-pkgconf xproto_xproto
+
+$(eval $(autotools-package))