Accepting request 774350 from home:pluskalm

please add me as maintainerwq

OBS-URL: https://build.opensuse.org/request/show/774350
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/adriconf?expand=0&rev=1
This commit is contained in:
Ondřej Súkup 2020-02-14 12:55:41 +00:00 committed by Git OBS Bridge
commit 348f40efbb
7 changed files with 128 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
adriconf-1.6.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ccc539a3c680c275f224b2265044ff6030464110d08340cf44801a74d9f5f776
size 2621318

5
adriconf.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Fri Feb 14 11:53:00 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Initial changelog entry for version 1.6.1
* Package based on one by Sergey Kondakov (X0F)

14
adriconf.desktop Normal file
View File

@ -0,0 +1,14 @@
[Desktop Entry]
Name=ADriConf
GenericName=Advanced DRI Configurator
Comment=Advanced DRI Configurator
Comment[en_GB]=Advanced DRI Configurator
Comment[en_US]=Advanced DRI Configurator
Comment[pt]=Configurador Avançado para DRI
Comment[pt_BR]=Configurador Avançado para DRI
Icon=adriconf
Categories=System;Utility;DesktopSettings;X-SuSE-core;
Exec=adriconf
Type=Application
StartupNotify=true
Terminal=false

79
adriconf.spec Normal file
View File

@ -0,0 +1,79 @@
#
# 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: 1.6.1
Release: 0
Summary: Advanced DRI Configurator
License: GPL-3.0-only
Group: System/Packages
URL: https://github.com/jlHertel/adriconf
Source0: https://github.com/jlHertel/adriconf/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: adriconf.desktop
Source2: driconf-icon.png
BuildRequires: Mesa-devel
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gcc-obj-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_locale-devel
BuildRequires: libboost_system-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(egl)
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
%setup -q
%build
%cmake \
-DENABLE_UNIT_TESTS=OFF
%cmake_build
%install
%cmake_install
mkdir -p %{buildroot}/%{_datadir}/{applications,pixmaps}
install -D -m0755 %{SOURCE1} %{buildroot}/%{_datadir}/applications/%{name}.desktop
install -D -m0755 %{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

3
driconf-icon.png Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7354c488a3b8dd04d0758569a2268c631475fb07d38eb38e4f5afeea958a5ae
size 1094