From 4c15c7d08298a1467702fad928bd6d4aa45accbf Mon Sep 17 00:00:00 2001 From: Poyraz76 Date: Thu, 20 Aug 2015 18:29:42 +0300 Subject: [PATCH] libshout --- multimedia/misc/libshout/actions.py | 24 +++++ .../misc/libshout/files/pthread_flag.patch | 12 +++ multimedia/misc/libshout/pspec.xml | 91 +++++++++++++++++++ multimedia/misc/libshout/translations.xml | 13 +++ 4 files changed, 140 insertions(+) create mode 100644 multimedia/misc/libshout/actions.py create mode 100644 multimedia/misc/libshout/files/pthread_flag.patch create mode 100644 multimedia/misc/libshout/pspec.xml create mode 100644 multimedia/misc/libshout/translations.xml diff --git a/multimedia/misc/libshout/actions.py b/multimedia/misc/libshout/actions.py new file mode 100644 index 0000000000..5c1f92a108 --- /dev/null +++ b/multimedia/misc/libshout/actions.py @@ -0,0 +1,24 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt. + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools + +def setup(): + autotools.autoreconf("-fi") + autotools.configure("--disable-static \ + --enable-theora \ + --enable-speex") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.install() + + #pisitools.removeDir("/usr/bin") diff --git a/multimedia/misc/libshout/files/pthread_flag.patch b/multimedia/misc/libshout/files/pthread_flag.patch new file mode 100644 index 0000000000..ecf7495836 --- /dev/null +++ b/multimedia/misc/libshout/files/pthread_flag.patch @@ -0,0 +1,12 @@ +diff -Naur libshout-2.2.2.orig/m4/acx_pthread.m4 libshout-2.2.2/m4/acx_pthread.m4 +--- libshout-2.2.2.orig/m4/acx_pthread.m4 2009-04-23 03:28:22.000000000 +0300 ++++ libshout-2.2.2/m4/acx_pthread.m4 2009-04-23 04:01:37.000000000 +0300 +@@ -62,7 +62,7 @@ + # pthread-config: use pthread-config program (for GNU Pth library) + + case "${host_cpu}-${host_os}" in +- *solaris*) ++ *solaris*|*linux*) + + # On Solaris (at least, for some versions), libc contains stubbed + # (non-functional) versions of the pthreads routines, so link-based diff --git a/multimedia/misc/libshout/pspec.xml b/multimedia/misc/libshout/pspec.xml new file mode 100644 index 0000000000..70176713ee --- /dev/null +++ b/multimedia/misc/libshout/pspec.xml @@ -0,0 +1,91 @@ + + + + + libshout + http://www.icecast.org + + PisiLinux Community + admins@pisilinux.org + + LGPLv2+ + library + A library for communicating with and sending data to an icecast server + 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. + http://downloads.us.xiph.org/releases/libshout/libshout-2.3.1.tar.gz + + libvorbis-devel + libogg-devel + libtheora-devel + speex-devel + + + + pthread_flag.patch + + + + + libshout + + libvorbis + libogg + libtheora + speex + + + /usr/lib + /usr/share/doc + + + + + libshout-devel + Development files for libshout + + libshout + libtheora-devel + libvorbis-devel + libogg-devel + speex-devel + + + /usr/include + /usr/lib/pkgconfig + /usr/share/aclocal + /usr/share/doc/*.c + + + + + + 2014-05-25 + 2.3.1 + Rebuild. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-02-20 + 2.3.1 + Rebuild Unused + Varol Maksutoğlu + waroi@pisilinux.org + + + 2013-07-31 + 2.3.1 + missing dep. + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2012-08-29 + 2.3.1 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/multimedia/misc/libshout/translations.xml b/multimedia/misc/libshout/translations.xml new file mode 100644 index 0000000000..62d0fd48b1 --- /dev/null +++ b/multimedia/misc/libshout/translations.xml @@ -0,0 +1,13 @@ + + + + libshout + Icecast sunucusuyla veri alış verişini sağlayan bir kütüphane + Libshout, Icecast sunucusuyla iletişimi ve veri alış verişini sağlar. Verilerin zamanlamasını ve gerekli soket bağlantılarını kontrol ederek, sunucu üzerinde hatalı veri transferini önler. + + + + libshout-devel + libshout için geliştirme dosyaları + +