summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeon <jhyuni.kang@samsung.com>2020-02-21 14:33:10 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2023-12-22 08:43:48 +0900
commit17f4405a946285abed8cd8faae90fc2db6a535c9 (patch)
tree511402ba64c73f93c2ac1a2b812abb8526f9be67
parent09cef9ece135ff9e1d677704856b60f90a6b0b71 (diff)
downloadlibxkbcommon-17f4405a946285abed8cd8faae90fc2db6a535c9.tar.gz
libxkbcommon-17f4405a946285abed8cd8faae90fc2db6a535c9.tar.bz2
libxkbcommon-17f4405a946285abed8cd8faae90fc2db6a535c9.zip
packaging: Bump up to 0.10.0
Change-Id: Ie73df143cb587d8ad545cd7023bc0518c1546c85
-rw-r--r--packaging/libxkbcommon.spec23
1 files changed, 16 insertions, 7 deletions
diff --git a/packaging/libxkbcommon.spec b/packaging/libxkbcommon.spec
index e1b01d1..b0291af 100644
--- a/packaging/libxkbcommon.spec
+++ b/packaging/libxkbcommon.spec
@@ -1,5 +1,5 @@
Name: libxkbcommon
-Version: 0.7.2
+Version: 0.10.0
Release: 0
License: MIT
Summary: Wayland libxkbcommon library
@@ -9,8 +9,7 @@ Group: Development/Libraries
Source: %{name}-%{version}.tar.xz
#X-Vcs-Url: https://github.com/xkbcommon/libxkbcommon.git
Source1001: libxkbcommon.manifest
-BuildRequires: autoconf >= 2.60
-BuildRequires: automake
+BuildRequires: meson
BuildRequires: bison
BuildRequires: flex
BuildRequires: libtool >= 2
@@ -19,6 +18,10 @@ BuildRequires: python
BuildRequires: xkb-tizen-data
BuildRequires: gawk
+## This BuildRequires is needed when an enable-wayland option is true.
+#BuildRequires: pkgconfig(wayland-client)
+#BuildRequires: wayland-protocols
+
%global TZ_SYS_RO_SHARE %{?TZ_SYS_RO_SHARE:%TZ_SYS_RO_SHARE}%{!?TZ_SYS_RO_SHARE:/usr/share}
%description
@@ -47,12 +50,18 @@ chmod a+x ./gen_tables.sh
./gen_tables.sh
%build
-chmod a+x ./autogen.sh
-%autogen --disable-static --disable-x11 --disable-docs
-%__make %{?_smp_mflags} V=1;
+meson setup \
+ -Denable-x11=false \
+ -Denable-docs=false \
+ -Denable-wayland=false \
+ --prefix /usr \
+ --libdir %{_libdir} \
+ builddir
+ninja -C builddir all
%install
-%make_install
+export DESTDIR=%{buildroot}
+ninja -C builddir install
%post -p /sbin/ldconfig