- 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:
Michal Suchanek 2022-06-02 16:40:09 +00:00 committed by Git OBS Bridge
parent 33fdc6b0c8
commit f0e97782de
2 changed files with 7 additions and 22 deletions

View File

@ -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,7 +20,7 @@ Sun May 29 19:26:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
* Update data/surface-go-2.tablet
* Update huion-h610-pro.tablet
* data: Add ISDv4 4995 (HP EliteBook x360 1040 G8 Notebook PC)
* data: Add ISDv4 51EF (Lenovo Yoga C740-14IML)
* data: Add ISDv4 51EF (Lenovo Yoga C740-14IML)
* data: Add ISDv4 2d1f:0095 (PINE64 PineNote)
* data: Add ISDv4 52b0 (Lenovo Yoga 7 14ACN6)
* data: Add ISDv4 511a (Lenovo ThinkPad X1 Tablet Gen 3)
@ -32,7 +37,7 @@ Sun May 29 19:26:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
* github: build with ninja --verbose
* CI: don't enable -Wall -Wextra in the CI
* Make sign-compare a warning/error
* Add support for a new "Wacom One Pen Display 13"
* Add support for a new "Wacom One Pen Display 13"
-------------------------------------------------------------------
Fri Nov 19 09:57:14 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -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