Skip to content

Commit

Permalink
fix: update OpenTabletDriver to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Aug 2, 2024
1 parent 890be0a commit 442651d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions anda/system/opentabletdriver/opentabletdriver.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,23 @@
# We aren't using Mono but RPM expected Mono
%global __requires_exclude_from ^/usr/lib/opentabletdriver/.*$
%global __os_install_post %{nil}
%global dotnet_runtime_version 8.0

Name: opentabletdriver
Version: 0.6.4.0
Release: 1%{?dist}
Summary: A cross-platform open source tablet driver
License: LGPLv3
URL: https://github.com/OpenTabletDriver/OpenTabletDriver
Packager: Cappy Ishihara <[email protected]>
%define otddir OpenTabletDriver-%{version}

BuildRequires: dotnet-sdk-6.0 git jq systemd-rpm-macros
BuildRequires: dotnet-sdk-%{dotnet_runtime_version}
BuildRequires: git jq systemd-rpm-macros

Requires: dotnet-runtime-6.0
Requires: dotnet-runtime-%{dotnet_runtime_version}
Requires: libevdev.so.2()(64bit)
Requires: gtk3
Requires: gtk3
Requires: udev
Suggests: libX11
Suggests: libXrandr
Expand Down
4 changes: 3 additions & 1 deletion anda/system/opentabletdriver/update.rhai
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
rpm.version(gh("OpenTabletDriver/OpenTabletDriver"));
# todo: Check latest .NET runtime version from Fedora repos and set macros accordingly

rpm.version(gh("OpenTabletDriver/OpenTabletDriver"));

0 comments on commit 442651d

Please sign in to comment.