pianobar: new recipe. (#12111)

This commit is contained in:
OscarL
2025-04-07 16:44:23 +00:00
committed by GitHub
parent db895c4b5e
commit e72bd3f94c

View File

@@ -0,0 +1,67 @@
SUMMARY="A console-based client for the personalized online radio Pandora"
DESCRIPTION="pianobar is a free/open-source, console-based client for the personalized online \
radio Pandora (http://www.pandora.com).
Features:
- play and manage (create, add more music, delete, rename, ...) stations.
- rate songs and explain why they have been selected.
- upcoming songs/song history.
- customize keybindings and text output.
- remote control and eventcmd interface (send tracks to last.fm, for example).
- proxy support for listeners outside the USA."
HOMEPAGE="https://6xq.net/pianobar/"
COPYRIGHT="2008-2014 Lars-Dominik Braun"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://6xq.net/pianobar/pianobar-$portVersion.tar.bz2"
CHECKSUM_SHA256="16f4dd2d64da38690946a9670e59bc72a789cf6a323f792e159bb3a39cf4a7f5"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
pianobar$secondaryArchSuffix = $portVersion
cmd:pianobar = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libao$secondaryArchSuffix
lib:libavcodec$secondaryArchSuffix
lib:libavfilter$secondaryArchSuffix
lib:libavformat$secondaryArchSuffix
lib:libavutil$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libgcrypt$secondaryArchSuffix
lib:libgnutls$secondaryArchSuffix
lib:libjson_c$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libao$secondaryArchSuffix
devel:libavcodec$secondaryArchSuffix
devel:libavfilter$secondaryArchSuffix
devel:libavformat$secondaryArchSuffix
devel:libavutil$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libgcrypt$secondaryArchSuffix
devel:libgnutls$secondaryArchSuffix
devel:libjson_c$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
CC="gcc -std=c99" \
make $jobArgs
}
INSTALL()
{
make PREFIX=$prefix MANDIR=$manDir install
}