Browse Source

wayland-protocols: new package

For wayland 1.10+ they're split from wayland core and required by
weston.
Hide it behind the wayland package since it's useless independently even
though it can be "built" and installed.
And it makes no sense to install to target since they are DTDs used at
build-time.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias 9 years ago
parent
commit
1636a1f8a4

+ 1 - 0
package/Config.in

@@ -940,6 +940,7 @@ menu "Graphics"
 	source "package/powervr/Config.in"
 	source "package/tiff/Config.in"
 	source "package/wayland/Config.in"
+	source "package/wayland-protocols/Config.in"
 	source "package/webkit/Config.in"
 	source "package/webkitgtk24/Config.in"
 	source "package/webp/Config.in"

+ 9 - 0
package/wayland-protocols/Config.in

@@ -0,0 +1,9 @@
+config BR2_PACKAGE_WAYLAND_PROTOCOLS
+	bool "wayland-protocols"
+	# Not really... but useless otherwise
+	depends on BR2_PACKAGE_WAYLAND
+	help
+	  Wayland protocols that adds functionality not available in
+	  the Wayland core protocol.
+
+	  http://wayland.freedesktop.org/

+ 2 - 0
package/wayland-protocols/wayland-protocols.hash

@@ -0,0 +1,2 @@
+# From https://lists.freedesktop.org/archives/wayland-devel/2015-November/025759.html
+sha256	a538a8e3f999f2722897eb60aa2e2b53d879381b413b630957d58a9acd226def	wayland-protocols-1.0.tar.xz

+ 15 - 0
package/wayland-protocols/wayland-protocols.mk

@@ -0,0 +1,15 @@
+################################################################################
+#
+# wayland-protocols
+#
+################################################################################
+
+WAYLAND_PROTOCOLS_VERSION = 1.0
+WAYLAND_PROTOCOLS_SITE = http://wayland.freedesktop.org/releases
+WAYLAND_PROTOCOLS_SOURCE = wayland-protocols-$(WAYLAND_PROTOCOLS_VERSION).tar.xz
+WAYLAND_PROTOCOLS_LICENSE = MIT
+WAYLAND_PROTOCOLS_LICENSE_FILES = COPYING
+WAYLAND_PROTOCOLS_INSTALL_STAGING = YES
+WAYLAND_PROTOCOLS_INSTALL_TARGET = NO
+
+$(eval $(autotools-package))