forked from pool/libxkbcommon
- Update to release 0.9.0
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libxkbcommon?expand=0&rev=52
This commit is contained in:
parent
6da0815f2c
commit
587e1a500c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:60ddcff932b7fd352752d51a5c4f04f3d0403230a584df9a2e0d5ed87c486c8b
|
|
||||||
size 648592
|
|
3
libxkbcommon-0.9.0.tar.xz
Normal file
3
libxkbcommon-0.9.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a51885adff1f6207ad291a57c41919048fb4e5ec5b19e8e17b8c0e9a7a2746fc
|
||||||
|
size 376160
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 20 15:08:58 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 0.9.0
|
||||||
|
* Move ~/.xkb to before XKB_CONFIG_ROOT. This enables the user
|
||||||
|
to have full control of the keymap definitions, instead of
|
||||||
|
only augmenting them.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 22 21:58:27 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Fri Feb 22 21:58:27 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: libxkbcommon
|
Name: libxkbcommon
|
||||||
Version: 0.8.4
|
Version: 0.9.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for handling xkb descriptions
|
Summary: Library for handling xkb descriptions
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -33,14 +33,14 @@ Url: http://xkbcommon.org/
|
|||||||
#Git-Clone: git://github.com/xkbcommon/libxkbcommon
|
#Git-Clone: git://github.com/xkbcommon/libxkbcommon
|
||||||
Source: https://xkbcommon.org/download/%name-%version.tar.xz
|
Source: https://xkbcommon.org/download/%name-%version.tar.xz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
#git#BuildRequires: autoconf >= 2.62
|
|
||||||
#git#BuildRequires: automake
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
#git#BuildRequires: libtool >= 2
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkg-config
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
BuildRequires: pkgconfig(wayland-client) >= 1.2.0
|
||||||
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.7
|
||||||
|
BuildRequires: pkgconfig(wayland-scanner)
|
||||||
BuildRequires: pkgconfig(xkeyboard-config)
|
BuildRequires: pkgconfig(xkeyboard-config)
|
||||||
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
||||||
BuildRequires: pkgconfig(xproto)
|
BuildRequires: pkgconfig(xproto)
|
||||||
@ -113,24 +113,16 @@ in %name-x11-0.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then
|
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
|
||||||
fi
|
|
||||||
%if %{with x11}
|
%if %{with x11}
|
||||||
extra_opts=--enable-x11
|
ef=-Denable-x11=true
|
||||||
%else
|
%else
|
||||||
extra_opts=--disable-x11
|
ef=-Denable-x11=false
|
||||||
%endif
|
%endif
|
||||||
# Ensure people will use pkgconfig to locate headers.
|
%meson -Denable-docs=false --includedir="%_includedir/%name" $ef
|
||||||
%configure --disable-static --includedir="%_includedir/%name" $extra_opts
|
%meson_build
|
||||||
make %{?_smp_mflags} V=1
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
|
||||||
|
|
||||||
%check
|
|
||||||
make check
|
|
||||||
|
|
||||||
%post -n libxkbcommon0 -p /sbin/ldconfig
|
%post -n libxkbcommon0 -p /sbin/ldconfig
|
||||||
%postun -n libxkbcommon0 -p /sbin/ldconfig
|
%postun -n libxkbcommon0 -p /sbin/ldconfig
|
||||||
@ -138,13 +130,11 @@ make check
|
|||||||
%postun -n libxkbcommon-x11-0 -p /sbin/ldconfig
|
%postun -n libxkbcommon-x11-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libxkbcommon0
|
%files -n libxkbcommon0
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc LICENSE NEWS
|
|
||||||
%_libdir/libxkbcommon.so.*
|
%_libdir/libxkbcommon.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%doc NEWS
|
||||||
%doc LICENSE NEWS
|
|
||||||
%_includedir/%name/
|
%_includedir/%name/
|
||||||
%if %{with x11}
|
%if %{with x11}
|
||||||
%exclude %_includedir/%name/xkbcommon/xkbcommon-x11.h
|
%exclude %_includedir/%name/xkbcommon/xkbcommon-x11.h
|
||||||
@ -154,13 +144,11 @@ make check
|
|||||||
|
|
||||||
%if %{with x11}
|
%if %{with x11}
|
||||||
%files -n libxkbcommon-x11-0
|
%files -n libxkbcommon-x11-0
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc LICENSE NEWS
|
|
||||||
%_libdir/libxkbcommon-x11.so.*
|
%_libdir/libxkbcommon-x11.so.*
|
||||||
|
|
||||||
%files x11-devel
|
%files x11-devel
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc LICENSE NEWS
|
|
||||||
%dir %_includedir/%name
|
%dir %_includedir/%name
|
||||||
%dir %_includedir/%name/xkbcommon
|
%dir %_includedir/%name/xkbcommon
|
||||||
%_includedir/%name/xkbcommon/xkbcommon-x11.h
|
%_includedir/%name/xkbcommon/xkbcommon-x11.h
|
||||||
|
Loading…
Reference in New Issue
Block a user