library for sound and video
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#!/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 get
|
||||
|
||||
|
||||
def setup():
|
||||
#pisitools.dosed("libfaad/Makefile.am", "iquote ", "I")
|
||||
autotools.autoreconf("-vfi")
|
||||
|
||||
autotools.configure("--without-xmms \
|
||||
--with-drm \
|
||||
--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "README.linux", "TODO")
|
||||
@@ -0,0 +1,13 @@
|
||||
Install mp4ff_int_types.h for mythmusic.
|
||||
|
||||
http://bugs.gentoo.org/275008
|
||||
|
||||
--- common/mp4ff/Makefile.am
|
||||
+++ common/mp4ff/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
lib_LTLIBRARIES = libmp4ff.la
|
||||
-include_HEADERS = mp4ff.h mp4ffint.h
|
||||
+include_HEADERS = mp4ff.h mp4ffint.h mp4ff_int_types.h
|
||||
|
||||
AM_CFLAGS = -DUSE_TAGGING=1
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
Ripped from Debian
|
||||
|
||||
Patch to create a shared lib for libmp4ff.
|
||||
|
||||
--- a/common/mp4ff/Makefile.am
|
||||
+++ b/common/mp4ff/Makefile.am
|
||||
@@ -1,7 +1,8 @@
|
||||
-lib_LIBRARIES = libmp4ff.a
|
||||
+lib_LTLIBRARIES = libmp4ff.la
|
||||
include_HEADERS = mp4ff.h mp4ffint.h
|
||||
|
||||
-libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
|
||||
+AM_CFLAGS = -DUSE_TAGGING=1
|
||||
|
||||
-libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
|
||||
+libmp4ff_la_LDFLAGS = -version-info 0:0:0
|
||||
+libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
|
||||
mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h
|
||||
--- a/frontend/Makefile.am
|
||||
+++ b/frontend/Makefile.am
|
||||
@@ -5,7 +5,7 @@
|
||||
-I$(top_srcdir)/common/mp4ff
|
||||
|
||||
faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
|
||||
- $(top_builddir)/common/mp4ff/libmp4ff.a
|
||||
+ $(top_builddir)/common/mp4ff/libmp4ff.la
|
||||
|
||||
faad_SOURCES = main.c \
|
||||
audio.c audio.h \
|
||||
@@ -0,0 +1,10 @@
|
||||
diff -ur faad2-2.7.orig/frontend/Makefile.am faad2-2.7/frontend/Makefile.am
|
||||
--- faad2-2.7.orig/frontend/Makefile.am 2009-02-06 18:03:37.000000000 +0200
|
||||
+++ faad2-2.7/frontend/Makefile.am 2009-07-20 20:27:29.000000000 +0300
|
||||
@@ -1,5 +1,5 @@
|
||||
bin_PROGRAMS = faad
|
||||
-man_MANS = faad.man
|
||||
+man1_MANS = faad.man
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/faad \
|
||||
-I$(top_srcdir)/common/mp4ff
|
||||
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>faad2</Name>
|
||||
<Homepage>http://www.audiocoding.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>MPEG2 and MPEG4 AAC decoder</Summary>
|
||||
<Description>FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder.</Description>
|
||||
<Archive sha1sum="b0e80481d27ae9faf9e46c8c8dfb617a0adb91b5" type="tarbz2">mirrors://sourceforge/faac/faad2-2.7.tar.bz2</Archive>
|
||||
<!--BuildDependencies>
|
||||
<Dependency>libmp4v2-devel</Dependency>
|
||||
</BuildDependencies-->
|
||||
<Patches>
|
||||
<Patch level="1">faad2-2.7-libmp4ff-shared-lib.patch</Patch>
|
||||
<Patch level="1">faad2-2.7-man1_MANS.patch</Patch>
|
||||
<Patch>faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>faad2</Name>
|
||||
<!--RuntimeDependencies>
|
||||
<Dependency>libmp4v2</Dependency>
|
||||
</RuntimeDependencies-->
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc/faad2</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>faad2-devel</Name>
|
||||
<Summary>Development files for faad2</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">faad2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>2.7</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-23</Date>
|
||||
<Version>2.7</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>2.7</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>faad2</Name>
|
||||
<Summary xml:lang="tr">AAC yorumlayıcı</Summary>
|
||||
<Description xml:lang="tr">FAAD2 bir HE, LC, MAIN ve LTP profil, MPEG2 ve MPEG4 AAC çözücüdür.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>faad2-devel</Name>
|
||||
<Summary xml:lang="tr">faad2 için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user