openbsd-ports/multimedia/avidemux/Makefile

90 lines
2.2 KiB
Makefile
Raw Normal View History

2013-03-21 04:45:11 -04:00
# $OpenBSD: Makefile,v 1.41 2013/03/21 08:46:33 ajacoutot Exp $
COMMENT= free video editor
V= 2.4.4
DISTNAME= avidemux_${V}
PKGNAME= avidemux-${V}
2012-12-21 07:13:35 -05:00
REVISION= 13
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=avidemux/}
HOMEPAGE= http://fixounet.free.fr/avidemux/
# GPLv2
PERMIT_PACKAGE_CDROM= yes
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xv Xxf86vm atk-1.0 c cairo drm
2010-10-11 04:11:24 -04:00
WANTLIB += expat fontconfig freetype gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 m ogg pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs sndio
WANTLIB += stdc++ xcb xcb-render xcb-shm z gdk_pixbuf-2.0 gdk-x11-2.0
WANTLIB += gtk-x11-2.0 faad mp3lame vorbis vorbisenc xml2 xvidcore
2012-12-21 07:13:35 -05:00
WANTLIB += ffi harfbuzz icudata icule icuuc
MODULES= devel/gettext
2010-11-19 17:28:08 -05:00
RUN_DEPENDS = devel/desktop-file-utils
2009-03-16 15:46:57 -04:00
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
2010-11-19 02:23:05 -05:00
LIB_DEPENDS= x11/gtk+2 \
audio/faad>=2.7 \
2010-11-19 02:23:05 -05:00
audio/lame \
audio/libvorbis \
textproc/libxml \
multimedia/xvidcore \
multimedia/x264
USE_GMAKE= Yes
AUTOCONF_VERSION=2.60
AUTOMAKE_VERSION=1.9
CONFIGURE_STYLE=gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include \
-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib -logg -lm -lz"
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
--enable-xv \
2008-07-11 04:51:40 -04:00
--with-x \
--with-freetype2 \
--with-lame \
--with-fontconfig \
--with-faad2 \
--without-libsdl \
--without-oss \
--without-esd \
--without-arts \
--without-faac \
--without-libdca \
--without-newfaad \
--without-aften \
--without-qt-dir \
--without-qt-includes \
2008-07-11 04:51:40 -04:00
--without-gpt \
--disable-ssse3 \
--disable-altivec
post-patch:
@cd ${WRKSRC} && env \
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
${MAKE_PROGRAM} -f Makefile.dist
pre-build:
@cp ${FILESDIR}/ADM_devicesndio.{cpp,h} ${WRKSRC}/avidemux/ADM_audiodevice/
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/avidemux2.desktop \
${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/avidemux_icon.png \
${PREFIX}/share/pixmaps/avidemux.png
.include <bsd.port.mk>