mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
Audacious: bump version
This commit is contained in:
@@ -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 \
|
||||
36
media-sound/audacious/patches/audacious-3.10.patchset
Normal file
36
media-sound/audacious/patches/audacious-3.10.patchset
Normal file
@@ -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 <windows.h>
|
||||
#endif
|
||||
|
||||
+#ifdef __HAIKU__
|
||||
+#include <unistd.h>
|
||||
+#include <sys/types.h>
|
||||
+#include <signal.h>
|
||||
+#endif
|
||||
+
|
||||
#define AUD_GLIB_INTEGRATION
|
||||
#include <libaudcore/audstrings.h>
|
||||
#include <libaudcore/drct.h>
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user