mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
libmpdclient: bump (#2223)
This commit is contained in:
@@ -2,19 +2,23 @@ SUMMARY="A library for interfacing 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."
|
||||
HOMEPAGE="http://www.musicpd.org/"
|
||||
COPYRIGHT="2003-2017 The Music Player Daemon Project"
|
||||
HOMEPAGE="https://www.musicpd.org/"
|
||||
COPYRIGHT="2003-2018 The Music Player Daemon Project"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/MusicPlayerDaemon/libmpdclient/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="e1583fbcae89ad543a6cc44caeaf16b31e709831f5b7eac4413f78c54a21db95"
|
||||
CHECKSUM_SHA256="262f1ff13e6ee11cca2ef93f2eda10ec6953a7b8e628572645e707fe530fbbb6"
|
||||
SOURCE_FILENAME="libmpdclient-$portVersion.tar.gz"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libmpdclient$secondaryArchSuffix = $portVersion
|
||||
lib:libmpdclient$secondaryArchSuffix = 2.0.13 compat >= 2
|
||||
lib:libmpdclient$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -22,7 +26,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libmpdclient${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libmpdclient$secondaryArchSuffix = 2.0.13 compat >= 2
|
||||
devel:libmpdclient$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libmpdclient$secondaryArchSuffix == $portVersion base
|
||||
@@ -41,9 +45,12 @@ BUILD_PREREQUIRES="
|
||||
cmd:ninja
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libmpdclient$secondaryArchSuffix \
|
||||
$libDir/libmpdclient.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
rm -rf build_haiku || true
|
||||
rm -rf build_haiku
|
||||
mkdir -p build_haiku; cd build_haiku
|
||||
|
||||
export LDFLAGS="-lnetwork"
|
||||
@@ -61,7 +68,7 @@ INSTALL()
|
||||
|
||||
mkdir -p $docDir
|
||||
mv $prefix/share/doc/libmpdclient/* $docDir
|
||||
rm -rf $prefix/share || true
|
||||
rm -rf $prefix/share
|
||||
|
||||
# prepare devel/lib
|
||||
prepareInstalledDevelLibs libmpdclient
|
||||
Reference in New Issue
Block a user