lame:moved into main for pisi 2.0

This commit is contained in:
2015-07-22 16:08:46 +03:00
parent 11f2a2a547
commit dfba937a45
5 changed files with 174 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import libtools
from pisi.actionsapi import get
def setup():
autotools.configure("--prefix=/usr \
--enable-nasm \
--enable-shared \
--enable-mp3rtp \
--disable-static \
")
def build():
autotools.make()
def install():
autotools.rawInstall('DESTDIR="%s" pkghtmldir="/%s/%s/html"' % (get.installDIR(), get.docDIR(), get.srcNAME()))
pisitools.dodoc("API", "ChangeLog", "HACKING", "README*", "STYLEGUIDE", "TODO", "USAGE")
pisitools.dohtml("misc/*", "Dll/*")
pisitools.dobin("misc/mlame")
pisitools.remove("/usr/lib/libmp3lame.so")
pisitools.remove("/usr/lib/libmp3lame.so.0")
pisitools.dosym("/usr/lib/libmp3lame.so.0.0.0", "/usr/lib/libmp3lame.so")
pisitools.dosym("/usr/lib/libmp3lame.so.0.0.0", "/usr/lib/libmp3lame.so.0")
@@ -0,0 +1,16 @@
--- lame-3.96/configure.in.ccc 2004-04-11 10:45:19.000000000 -0400
+++ lame-3.96/configure.in 2004-07-26 18:32:21.000000000 -0400
@@ -915,11 +915,9 @@
alpha*-*-linux*)
################################################################
-#### Check if 'ccc' is in our path
+#### Check if we're using Compaq's C Compiler: 'ccc'
################################################################
-if test "`which ccc 2>/dev/null | grep -c ccc`" != "0" ; then
- # Compaq's C Compiler
- CC=ccc
+if test "`echo $CC | sed 's/.*\///'`" = ccc; then
################################################################
#### set 'OPTIMIZATION = -arch host -tune host'
@@ -0,0 +1,24 @@
diff -Nur lame-398-2-old/configure.in lame-398-2/configure.in
--- lame-398-2-old/configure.in 2009-04-23 02:12:46.000000000 +0300
+++ lame-398-2/configure.in 2009-04-23 02:15:06.000000000 +0300
@@ -385,7 +385,7 @@
dnl configure use of features
-AM_PATH_GTK(1.2.0, HAVE_GTK="yes", HAVE_GTK="no")
+HAVE_GTK=no
dnl ElectricFence malloc debugging
AC_MSG_CHECKING(use of ElectricFence malloc debugging)
diff -Nur lame-398-2-old/frontend/Makefile.am lame-398-2/frontend/Makefile.am
--- lame-398-2-old/frontend/Makefile.am 2009-04-23 02:12:46.000000000 +0300
+++ lame-398-2/frontend/Makefile.am 2009-04-23 02:14:07.000000000 +0300
@@ -51,7 +51,7 @@
mp3x_SOURCES = mp3x.c gtkanal.c gpkplotting.c $(common_sources)
endif
-CFLAGS = @CFLAGS@ @GTK_CFLAGS@ @FRONTEND_CFLAGS@ @SNDFILE_CFLAGS@
+CFLAGS = @CFLAGS@ @FRONTEND_CFLAGS@ @SNDFILE_CFLAGS@
LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ @SNDFILE_LIBS@
INCLUDES = -I$(top_srcdir)/libmp3lame -I$(top_srcdir)/include -I$(top_builddir)
+84
View File
@@ -0,0 +1,84 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>lame</Name>
<Homepage>http://lame.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>A free MP3 encoder/decoder</Summary>
<Description>LAME is an MPEG Audio Layer III (MP3) encoder licensed under the LGPL.</Description>
<Archive sha1sum="03a0bfa85713adcc6b3383c12e2cc68a9cfbf4c4" type="targz">mirrors://sourceforge/lame/lame-3.99.5.tar.gz</Archive>
<BuildDependencies>
<Dependency>ncurses-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>lame</Name>
<RuntimeDependencies>
<Dependency>ncurses</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>lame-docs</Name>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>lame-devel</Name>
<Summary>Development files for lame</Summary>
<RuntimeDependencies>
<Dependency release="current">lame</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<!-- FIXME: Remove this if not necessary -->
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-12-14</Date>
<Version>3.99.5</Version>
<Comment>Rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-05-21</Date>
<Version>3.99.5</Version>
<Comment>Rebuild</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-29</Date>
<Version>3.99.5</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-31</Date>
<Version>3.99.5</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>lame</Name>
<Summary xml:lang="tr">MP3 ses çözümleme kütüphanesi</Summary>
<Description xml:lang="tr">Lame, Kısıtlı Genel Kamu lisansı altında lisanslanmış MPEG III(MP3) kod çözücüsüdür.</Description>
</Source>
<Package>
<Name>lame-devel</Name>
<Summary xml:lang="tr">lame için geliştirme dosyaları</Summary>
</Package>
</PISI>