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:
115
media-sound/audacious/audacious-4.0.3.recipe
Normal file
115
media-sound/audacious/audacious-4.0.3.recipe
Normal file
@@ -0,0 +1,115 @@
|
||||
SUMMARY="An Advanced Audio Player"
|
||||
DESCRIPTION="Audacious is an open source audio player. A descendant of XMMS, \
|
||||
Audacious plays your music how you want it, without stealing away your \
|
||||
computer’s resources from other tasks. Drag and drop folders and individual \
|
||||
song files, search for artists and albums in your entire music library, or \
|
||||
create and edit your own custom playlists. Listen to CD’s or stream music \
|
||||
from the Internet. Tweak the sound with the graphical equalizer or experiment \
|
||||
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-2020 Błażej Szczygieł"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/audacious-media-player/audacious/archive/audacious-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a54aaebaff00ca90549b4ae9cc5e4d11bd482e5f03bba9f5c713130818c6cea3"
|
||||
SOURCE_DIR="audacious-audacious-$portVersion"
|
||||
PATCHES="audacious-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="audacious.rdef.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
audacious$secondaryArchSuffix = $portVersion
|
||||
app:Audacious$secondaryArchSuffix = $portVersion
|
||||
lib:libaudcore$secondaryArchSuffix = 5.2.0 compat >= 5
|
||||
lib:libaudqt$secondaryArchSuffix = 2.2.0 compat >= 2
|
||||
lib:libaudtag$secondaryArchSuffix = 3.0.0 compat >= 3
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgio_2.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgmodule_2.0$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
audacious${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libaudcore$secondaryArchSuffix = 5.2.0 compat >= 5
|
||||
devel:libaudqt$secondaryArchSuffix = 2.2.0 compat >= 2
|
||||
devel:libaudtag$secondaryArchSuffix = 3.0.0 compat >= 3
|
||||
"
|
||||
REQUIRES_devel="
|
||||
audacious$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autom4te
|
||||
cmd:awk
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix >= 5
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
runConfigure ./configure \
|
||||
--disable-gtk \
|
||||
--enable-qt \
|
||||
--disable-dbus \
|
||||
--enable-valgrind
|
||||
make $jobArgs
|
||||
true
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
make install
|
||||
rm -rf $binDir/audacious
|
||||
cp src/audacious/audacious $appsDir/Audacious
|
||||
|
||||
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 LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/audacious.rdef.in > audacious.rdef
|
||||
|
||||
addResourcesToBinaries audacious.rdef $appsDir/Audacious
|
||||
mimeset -f $appsDir/Audacious
|
||||
addAppDeskbarSymlink $appsDir/Audacious
|
||||
|
||||
fixPkgconfig
|
||||
prepareInstalledDevelLibs libaudtag libaudqt libaudcore
|
||||
packageEntries devel $developDir
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user