Commit 4026e7d2 authored by Neofytos Kolokotronis's avatar Neofytos Kolokotronis

faad2: rebuilt for multimedia group

parent d7ae5121
2009-02-16 Eric Belanger <eric@archlinux.org>
* faad2 2.7-1
* Upstream update
* Updated LICENSE file
* Compiled with -fPIC option
2009-01-05 Eric Belanger <eric@archlinux.org>
* faad2 2.6.1-2
* Applied security patch
2008-07-19 Eric Belanger <eric@archlinux.org>
* faad2 2.6.1-1
* Upstream update
* Patched to fix libtool build problem :
faad2-2.6.1-libtool22.patch
* Patched to make faad2 exit if output pipe breaks :
faad2-2.6.1-broken-pipe.patch
* Patched to fix include file implicit declaration :
faad2-2.6.1-implicitdeclar.patch
* Patched to bump soname (symbols have been changed) :
faad2-2.6.1-abi_has_changed.patch
* Updated license
* Added ChangeLog
__________
COPYRIGHTS
For FAAD2 the following license applies:
******************************************************************************
** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
**
** Any non-GPL usage of this software or parts of this software is strictly
** forbidden.
**
** The "appropriate copyright message" mentioned in section 2c of the GPLv2
** must read: "Code from FAAD2 is copyright (c) Nero AG, www.nero.com"
**
** Commercial non-GPL licensing of this software is possible.
** For more info contact Nero AG through Mpeg4AAClicense@nero.com.
******************************************************************************
Please note that the use of this software may require the payment of
patent royalties. You need to consider this issue before you start
building derivative works. We are not warranting or indemnifying you in
any way for patent royalities! YOU ARE SOLELY RESPONSIBLE FOR YOUR OWN
ACTIONS!
______
# $Id: PKGBUILD 27494 2009-02-22 04:26:47Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/faad2
pkgname=faad2
pkgver=2.7
pkgrel=1
pkgrel=2
pkgdesc="ISO AAC audio decoder"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.audiocoding.com/"
license=('custom:GPL')
license=('GPL')
depends=('glibc')
options=('!libtool' '!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.bz2 LICENSE)
md5sums=('4c332fa23febc0e4648064685a3d4332' 'ec95f38142e14fb46c849503897a37a0')
sha1sums=('b0e80481d27ae9faf9e46c8c8dfb617a0adb91b5' '00edd9b30d8d5098b5e91c03c595d96a3bbe56fd')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.bz2
libmp4ff-install-mp4ff_int_types_h.patch
libmp4ff-shared-lib.patch
man1_MANS.patch)
sha1sums=('b0e80481d27ae9faf9e46c8c8dfb617a0adb91b5'
'970fe01640f5543f7926884b2b4003a9f6dbd61a'
'b3932d8adc08927cab7bdc6a8c6ed0c3beee211f'
'a8d9b3487803a484494a39ca166c61130dfd3df6')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/libmp4ff-shared-lib.patch"
patch -p0 -i "${srcdir}/libmp4ff-install-mp4ff_int_types_h.patch"
patch -p1 -i "${srcdir}/man1_MANS.patch"
autoreconf --force --install
}
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr || return 1
make CFLAGS="${CFLAGS} -fPIC" || return 1
make DESTDIR=${pkgdir} manmdir=/usr/share/man/man1 install || return 1
install -m644 common/mp4ff/mp4ff_int_types.h ${pkgdir}/usr/include/mp4ff_int_types.h || return 1
install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
mv ${pkgdir}/usr/share/man/man1/faad.man ${pkgdir}/usr/share/man/man1/faad.1
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make CFLAGS="${CFLAGS} -fPIC"
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
\ No newline at end of file
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
\ No newline at end of file
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 \
\ No newline at end of file
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
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment