Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
deadbeef
deadbeef.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File deadbeef.spec of Package deadbeef
# # spec file for package deadbeef # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %bcond_with restricted Name: deadbeef Version: 0.7.2 Release: 0 Summary: GTK+ audio player License: Zlib AND GPL-2.0+ AND LGPL-2.1+ AND BSD-3-Clause Group: Productivity/Multimedia/Sound/Players Url: http://deadbeef.sourceforge.net/ Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2 Source1: %{name}.appdata.xml # PATCH-FIX-OPENSUSE deadbeef-fix_ubuntu_unity_desktop.patch i@marguerite.su -- Fix Unity-oriented desktop-file warnings. Patch0: %{name}-fix_ubuntu_unity_desktop.patch # PATCH-FIX-OPENSUSE deadbeef-compiler-warnings.patch olaf@aepfle.de -- Fix compiler warnings. Patch1: %{name}-compiler-warnings.patch # PATCH-FIX-OPENSUSE 0001-Explicitly-specify-signedness-for-char.patch -- Explicitly specify signedness for char Patch2: 0001-Explicitly-specify-signedness-for-char.patch # PATCH-FIX-OPENSUSE 0002-Use-signed-values-instead-of-potentially-unsigned-li.patch Patch3: 0002-Use-signed-values-instead-of-potentially-unsigned-li.patch # PATCH-FIX-OPENSUSE 0003-Fix-operator-precedence-and-uninitialized-value-warn.patch Patch4: 0003-Fix-operator-precedence-and-uninitialized-value-warn.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: intltool BuildRequires: libjpeg-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: yasm BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(atk) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(flac) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(imlib2) BuildRequires: pkgconfig(jansson) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libcddb) BuildRequires: pkgconfig(libcdio) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libmpg123) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libzip) BuildRequires: pkgconfig(mad) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(wavpack) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(zlib) Recommends: %{name}-lang %if %{with restricted} BuildRequires: libfaad-devel Requires: %{name}-plugins-extra = %{version} %else Recommends: %{name}-plugins-extra = %{version} %endif %description DeaDBeeF is an audio player using GTK+. Through use of the ffmpeg libraries, it supports many formats. It also supports cuesheets, chiptune formats with subtunes, song-length databases. It can be extended using plugins (DSP, GUI, output, input, etc.). The GUI looks similar to Foobar2000. %lang_package %if %{with restricted} %package plugins-extra Summary: Extra plugins for DeaDBeeF License: Zlib AND GPL-2.0+ AND LGPL-2.1+ AND BSD-3-Clause AND Unicode AND SUSE-NonFree Group: Productivity/Multimedia/Sound/Players Requires: %{name} = %{version} Obsoletes: %{name}-restricted-plugins < %{version} Provides: %{name}-restricted-plugins = %{version} %description plugins-extra Extra plugins for DeaDBeeF audio player. %endif %package devel Summary: Development files for %{name} License: Zlib Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel This package provides headers for DeaDBeeF plugins development. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 cp %{SOURCE1} %{name}.appdata.xml %build autoreconf -fi export CFLAGS="%{optflags} -fno-strict-aliasing" export CXXFLAGS="$CFLAGS" %configure \ --disable-static \ %if %{with restricted} --enable-psf \ %else --disable-psf \ %endif --docdir=%{_docdir}/%{name}/ make %{?_smp_mflags} V=1 %install %make_install install -Dpm 0644 %{name}.appdata.xml \ %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml %suse_update_desktop_file %{name} find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} %if 0%{?suse_version} <= 1320 %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %endif %files %doc %{_docdir}/%{name}/ %{_bindir}/%{name} %dir %{_libdir}/%{name}/ %{_libdir}/%{name}/adplug.so* %{_libdir}/%{name}/alsa.so* %{_libdir}/%{name}/artwork.so* %{_libdir}/%{name}/cdda.so* %{_libdir}/%{name}/ffap.so* %{_libdir}/%{name}/ffmpeg.so* %{_libdir}/%{name}/flac.so* %{_libdir}/%{name}/gme.so* %{_libdir}/%{name}/hotkeys.so* %{_libdir}/%{name}/lastfm.so* %{_libdir}/%{name}/notify.so* %{_libdir}/%{name}/nullout.so* %{_libdir}/%{name}/oss.so* %{_libdir}/%{name}/pulse.so* %{_libdir}/%{name}/sid.so* %{_libdir}/%{name}/sndfile.so* %{_libdir}/%{name}/supereq.so* %{_libdir}/%{name}/vfs_curl.so* %{_libdir}/%{name}/vorbis.so* %{_libdir}/%{name}/vtx.so* %{_libdir}/%{name}/wavpack.so* %{_libdir}/%{name}/wma.so* %{_libdir}/%{name}/dca.so* %{_libdir}/%{name}/mms.so* %{_libdir}/%{name}/musepack.so* %{_libdir}/%{name}/shellexec.so* %{_libdir}/%{name}/tta.so* %{_libdir}/%{name}/wildmidi.so* %{_libdir}/%{name}/converter.so* %{_libdir}/%{name}/dsp_libsrc.so* %{_libdir}/%{name}/m3u.so* %{_libdir}/%{name}/mp3.so* %{_libdir}/%{name}/vfs_zip.so* %{_libdir}/%{name}/ddb_dumb.so* %{_libdir}/%{name}/ddb_mono2stereo.so* %{_libdir}/%{name}/ddb_shn.so* %{_libdir}/%{name}/alac.so* %{_libdir}/%{name}/in_sc68.so* %{_libdir}/%{name}/data68/ %{_libdir}/%{name}/converter_gtk?.so* %{_libdir}/%{name}/ddb_gui_GTK?.so* %{_libdir}/%{name}/pltbrowser_gtk?.so* %{_libdir}/%{name}/shellexecui_gtk?.so* %{_libdir}/%{name}/convpresets/ %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.* %dir %{_datadir}/metainfo/ %{_datadir}/metainfo/%{name}.appdata.xml %files lang -f %{name}.lang %if %{with restricted} %files plugins-extra %{_libdir}/%{name}/aac.so* %{_libdir}/%{name}/ddb_ao.so* %endif %files devel %{_includedir}/%{name}/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor