From e72bd3f94cbcc2c4a4f9c333ed4502d72d4e61ad Mon Sep 17 00:00:00 2001 From: OscarL Date: Mon, 7 Apr 2025 16:44:23 +0000 Subject: [PATCH] pianobar: new recipe. (#12111) --- .../pianobar/pianobar-2024.12.21.recipe | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 media-sound/pianobar/pianobar-2024.12.21.recipe diff --git a/media-sound/pianobar/pianobar-2024.12.21.recipe b/media-sound/pianobar/pianobar-2024.12.21.recipe new file mode 100644 index 000000000..60b5dedcb --- /dev/null +++ b/media-sound/pianobar/pianobar-2024.12.21.recipe @@ -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 +}