forked from pool/adriconf
5c2907da29
* Renamed application from br.com.jeanhertel.adriconf to org.freedesktop.adriconf. * Handle string and float options. * Add Polish translations. @baryluk * Make various cosmetic fixes. - Changes for older versions in 2.* series: * Rename application to org.freedesktop.adriconf * Make sure themes don't add shadows to button. * Add tooltips to add profile screen. * Fix Spin Button fields, so that increment/decrement fields are correctly visible. * Improve Switch buttons with more visible colors. * Small fix fox incorrect shadows with default GTK+ theme. * User Interface is dark by default * Completely removed dialogs and replaced them with screens, giving a more natural navigation. * Profiles are now saved independently giving the user more control on what to save. * Mesa-defined profiles are not shown anymore, avoiding previous confusion on what the user added and what is defined by mesa itself. * Better validate when the user adds a new profile. * Bug-fix: When switching the GPU on PRIME settings now we keep the same application selected. OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/adriconf?expand=0&rev=5
81 lines
2.5 KiB
RPMSpec
81 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package adriconf
|
|
#
|
|
# Copyright (c) 2020 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.4
|
|
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(egl)
|
|
BuildRequires: pkgconfig(gbm)
|
|
BuildRequires: pkgconfig(gdkmm-3.0)
|
|
BuildRequires: pkgconfig(libdrm)
|
|
BuildRequires: pkgconfig(libpci)
|
|
BuildRequires: pkgconfig(libxml++-3.0)
|
|
BuildRequires: pkgconfig(pciaccess)
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
%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
|