- Update to version 2.7.11:
* Updated dependencies OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/adriconf?expand=0&rev=22
This commit is contained in:
80
adriconf.spec
Normal file
80
adriconf.spec
Normal file
@@ -0,0 +1,80 @@
|
||||
#
|
||||
# spec file for package adriconf
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: adriconf
|
||||
Version: 2.7.2
|
||||
Release: 0
|
||||
Summary: Advanced DRI Configurator
|
||||
License: GPL-3.0-only
|
||||
Group: System/Packages
|
||||
URL: https://gitlab.freedesktop.org/mesa/adriconf
|
||||
Source0: https://gitlab.freedesktop.org/mesa/adriconf/-/archive/v%{version}/adriconf-v%{version}.tar.bz2
|
||||
Source1: adriconf.desktop
|
||||
Source2: driconf-icon.png
|
||||
BuildRequires: Mesa-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libboost_filesystem-devel >= 1.60
|
||||
BuildRequires: libboost_locale-devel >= 1.60
|
||||
BuildRequires: libboost_system-devel >= 1.60
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(atkmm-2.36)
|
||||
BuildRequires: pkgconfig(egl)
|
||||
BuildRequires: pkgconfig(gbm)
|
||||
BuildRequires: pkgconfig(gtkmm-4.0)
|
||||
BuildRequires: pkgconfig(libdrm)
|
||||
BuildRequires: pkgconfig(libpci)
|
||||
BuildRequires: pkgconfig(pciaccess)
|
||||
BuildRequires: pkgconfig(pugixml)
|
||||
|
||||
%description
|
||||
adriconf (Advanced DRI CONFigurator) is a GUI tool used to configure open
|
||||
source graphics drivers. It works by setting options and writing them to
|
||||
the standard drirc file used by the Mesa drivers.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-v%{version}
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DENABLE_UNIT_TESTS=OFF
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
mkdir -p %{buildroot}/%{_datadir}/{applications,pixmaps}
|
||||
install -Dpm 0755 %{SOURCE1} \
|
||||
%{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||
install -Dpm 0755 %{SOURCE2} \
|
||||
%{buildroot}/%{_datadir}/pixmaps/%{name}.png
|
||||
%suse_update_desktop_file %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||
%find_lang %{name}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_bindir}/adriconf
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user