summaryrefslogtreecommitdiff
path: root/extra/faad2
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-11-06 20:10:41 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-11-06 20:10:41 -0300
commit385fda403f286573a778ee525fe56a86d11fc967 (patch)
tree1aabb3a26d366ffa745a559409bcbe91b04dc240 /extra/faad2
parent922fd0a3c35beb57adbef0b4c4c122dd29563c97 (diff)
parentfbe5d27eadf86b85244a5ffff62c132cb9a4a158 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/adns/PKGBUILD community/afpfs-ng/PKGBUILD community/aqbanking/PKGBUILD community/arp-scan/PKGBUILD community/arpack/PKGBUILD community/bind/PKGBUILD community/bird/PKGBUILD community/cairo-dock/PKGBUILD community/cinnamon-control-center/PKGBUILD community/commoncpp2/PKGBUILD community/cuetools/PKGBUILD community/erlang/PKGBUILD community/fxdesktop/PKGBUILD community/gavl/PKGBUILD community/google-gadgets/PKGBUILD community/gpicview/PKGBUILD community/gtk-aurora-engine/PKGBUILD community/icewm-utils/PKGBUILD community/inotify-tools/PKGBUILD community/jack2/PKGBUILD community/judy/PKGBUILD community/lash/PKGBUILD community/libdlna/PKGBUILD community/libgexiv2/PKGBUILD community/libgig/PKGBUILD community/liblinebreak/PKGBUILD community/liblockfile/PKGBUILD community/libopenraw/PKGBUILD community/librcd/PKGBUILD community/librsync/PKGBUILD community/libvirt/PKGBUILD community/libyaml/PKGBUILD community/linux-tools/PKGBUILD community/lomoco/PKGBUILD community/luasec/PKGBUILD community/luasocket/PKGBUILD community/lwp/PKGBUILD community/lxappearance-obconf/PKGBUILD community/lxappearance/PKGBUILD community/lxsplit/PKGBUILD community/metamail/PKGBUILD community/mg/PKGBUILD community/nemo-fileroller/PKGBUILD community/nsd/PKGBUILD community/obby/PKGBUILD community/openarena/PKGBUILD community/opensc/PKGBUILD community/osmo/PKGBUILD community/perl-json-xs/PKGBUILD community/pyqt3/PKGBUILD community/python-pymongo/PKGBUILD community/python-pytables/PKGBUILD community/qscintilla-qt3/PKGBUILD community/qtcurve-gtk2/PKGBUILD community/qtcurve-kde4/PKGBUILD community/rxvt-unicode/PKGBUILD community/smalltalk/PKGBUILD community/xmlrpc-c/PKGBUILD community/xpad/PKGBUILD community/xsettings-client/PKGBUILD community/yaws/PKGBUILD core/bzip2/PKGBUILD core/gcc/PKGBUILD core/glibc/PKGBUILD core/keyutils/PKGBUILD core/ldns/PKGBUILD core/libmpc/PKGBUILD core/librpcsecgss/PKGBUILD core/libtool/PKGBUILD core/lvm2/PKGBUILD core/lzo2/PKGBUILD core/openssl/PKGBUILD core/systemd/PKGBUILD core/sysvinit-tools/PKGBUILD cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD extra/aalib/PKGBUILD extra/aiksaurus/PKGBUILD extra/alsa-oss/PKGBUILD extra/alsa-tools/PKGBUILD extra/apache/PKGBUILD extra/autopano-sift-c/PKGBUILD extra/avahi/PKGBUILD extra/cfitsio/PKGBUILD extra/clamav/PKGBUILD extra/compface/PKGBUILD extra/dotconf/PKGBUILD extra/enca/PKGBUILD extra/eventlog/PKGBUILD extra/exiv2/PKGBUILD extra/faad2/PKGBUILD extra/fcgi/PKGBUILD extra/ffcall/PKGBUILD extra/ffmpeg/PKGBUILD extra/flac/PKGBUILD extra/fltk/PKGBUILD extra/freealut/PKGBUILD extra/freetds/PKGBUILD extra/gc/PKGBUILD extra/gdome2/PKGBUILD extra/giblib/PKGBUILD extra/gmime/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/gnome-python-extras/PKGBUILD extra/gnome-speech/PKGBUILD extra/graphviz/PKGBUILD extra/gsasl/PKGBUILD extra/gsl/PKGBUILD extra/gtkspell/PKGBUILD extra/gupnp-igd/PKGBUILD extra/htdig/PKGBUILD extra/hugin/PKGBUILD extra/id3lib/PKGBUILD extra/ilmbase/PKGBUILD extra/imagemagick/PKGBUILD extra/iptraf-ng/PKGBUILD extra/jade/PKGBUILD extra/jasper/PKGBUILD extra/kdesdk-thumbnailers/PKGBUILD extra/kdevelop-php/PKGBUILD extra/lablgtk/PKGBUILD extra/lame/PKGBUILD extra/lcms2/PKGBUILD extra/lesstif/PKGBUILD extra/libaio/PKGBUILD extra/libart-lgpl/PKGBUILD extra/libass/PKGBUILD extra/libasyncns/PKGBUILD extra/libavc1394/PKGBUILD extra/libbluray/PKGBUILD extra/libcaca/PKGBUILD extra/libcddb/PKGBUILD extra/libchamplain/PKGBUILD extra/libdca/PKGBUILD extra/libdv/PKGBUILD extra/libglade/PKGBUILD extra/libgtkhtml/PKGBUILD extra/libice/PKGBUILD extra/libid3tag/PKGBUILD extra/libidl2/PKGBUILD extra/libieee1284/PKGBUILD extra/libjpeg-turbo/PKGBUILD extra/liblo/PKGBUILD extra/libmad/PKGBUILD extra/libmikmod/PKGBUILD extra/libmowgli/PKGBUILD extra/libmpd/PKGBUILD extra/libmpdclient/PKGBUILD extra/libofa/PKGBUILD extra/liboil/PKGBUILD extra/libotf/PKGBUILD extra/libpeas/PKGBUILD extra/libqalculate/PKGBUILD extra/libraw1394/PKGBUILD extra/libsndfile/PKGBUILD extra/libstroke/PKGBUILD extra/libvncserver/PKGBUILD extra/libxkbui/PKGBUILD extra/libxss/PKGBUILD extra/libytnef/PKGBUILD extra/libzvt/PKGBUILD extra/lynx/PKGBUILD extra/lzo/PKGBUILD extra/mariadb/PKGBUILD extra/mesa/PKGBUILD extra/mhash/PKGBUILD extra/musicbrainz/PKGBUILD extra/ocaml/PKGBUILD extra/openal/PKGBUILD extra/openmpi/PKGBUILD extra/pavucontrol/PKGBUILD extra/perl-dbi/PKGBUILD extra/phonon-vlc/PKGBUILD extra/phonon/PKGBUILD extra/ppl/PKGBUILD extra/progsreiserfs/PKGBUILD extra/pulseaudio/PKGBUILD extra/pycurl/PKGBUILD extra/pyopenssl/PKGBUILD extra/pyxml/PKGBUILD extra/qt4/PKGBUILD extra/qt5/PKGBUILD extra/qtwebkit/PKGBUILD extra/schroedinger/PKGBUILD extra/sdl_gfx/PKGBUILD extra/signon/PKGBUILD extra/slang/PKGBUILD extra/sofia-sip/PKGBUILD extra/spandsp/PKGBUILD extra/speech-dispatcher/PKGBUILD extra/sqlite/PKGBUILD extra/t1lib/PKGBUILD extra/taglib/PKGBUILD extra/tidyhtml/PKGBUILD extra/totem/PKGBUILD extra/unixodbc/PKGBUILD extra/vigra/PKGBUILD extra/virtuoso/PKGBUILD extra/wavpack/PKGBUILD extra/webkitgtk/PKGBUILD extra/webrtc-audio-processing/PKGBUILD extra/xfce4-mailwatch-plugin/PKGBUILD extra/xine-lib/PKGBUILD extra/xmms/PKGBUILD extra/xorg-server/PKGBUILD extra/yajl/PKGBUILD extra/yasm/PKGBUILD extra/zenity/PKGBUILD extra/zziplib/PKGBUILD libre/blackbox-libre/PKGBUILD libre/linux-libre/PKGBUILD libre/sdl-libre/PKGBUILD
Diffstat (limited to 'extra/faad2')
-rw-r--r--extra/faad2/LICENSE42
-rw-r--r--extra/faad2/PKGBUILD34
-rw-r--r--extra/faad2/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch13
-rw-r--r--extra/faad2/faad2-2.7-libmp4ff-shared-lib.patch29
-rw-r--r--extra/faad2/faad2-2.7-man1_MANS.patch10
5 files changed, 74 insertions, 54 deletions
diff --git a/extra/faad2/LICENSE b/extra/faad2/LICENSE
deleted file mode 100644
index a16abf6e3..000000000
--- a/extra/faad2/LICENSE
+++ /dev/null
@@ -1,42 +0,0 @@
-__________
-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!
-
-
-______
diff --git a/extra/faad2/PKGBUILD b/extra/faad2/PKGBUILD
index 6c051bddc..08c5cdf06 100644
--- a/extra/faad2/PKGBUILD
+++ b/extra/faad2/PKGBUILD
@@ -1,29 +1,39 @@
-# $Id: PKGBUILD 149405 2012-02-07 15:27:21Z eric $
+# $Id: PKGBUILD 197236 2013-10-24 15:27:20Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=faad2
pkgver=2.7
-pkgrel=3.2
+pkgrel=4
pkgdesc="ISO AAC audio decoder"
arch=('i686' 'x86_64' 'mips64el')
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)
+options=('!makeflags')
+source=(http://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.bz2
+ faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch
+ faad2-2.7-libmp4ff-shared-lib.patch
+ faad2-2.7-man1_MANS.patch)
sha1sums=('b0e80481d27ae9faf9e46c8c8dfb617a0adb91b5'
- '00edd9b30d8d5098b5e91c03c595d96a3bbe56fd')
+ '1cf28cfd32dbae6cc484b149fd6adfea33506544'
+ '247658aa795cd6d44a153fae8c5cb62e427f3ecf'
+ '4b548a08f7611a5f4f395c7c1d4cef5e37368af2')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}/faad2-2.7-libmp4ff-shared-lib.patch"
+ patch -p0 -i "${srcdir}/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch"
+ patch -p1 -i "${srcdir}/faad2-2.7-man1_MANS.patch"
+ autoreconf --force --install
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make CFLAGS="${CFLAGS} -fPIC"
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" manmdir=/usr/share/man/man1 install
- mv "${pkgdir}/usr/share/man/man1/faad.man" "${pkgdir}/usr/share/man/man1/faad.1"
- install -D -m644 common/mp4ff/mp4ff_int_types.h "${pkgdir}/usr/include/mp4ff_int_types.h"
- install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
}
diff --git a/extra/faad2/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch b/extra/faad2/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch
new file mode 100644
index 000000000..5d39cad95
--- /dev/null
+++ b/extra/faad2/faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch
@@ -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
+
diff --git a/extra/faad2/faad2-2.7-libmp4ff-shared-lib.patch b/extra/faad2/faad2-2.7-libmp4ff-shared-lib.patch
new file mode 100644
index 000000000..56a131192
--- /dev/null
+++ b/extra/faad2/faad2-2.7-libmp4ff-shared-lib.patch
@@ -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 \
diff --git a/extra/faad2/faad2-2.7-man1_MANS.patch b/extra/faad2/faad2-2.7-man1_MANS.patch
new file mode 100644
index 000000000..9c1ddb01b
--- /dev/null
+++ b/extra/faad2/faad2-2.7-man1_MANS.patch
@@ -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