- Remove meson conditional - no other build system is supported.
* data: Add ISDv4 51EF (Lenovo Yoga C740-14IML) * Add support for a new "Wacom One Pen Display 13" OBS-URL: https://build.opensuse.org/package/show/hardware/libwacom?expand=0&rev=22
This commit is contained in:
parent
33fdc6b0c8
commit
f0e97782de
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 2 16:29:19 UTC 2022 - Michal Suchanek <msuchanek@suse.com>
|
||||
|
||||
- Remove meson conditional - no other build system is supported.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 29 19:26:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -15,11 +15,6 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%if 0%{?suse_version} > 1510
|
||||
%bcond_without meson
|
||||
%else
|
||||
%bcond_with meson
|
||||
%endif
|
||||
Name: libwacom
|
||||
Version: 2.2.0
|
||||
Release: 0
|
||||
@ -31,9 +26,7 @@ Source0: https://github.com/linuxwacom/libwacom/releases/download/libwaco
|
||||
Source1: https://github.com/linuxwacom/libwacom/releases/download/libwacom-%{version}/libwacom-%{version}.tar.xz.sig
|
||||
Source2: %{name}.keyring
|
||||
Source99: baselibs.conf
|
||||
%if %{with meson}
|
||||
BuildRequires: meson >= 0.51.0
|
||||
%endif
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
@ -89,30 +82,17 @@ built-in on-screen tablet", "what is the size of this model", etc.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%if %{with meson}
|
||||
%meson -Db_lto=true -Dtests=disabled
|
||||
%meson_build
|
||||
%else
|
||||
%configure \
|
||||
--with-udev-dir=%{_udevrulesdir}/.. \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{with meson}
|
||||
%meson_install
|
||||
%else
|
||||
%make_install
|
||||
%endif
|
||||
|
||||
sed -e 's-#!/usr/bin/env python3-#!/usr/bin/python3-g' -i %{buildroot}%{_bindir}/*
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%if %{with meson}
|
||||
%check
|
||||
%meson_test
|
||||
%endif
|
||||
|
||||
%post -n libwacom9 -p /sbin/ldconfig
|
||||
%postun -n libwacom9 -p /sbin/ldconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user