aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2010-12-17 01:39:32 +0800
committernox <nox@FreeBSD.org>2010-12-17 01:39:32 +0800
commit0a0279722c270b56d9247c0e7a088474908d8975 (patch)
treef75fb8849bc2315f99c7314d2120434ed77bcfd4 /multimedia
parentb04ad5e86470cce32b47ef11a8b7496bdd2660b4 (diff)
downloadfreebsd-ports-graphics-0a0279722c270b56d9247c0e7a088474908d8975.tar.gz
freebsd-ports-graphics-0a0279722c270b56d9247c0e7a088474908d8975.tar.zst
freebsd-ports-graphics-0a0279722c270b56d9247c0e7a088474908d8975.zip
- Fix AMR dependencies (and thus, plist outside of tb. avidemux now
uses OpenCORE AMR codecs.) ...or as they say, "If it's not tested, assume it's broken." - Bump PORTREVISIONs. Reported by: Jan Henrik Sylvester via private email
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/avidemux2-plugins/Makefile2
-rw-r--r--multimedia/avidemux2/Makefile2
-rw-r--r--multimedia/avidemux2/Makefile.common17
3 files changed, 7 insertions, 14 deletions
diff --git a/multimedia/avidemux2-plugins/Makefile b/multimedia/avidemux2-plugins/Makefile
index e4ea0c08c71..ff6b5f0cb03 100644
--- a/multimedia/avidemux2-plugins/Makefile
+++ b/multimedia/avidemux2-plugins/Makefile
@@ -7,7 +7,7 @@
PORTNAME= avidemux2
PORTVERSION= ${AVIDEMUX2_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
PKGNAMESUFFIX= -plugins
diff --git a/multimedia/avidemux2/Makefile b/multimedia/avidemux2/Makefile
index bbd7e9ede16..4d352399917 100644
--- a/multimedia/avidemux2/Makefile
+++ b/multimedia/avidemux2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= avidemux2
PORTVERSION= ${AVIDEMUX2_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MAINTAINER= multimedia@FreeBSD.org
diff --git a/multimedia/avidemux2/Makefile.common b/multimedia/avidemux2/Makefile.common
index 2ceef5bc6b7..fc4e5b29428 100644
--- a/multimedia/avidemux2/Makefile.common
+++ b/multimedia/avidemux2/Makefile.common
@@ -49,8 +49,7 @@ OPTIONS= GTK "GTK+ GUI" on \
VPX "VP8 decoding" on \
XVID "Xvid video" on \
SDL "SDL audio/video framework" on \
- AMRNB "3GPP AMR Speech Codec" on \
- AMRWB "3GPP AMR-WB Speech Codec" on \
+ AMR "OpenCORE AMR 3GPP Speech Codecs" on \
VORBIS "OGG/Vorbis audio support" on \
NLS "Native languages support" on
@@ -60,8 +59,7 @@ OPTIONS= GTK "GTK+ GUI" on \
.if defined(PACKAGE_BUILDING)
WITHOUT_LAME= yes
WITHOUT_FAAC= yes
-WITHOUT_AMRNB= yes
-WITHOUT_AMRWB= yes
+WITHOUT_AMR= yes
.endif
# for libexecinfo: (so that __builtin_frame_address() finds the top
@@ -202,19 +200,14 @@ LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
PLIST_SUB+= VORBIS=""
.endif
-.if defined(WITHOUT_AMRNB)
+.if defined(WITHOUT_AMR)
CMAKE_ARGS+= -DOPENCORE_AMRNB:BOOL=OFF
PLIST_SUB+= AMRNB="@comment "
-.else
-LIB_DEPENDS+= amrnb.3:${PORTSDIR}/audio/libamrnb
-PLIST_SUB+= AMRNB=""
-.endif
-
-.if defined(WITHOUT_AMRWB)
CMAKE_ARGS+= -DOPENCORE_AMRWB:BOOL=OFF
PLIST_SUB+= AMRWB="@comment "
.else
-LIB_DEPENDS+= amrnb.3:${PORTSDIR}/audio/libamrwb
+LIB_DEPENDS+= opencore-amrnb.0:${PORTSDIR}/audio/opencore-amr
+PLIST_SUB+= AMRNB=""
PLIST_SUB+= AMRWB=""
.endif