From 5a347036863fb062734594b651d81121c179ef6c Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sun, 26 Aug 2018 23:30:06 +1000 Subject: [PATCH] Audacious: bump version --- ...cious-3.9.recipe => audacious-3.10.recipe} | 16 ++++----- .../audacious/patches/audacious-3.10.patchset | 36 +++++++++++++++++++ 2 files changed, 44 insertions(+), 8 deletions(-) rename media-sound/audacious/{audacious-3.9.recipe => audacious-3.10.recipe} (88%) create mode 100644 media-sound/audacious/patches/audacious-3.10.patchset diff --git a/media-sound/audacious/audacious-3.9.recipe b/media-sound/audacious/audacious-3.10.recipe similarity index 88% rename from media-sound/audacious/audacious-3.9.recipe rename to media-sound/audacious/audacious-3.10.recipe index 89df4d3c2..0a13b51e8 100644 --- a/media-sound/audacious/audacious-3.9.recipe +++ b/media-sound/audacious/audacious-3.10.recipe @@ -9,12 +9,13 @@ with LADSPA effects. Enjoy the modern GTK-themed interface or change things \ up with Winamp Classic skins. Use the plugins included with Audacious to \ fetch lyrics for your music, to set an alarm in the morning, and more." HOMEPAGE="https://audacious-media-player.org/" -COPYRIGHT="2010-2017 Błażej Szczygieł" +COPYRIGHT="2010-2018 Błażej Szczygieł" LICENSE="GNU GPL v3" -REVISION="4" +REVISION="1" SOURCE_URI="https://github.com/audacious-media-player/audacious/archive/audacious-$portVersion.tar.gz" -CHECKSUM_SHA256="22226ca3f161711790cd550757742aebe386f9c2567d7912ac9fd35fae488664" +CHECKSUM_SHA256="82710d6ac90931c2cc4a0f0fcb6380ac21ed42a7a50856d16a67d3179a96e9ae" SOURCE_DIR="audacious-audacious-$portVersion" +PATCHES="audacious-$portVersion.patchset" ADDITIONAL_FILES="audacious.rdef.in" ARCHITECTURES="!x86_gcc2 x86 x86_64" @@ -23,8 +24,8 @@ SECONDARY_ARCHITECTURES="x86" PROVIDES=" audacious$secondaryArchSuffix = $portVersion app:Audacious$secondaryArchSuffix = $portVersion - lib:libaudcore$secondaryArchSuffix = 5.8.0 compat >= 5 - lib:libaudqt$secondaryArchSuffix = 2.0.0 compat >= 2 + lib:libaudcore$secondaryArchSuffix = 5.1.0 compat >= 5 + lib:libaudqt$secondaryArchSuffix = 2.1.0 compat >= 2 lib:libaudtag$secondaryArchSuffix = 3.0.0 compat >= 3 " REQUIRES=" @@ -42,8 +43,8 @@ REQUIRES=" PROVIDES_devel=" audacious${secondaryArchSuffix}_devel = $portVersion - devel:libaudcore$secondaryArchSuffix = 5.8.0 compat >= 5 - devel:libaudqt$secondaryArchSuffix = 2.0.0 compat >= 2 + devel:libaudcore$secondaryArchSuffix = 5.1.0 compat >= 5 + devel:libaudqt$secondaryArchSuffix = 2.1.0 compat >= 2 devel:libaudtag$secondaryArchSuffix = 3.0.0 compat >= 3 " REQUIRES_devel=" @@ -88,7 +89,6 @@ INSTALL() local APP_SIGNATURE="application/x-vnd.qt5-audacious" local MAJOR="`echo "$portVersion" | cut -d. -f1`" local MIDDLE="`echo "$portVersion" | cut -d. -f2`" -# local MINOR="`echo "$portVersion" | cut -d. -f3`" local MINOR="0" local LONG_INFO="$SUMMARY" sed \ diff --git a/media-sound/audacious/patches/audacious-3.10.patchset b/media-sound/audacious/patches/audacious-3.10.patchset new file mode 100644 index 000000000..8b587de1a --- /dev/null +++ b/media-sound/audacious/patches/audacious-3.10.patchset @@ -0,0 +1,36 @@ +From a8774cdb93f973137df4e6ae7d846aa8d0190eac Mon Sep 17 00:00:00 2001 +From: Gerasim Troeglazov <3dEyes@gmail.com> +Date: Sun, 26 Aug 2018 23:22:29 +1000 +Subject: Ugly hack + + +diff --git a/src/audacious/main.cc b/src/audacious/main.cc +index 52ad234..3178f44 100644 +--- a/src/audacious/main.cc ++++ b/src/audacious/main.cc +@@ -25,6 +25,12 @@ + #include + #endif + ++#ifdef __HAIKU__ ++#include ++#include ++#include ++#endif ++ + #define AUD_GLIB_INTEGRATION + #include + #include +@@ -406,5 +412,9 @@ int main (int argc, char * * argv) + aud_cleanup (); + initted = false; + ++#ifdef __HAIKU__ ++ kill (::getpid(), SIGKILL); ++#endif ++ + return EXIT_SUCCESS; + } +-- +2.16.4 +