libshout.

This commit is contained in:
4fury-c3440d8
2023-01-29 08:29:12 +03:00
parent 24ba310175
commit d59bfc08f5
2 changed files with 27 additions and 16 deletions
+9 -8
View File
@@ -2,16 +2,19 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools from pisi.actionsapi import autotools, pisitools
from pisi.actionsapi import pisitools
i = ''.join([
' --enable-theora',
' --enable-speex',
' --disable-static '
])
def setup(): def setup():
autotools.autoreconf("-fi") autotools.autoreconf("-fi")
autotools.configure("--disable-static \ autotools.configure(i)
--enable-theora \
--enable-speex")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
@@ -20,5 +23,3 @@ def build():
def install(): def install():
autotools.install() autotools.install()
#pisitools.removeDir("/usr/bin")
+16 -6
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>libshout</Name> <Name>libshout</Name>
<Homepage>http://www.icecast.org</Homepage> <Homepage>https://www.icecast.org/</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
@@ -12,7 +12,7 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>A library for communicating with and sending data to an icecast server</Summary> <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> <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="f14bef3072c81de94b512057bedf4d26cc211ae2" type="targz">https://ftp.osuosl.org/pub/xiph/releases/libshout/libshout-2.4.3.tar.gz</Archive> <Archive sha1sum="14231d7eebee4bb01baa5dd0b964cfad77296241" type="targz">https://ftp.osuosl.org/pub/xiph/releases/libshout/libshout-2.4.6.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>libvorbis-devel</Dependency> <Dependency>libvorbis-devel</Dependency>
<Dependency>libogg-devel</Dependency> <Dependency>libogg-devel</Dependency>
@@ -20,9 +20,9 @@
<Dependency>speex-devel</Dependency> <Dependency>speex-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<!--<Patch level="1">libshout-2.2.2-fix_speex.patch</Patch> <!-- <Patch level="1">libshout-2.2.2-fix_speex.patch</Patch> -->
<Patch level="1">libshout-2.2.2-automagic.patch</Patch>--> <!-- <Patch level="1">libshout-2.2.2-automagic.patch</Patch> -->
<Patch level="1">pthread_flag.patch</Patch> <!-- <Patch level="1">pthread_flag.patch</Patch> -->
</Patches> </Patches>
</Source> </Source>
@@ -35,7 +35,10 @@
<Dependency>speex</Dependency> <Dependency>speex</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin/shout</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/ckport</Path>
<Path fileType="manpage">/usr/share/man/man1</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
@@ -59,6 +62,13 @@
</Package> </Package>
<History> <History>
<Update release="6">
<Date>2023-01-27</Date>
<Version>2.4.6</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="5"> <Update release="5">
<Date>2020-01-19</Date> <Date>2020-01-19</Date>
<Version>2.4.3</Version> <Version>2.4.3</Version>