forked from pool/libxkbcommon
Accepting request 243274 from X11:Wayland
- Add symbol versioning to xkbcommon (now with baselibs) OBS-URL: https://build.opensuse.org/request/show/243274 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxkbcommon?expand=0&rev=11
This commit is contained in:
commit
26190728d5
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 24 15:46:08 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Add symbol versioning to xkbcommon
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 21 12:28:41 UTC 2014 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
@ -24,9 +24,9 @@ License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://xkbcommon.org/
|
||||
|
||||
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxkbcommon
|
||||
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxkbcommon/
|
||||
#Git-Clone: git://github.com/xkbcommon/libxkbcommon
|
||||
Source: http://xkbcommon.org/download/%name-%version.tar.xz
|
||||
Source2: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#git#BuildRequires: autoconf >= 2.62
|
||||
#git#BuildRequires: automake
|
||||
@ -116,7 +116,10 @@ extra_opts=--disable-x11
|
||||
%endif
|
||||
# Ensure people will use pkgconfig to locate headers.
|
||||
%configure --disable-static --includedir="%_includedir/pkg/%name" $extra_opts
|
||||
make %{?_smp_mflags} V=1;
|
||||
# libxkbcommon has added symbols between 0.2.0..0.4.2 without maintenance;
|
||||
# force some versioning.
|
||||
echo "V_%version { global: *; };" >xkb.sym
|
||||
make %{?_smp_mflags} V=1 LDFLAGS="-Wl,--version-script=$PWD/xkb.sym"
|
||||
|
||||
%install
|
||||
make install DESTDIR="%buildroot";
|
||||
|
Loading…
Reference in New Issue
Block a user