musicpc: bump version (#847)

This commit is contained in:
miqlas
2016-11-09 11:11:57 +01:00
committed by Jérôme Duval
parent bd514d33a1
commit 2c1420ae07

View File

@@ -0,0 +1,64 @@
SUMMARY="A commandline client for Music Player Daemon"
DESCRIPTION="
Music Player Daemon (MPD) is a flexible, powerful, server-side application \
for playing music. Through plugins and libraries it can play a variety \
of sound files while being controlled by its network protocol.
MPC is a commandline client for Music Player Daemon."
HOMEPAGE="http://www.musicpd.org/"
COPYRIGHT="2003-2014 The Music Player Daemon Project"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.musicpd.org/download/mpc/0/mpc-$portVersion.tar.xz"
CHECKSUM_SHA256="a4337d06c85dc81a638821d30fce8a137a58d13d510be34a11c1cce95cabc547"
SOURCE_DIR="mpc-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
musicpc$secondaryArchSuffix = $portVersion
cmd:mpc$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libmpdclient$secondaryArchSuffix
glib2_x86 >= 2
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
boost${secondaryArchSuffix}_devel
devel:libmpdclient$secondaryArchSuffix
glib2${secondaryArchSuffix}_devel
devel:libiconv$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:ranlib$secondaryArchSuffix
cmd:sed
cmd:find
"
BUILD()
{
export PKG_CONFIG_LIBDIR="`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir/pkgconfig"
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
export PKG_CONFIG_LIBDIR="`finddir B_SYSTEM_DIRECTORY`/$relativeDevelopLibDir/pkgconfig"
make install
}