aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-03-23 05:51:48 +0800
committermiwi <miwi@FreeBSD.org>2007-03-23 05:51:48 +0800
commit85a81e3095b28bfe96989d157ae0b4f198afa08a (patch)
tree110421e950500bc03af63910dcee431d54f0d717
parent77ff6791dc06b1882a59eaccc0f102f32e11af03 (diff)
downloadfreebsd-ports-gnome-85a81e3095b28bfe96989d157ae0b4f198afa08a.tar.gz
freebsd-ports-gnome-85a81e3095b28bfe96989d157ae0b4f198afa08a.tar.zst
freebsd-ports-gnome-85a81e3095b28bfe96989d157ae0b4f198afa08a.zip
- Add desktop file
- Fix portlint warnings - drop FreeBSD 4.X support PR: 110644 Submitted by: Pawel Pekala <c0rn@o2.pl> Approved by: maintainer
-rw-r--r--multimedia/avidemux2/Makefile18
-rw-r--r--multimedia/avidemux2/pkg-plist1
2 files changed, 2 insertions, 17 deletions
diff --git a/multimedia/avidemux2/Makefile b/multimedia/avidemux2/Makefile
index cf3c28aad7b5..b5d62b9eb2df 100644
--- a/multimedia/avidemux2/Makefile
+++ b/multimedia/avidemux2/Makefile
@@ -24,6 +24,7 @@ LIB_DEPENDS= mp3lame:${PORTSDIR}/audio/lame \
xml2:${PORTSDIR}/textproc/libxml2
USE_AUTOTOOLS= automake:19:env autoconf:259:env libtool:15 aclocal:19:env
+USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack gtk20
WANT_SDL= yes
@@ -36,6 +37,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include \
CONFIGURE_ARGS= --disable-warnings \
--with-jsapi-include=${LOCALBASE}/include
USE_GMAKE= yes
+DESKTOP_ENTRIES= Avidemux "Simple video editor" "" "avidemux2" "" false
OPTIONS= OPTIMIZED_CFLAGS "build with -O3 for lavcodec" off \
FAAC "FAAC (mpeg4/aac encoder)" off \
FAAD "FAAD (mpeg4/aac decoder)" off \
@@ -104,10 +106,6 @@ LIB_DEPENDS+= x264:${PORTSDIR}/multimedia/x264
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis
.endif
-.if ${OSVERSION} < 500000
-BROKEN= does not compile
-.endif
-
post-extract:
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
${WRKSRC}/avidemux/ADM_mplex/ADM_mplexout.cpp
@@ -126,17 +124,5 @@ post-patch:
.if !defined(WITH_OPTIMIZED_CFLAGS)
@${REINPLACE_CMD} "s|-O3|${CFLAGS}|" ${WRKSRC}/avidemux/ADM_lavcodec/Makefile.am
.endif
-.if ${OSVERSION} < 500000
- @${REINPLACE_CMD} 's|-falign-loops=16||' ${WRKSRC}/configure \
- ${WRKSRC}/avidemux/ADM_lavcodec/Makefile.in \
- ${WRKSRC}/avidemux/ADM_lavcodec/Makefile.in \
- ${WRKSRC}/avidemux/ADM_lavcodec/libpostproc/Makefile.in \
- ${WRKSRC}/avidemux/ADM_lavcodec/libpostproc/Makefile.am
- @${REINPLACE_CMD} 's|-msse||' ${WRKSRC}/configure \
- ${WRKSRC}/avidemux/ADM_lavcodec/Makefile.in \
- ${WRKSRC}/avidemux/ADM_lavcodec/Makefile.am \
- ${WRKSRC}/avidemux/ADM_lavcodec/libpostproc/Makefile.in \
- ${WRKSRC}/avidemux/ADM_lavcodec/libpostproc/Makefile.am
-.endif
.include <bsd.port.post.mk>
diff --git a/multimedia/avidemux2/pkg-plist b/multimedia/avidemux2/pkg-plist
index 82b8bc62e8ab..19ddd8963578 100644
--- a/multimedia/avidemux2/pkg-plist
+++ b/multimedia/avidemux2/pkg-plist
@@ -14,4 +14,3 @@ share/locale/klingon/LC_MESSAGES/avidemux.mo
@dirrmtry share/locale/ru
@dirrmtry share/locale/cs/LC_MESSAGES
@dirrmtry share/locale/cs
-