This commit is contained in:
Poyraz76
2015-08-20 18:29:42 +03:00
parent 5518339b70
commit 4c15c7d082
4 changed files with 140 additions and 0 deletions
+24
View File
@@ -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")
@@ -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
+91
View File
@@ -0,0 +1,91 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libshout</Name>
<Homepage>http://www.icecast.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2+</License>
<IsA>library</IsA>
<Summary>A library for communicating with and sending data to an icecast server</Summary>
<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.</Description>
<Archive sha1sum="147c5670939727420d0e2ad6a20468e2c2db1e20" type="targz">http://downloads.us.xiph.org/releases/libshout/libshout-2.3.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>libvorbis-devel</Dependency>
<Dependency>libogg-devel</Dependency>
<Dependency>libtheora-devel</Dependency>
<Dependency>speex-devel</Dependency>
</BuildDependencies>
<Patches>
<!--<Patch level="1">libshout-2.2.2-fix_speex.patch</Patch>
<Patch level="1">libshout-2.2.2-automagic.patch</Patch>-->
<Patch level="1">pthread_flag.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libshout</Name>
<RuntimeDependencies>
<Dependency>libvorbis</Dependency>
<Dependency>libogg</Dependency>
<Dependency>libtheora</Dependency>
<Dependency>speex</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libshout-devel</Name>
<Summary>Development files for libshout</Summary>
<RuntimeDependencies>
<Dependency release="current">libshout</Dependency>
<Dependency>libtheora-devel</Dependency>
<Dependency>libvorbis-devel</Dependency>
<Dependency>libogg-devel</Dependency>
<Dependency>speex-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/aclocal</Path>
<Path fileType="doc">/usr/share/doc/*.c</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-05-25</Date>
<Version>2.3.1</Version>
<Comment>Rebuild.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-20</Date>
<Version>2.3.1</Version>
<Comment>Rebuild Unused</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-31</Date>
<Version>2.3.1</Version>
<Comment>missing dep.</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-29</Date>
<Version>2.3.1</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libshout</Name>
<Summary xml:lang="tr">Icecast sunucusuyla veri alış verişini sağlayan bir kütüphane</Summary>
<Description xml:lang="tr">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.</Description>
</Source>
<Package>
<Name>libshout-devel</Name>
<Summary xml:lang="tr">libshout için geliştirme dosyaları</Summary>
</Package>
</PISI>