From 5bdf56eab7da3d10df3f38717b34fa32d18c5023 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 7 Aug 2016 21:34:03 +0000 Subject: [PATCH] libshout: added recipe for version 2.4.1. --- media-libs/libshout/libshout-2.4.1.recipe | 77 +++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 media-libs/libshout/libshout-2.4.1.recipe diff --git a/media-libs/libshout/libshout-2.4.1.recipe b/media-libs/libshout/libshout-2.4.1.recipe new file mode 100644 index 000000000..b13d70f4f --- /dev/null +++ b/media-libs/libshout/libshout-2.4.1.recipe @@ -0,0 +1,77 @@ +SUMMARY="Portable Network Graphics library" +DESCRIPTION="Libshout is a library for communicating with and sending data to \ +an icecast server. It handles the socket connection, the timing of the \ +data, and prevents bad data from getting to the icecast server." +HOMEPAGE="http://www.icecast.org/" +COPYRIGHT="2002-2012 the Icecast team + 2011,2012 Xiph.Org Foundation + 2012-2015 Philipp Schafft + 2014 Michael Smith + 2014 Brendan Cully + 1995-1997 by Sam Rushing" +LICENSE="GNU LGPL v2.1" +REVISION="1" +SOURCE_URI="http://downloads.xiph.org/releases/libshout/libshout-$portVersion.tar.gz" +CHECKSUM_SHA256="f3acb8dec26f2dbf6df778888e0e429a4ce9378a9d461b02a7ccbf2991bbf24d" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + libshout$secondaryArchSuffix = $portVersion + lib:libshout$secondaryArchSuffix = 3.2.0 compat >= 3 + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libvorbis$secondaryArchSuffix + " + +PROVIDES_devel=" + libshout${secondaryArchSuffix}_devel = $portVersion + devel:libshout$secondaryArchSuffix = 3.2.0 compat >= 3 + " +REQUIRES_devel=" + libshout$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libvorbis$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf + cmd:automake + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + autoreconf -fi + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + + rm $libDir/libshout.la + + prepareInstalledDevelLibs libshout + fixPkgconfig + + # devel package + packageEntries devel \ + $developDir \ + $dataDir +} + +TEST() +{ + make check +}