tizen protocols: install protocol xml files 49/236149/2
authorSung-Jin Park <sj76.park@samsung.com>
Mon, 15 Jun 2020 07:37:40 +0000 (16:37 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Mon, 15 Jun 2020 07:52:12 +0000 (07:52 +0000)
As of now, only stable/unstable xml files are being installed. With this
change, protocol xml files of tizen protocols will also be installed.

Change-Id: Ic122b9e50d1cd379ff8439b0f2b8bfb0be0ac609
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Makefile.am
packaging/wayland-extension.spec

index 3ae4fa3..2fc5512 100644 (file)
@@ -381,9 +381,26 @@ stable_protocols = \
        protocol/stable/xdg-shell/xdg-shell.xml \
        $(NULL)
 
+tizen_protocols = \
+        protocol/tizen/tizen-launch.xml \
+        protocol/tizen/text-cursor-position.xml \
+        protocol/tizen/tizen-dpms.xml \
+        protocol/tizen/tizen-hwc.xml \
+        protocol/tizen/scaler.xml \
+        protocol/tizen/tizen-remote-surface.xml \
+        protocol/tizen/transform.xml \
+        protocol/tizen/tizen-surface.xml \
+        protocol/tizen/text.xml \
+        protocol/tizen/input-method.xml \
+        protocol/tizen/screenshooter.xml \
+        protocol/tizen/tizen-extension.xml \
+        protocol/tizen/fullscreen-shell.xml \
+       $(NULL)
+
 nobase_dist_pkgdata_DATA = \
        $(unstable_protocols) \
        $(stable_protocols) \
+       $(tizen_protocols) \
        $(NULL)
 
 dist_noinst_DATA = \
@@ -395,7 +412,7 @@ pkgconfig_DATA += src/wayland-protocols.pc
 
 dist_check_SCRIPTS = tests/scan.sh
 
-TESTS = $(unstable_protocols) $(stable_protocols)
+TESTS = $(unstable_protocols) $(stable_protocols) $(tizen_protocols)
 TEST_EXTENSIONS = .xml
 AM_TESTS_ENVIRONMENT = SCANNER='$(wayland_scanner)'; export SCANNER;
 XML_LOG_COMPILER = $(srcdir)/tests/scan.sh
index d3b1523..ea5de8a 100644 (file)
@@ -145,6 +145,7 @@ make %{?_smp_mflags}
 %manifest %{name}.manifest
 %license COPYING
 %defattr(-,root,root)
+%_datadir/wayland-extension/protocol/tizen/*
 %_datadir/wayland-extension/protocol/stable/*
 %_datadir/wayland-extension/protocol/unstable/*
 %_libdir/pkgconfig/wayland-protocols.pc