diff --git a/multimedia/sound/lame/actions.py b/multimedia/sound/lame/actions.py new file mode 100644 index 0000000000..6e0e606b44 --- /dev/null +++ b/multimedia/sound/lame/actions.py @@ -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") \ No newline at end of file diff --git a/multimedia/sound/lame/files/lame-3.96-ccc.patch b/multimedia/sound/lame/files/lame-3.96-ccc.patch new file mode 100644 index 0000000000..684782aa0a --- /dev/null +++ b/multimedia/sound/lame/files/lame-3.96-ccc.patch @@ -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' diff --git a/multimedia/sound/lame/files/really_remove_gtk.patch b/multimedia/sound/lame/files/really_remove_gtk.patch new file mode 100644 index 0000000000..0fd0e03b6e --- /dev/null +++ b/multimedia/sound/lame/files/really_remove_gtk.patch @@ -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) diff --git a/multimedia/sound/lame/pspec.xml b/multimedia/sound/lame/pspec.xml new file mode 100644 index 0000000000..b9a4ebbb55 --- /dev/null +++ b/multimedia/sound/lame/pspec.xml @@ -0,0 +1,84 @@ + + + + + lame + http://lame.sourceforge.net/ + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + app:console + library + A free MP3 encoder/decoder + LAME is an MPEG Audio Layer III (MP3) encoder licensed under the LGPL. + mirrors://sourceforge/lame/lame-3.99.5.tar.gz + + ncurses-devel + + + + + lame + + ncurses + + + /usr/bin + /usr/lib + /usr/share/man + + + + + lame-docs + + /usr/share/doc + + + + + lame-devel + Development files for lame + + lame + + + /usr/include + + /usr/share/man/man3 + + + + + + 2014-12-14 + 3.99.5 + Rebuild. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-05-21 + 3.99.5 + Rebuild + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-01-29 + 3.99.5 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2012-08-31 + 3.99.5 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/multimedia/sound/lame/translations.xml b/multimedia/sound/lame/translations.xml new file mode 100644 index 0000000000..dd2cd53452 --- /dev/null +++ b/multimedia/sound/lame/translations.xml @@ -0,0 +1,13 @@ + + + + lame + MP3 ses çözümleme kütüphanesi + Lame, Kısıtlı Genel Kamu lisansı altında lisanslanmış MPEG III(MP3) kod çözücüsüdür. + + + + lame-devel + lame için geliştirme dosyaları + +