diff --git a/sayonara-player-1.5.1_stable5-upstream-build-fix.patch b/sayonara-player-1.5.1_stable5-upstream-build-fix.patch new file mode 100644 index 0000000..226fac1 --- /dev/null +++ b/sayonara-player-1.5.1_stable5-upstream-build-fix.patch @@ -0,0 +1,24 @@ +From 8ece134217a3efaf61383e060353f105ab1a4b21 Mon Sep 17 00:00:00 2001 +From: Michael Lugmair <3483342-luciocarreras@users.noreply.gitlab.com> +Date: Wed, 1 Jul 2020 10:27:30 +0000 +Subject: [PATCH] Update Slider.cpp + +--- + src/Gui/Utils/Widgets/Slider.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/Gui/Utils/Widgets/Slider.cpp b/src/Gui/Utils/Widgets/Slider.cpp +index 36256ba6..547fe098 100644 +--- a/src/Gui/Utils/Widgets/Slider.cpp ++++ b/src/Gui/Utils/Widgets/Slider.cpp +@@ -24,6 +24,7 @@ + #include "Utils/Logger/Logger.h" + + #include ++#include + #include + + using Gui::Slider; +-- +GitLab + diff --git a/sayonara-player.spec b/sayonara-player.spec index 9c792bc..fa71ea8 100644 --- a/sayonara-player.spec +++ b/sayonara-player.spec @@ -1,26 +1,17 @@ -%define pkgver %(echo %version | cut -d. -f1-3) +%define pkgver %(echo %version | tr _ -) %define relver %(echo %version | cut -d. -f4) Name: sayonara-player -Version: 0.8.3.20160501 +Version: 1.5.1_stable5 Release: 1mamba Summary: A small, clear and fast audio player Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://sayonara-player.com/ -Source: http://sayonara-player.com/sw/sayonara-player-%{pkgver}-git2-%{relver}.tar.gz -#ftp://sayonara-player.com/archive/0.7.1/sayonara-player-%{relver}.tar.gz -Source1: https://sayonara-player.googlecode.com/files/french_language_pack.tar.gz -Source2: https://sayonara-player.googlecode.com/files/russian_language_pack.tar.gz -Source3: https://sayonara-player.googlecode.com/files/hungarian_language_pack.tar.gz -Source4: https://sayonara-player.googlecode.com/files/mexican_language_pack.tar.gz -Source5: https://sayonara-player.googlecode.com/files/italian_language_pack.tar.gz -Source6: https://sayonara-player.googlecode.com/files/ukrainian_language_pack.tar.gz -Source7: https://sayonara-player.googlecode.com/files/brazil_language_pack.tar.gz -Source8: https://sayonara-player.googlecode.com/files/romanian_language_pack.tar.gz -Source9: https://sayonara-player.googlecode.com/files/czech_language_pack.tar.gz +URL: https://sayonara-player.com/ +Source: https://gitlab.com/luciocarreras/sayonara-player.git/%{pkgver}/sayonara-player-%{version}.tar.bz2 Patch0: sayonara-0.4.0.695-x86_64-libdir.patch +Patch1: sayonara-player-1.5.1_stable5-upstream-build-fix.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -28,16 +19,13 @@ BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libgst-plugins-base-devel BuildRequires: libgstreamer-devel -BuildRequires: libmtp-devel BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel -BuildRequires: libtag-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libtag-devel >= 1.9.1 BuildRequires: cmake Requires: libqt5-sqlite -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Sayonara is a small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend. @@ -48,7 +36,8 @@ One of Sayonara's goals are intuitive and easy usablility never leading to the i %debug_package %prep -%setup -q -n %{name} +%setup -q +%patch1 -p1 %build %cmake -d build @@ -64,10 +53,6 @@ One of Sayonara's goals are intuitive and easy usablility never leading to the i %files %defattr(-,root,root) %{_bindir}/sayonara -%dir %{_libdir}/sayonara -#%{_libdir}/sayonara/libsayonara_gstreamer.so -%{_libdir}/sayonara/libsayonara_soundcloud.so -#%{_libdir}/sayonara/libsayonara_libnotify.so %{_datadir}/appdata/sayonara.appdata.xml %{_datadir}/applications/sayonara.desktop %{_datadir}/icons/hicolor/*/apps/sayonara.png @@ -77,9 +62,12 @@ One of Sayonara's goals are intuitive and easy usablility never leading to the i %dir %{_datadir}/sayonara %{_datadir}/sayonara/* %{_mandir}/man1/sayonara.1* -%doc MANUAL +%doc COPYING LICENSE %changelog +* Sat Mar 06 2021 Silvan Calarco 1.5.1_stable5-1mamba +- update to 1.5.1_stable5 + * Sun May 08 2016 Silvan Calarco 0.8.3.20160501-1mamba - update to 0.8.3.20160501