ports/73023: [PATCH] multimedia/avidemux2: add faac support
Anish Mistry
mistry.7 at osu.edu
Sun Oct 24 22:20:34 UTC 2004
The following reply was made to PR ports/73023; it has been noted by GNATS.
From: Anish Mistry <mistry.7 at osu.edu>
To: FreeBSD-gnats-submit at freebsd.org
Cc:
Subject: Re: ports/73023: [PATCH] multimedia/avidemux2: add faac support
Date: Sun, 24 Oct 2004 18:13:20 -0400
--Boundary-00=_HkCfBlbduK2q3yu
Content-Type: multipart/signed;
boundary="nextPart1645597.ZzsZT9s5ee";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
--nextPart1645597.ZzsZT9s5ee
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Updated patch.
=2D-=20
Anish Mistry
--nextPart1645597.ZzsZT9s5ee
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)
iD8DBQBBfCkHxqA5ziudZT0RArdJAJ0czp/RxzfNAo9yObAyXMzv1CNuIQCeIzWw
XXIXd82oOo1rTnY0JT0nUXs=
=Jafm
-----END PGP SIGNATURE-----
--nextPart1645597.ZzsZT9s5ee--
--Boundary-00=_HkCfBlbduK2q3yu
Content-Type: text/x-diff;
charset="iso-8859-1";
name="faac.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="faac.patch"
--- Makefile.orig Thu Oct 21 20:58:44 2004
+++ Makefile Sat Oct 23 01:02:39 2004
@@ -7,6 +7,7 @@
PORTNAME= avidemux2
PORTVERSION= 2.0.32
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://fixounet.free.fr/avidemux/ \
http://download.berlios.de/avidemux/
@@ -43,6 +44,10 @@
#WITH_SDL= yes
#.endif
+.if exists(${LOCALBASE}/lib/libfaac.so.0)
+WITH_FAAC= yes
+.endif
+
.if exists(${LOCALBASE}/lib/libfaad.so.0)
WITH_FAAD= yes
.endif
@@ -82,6 +87,10 @@
USE_SDL+= sdl
.endif
+.if defined(WITH_FAAC)
+LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac
+.endif
+
.if defined(WITH_FAAD)
LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad
.endif
@@ -103,8 +112,12 @@
@${ECHO_MSG} "To enable SDL support define WITH_SDL."
.endif
+.if !defined(WITH_FAAC)
+ @${ECHO_MSG} "To enable FAAC (mpeg4/aac encoder) support define WITH_FAAC."
+.endif
+
.if !defined(WITH_FAAD)
- @${ECHO_MSG} "To enable FAAD (mpeg4/aac) support define WITH_FAAD."
+ @${ECHO_MSG} "To enable FAAD (mpeg4/aac decoder) support define WITH_FAAD."
.endif
post-patch:
--Boundary-00=_HkCfBlbduK2q3yu--
More information about the freebsd-ports-bugs
mailing list