openbsd-ports/multimedia/mjpegtools/Makefile

66 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.30 2012/06/20 08:45:37 jasper Exp $
COMMENT= tools to edit/modify/encode video streams
DISTNAME= mjpegtools-2.0.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mjpeg/}
SHARED_LIBS= lavfile 5.0 \
lavjpeg 5.0 \
lavplay 5.0 \
mjpegutils 5.0 \
mpeg2encpp 6.0 \
mplex2 6.0 \
HOMEPAGE= http://mjpeg.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= GL SDL SDL_gfx X11 Xau Xcomposite Xcursor Xdamage \
Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm \
atk-1.0 c cairo drm dv expat ffi fontconfig freetype \
gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 \
gobject-2.0 gthread-2.0 gtk-x11-2.0 jpeg m pango-1.0 \
pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread \
pthread-stubs sndio stdc++ usbhid xcb xcb-render \
xcb-shm z
MODULES= devel/gettext
2010-11-19 02:23:05 -05:00
LIB_DEPENDS= sdl-*-!no_x11:devel/sdl \
devel/sdl-gfx \
2010-11-19 02:23:05 -05:00
graphics/jpeg \
graphics/png \
multimedia/libdv \
2010-11-19 02:23:05 -05:00
x11/gtk+2 \
2006-01-09 21:23:37 -05:00
USE_LIBTOOL= Yes
USE_GROFF= Yes
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.68
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-x \
--without-v4l
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FLAVORS= quicktime optimized
FLAVOR?=
.if !${FLAVOR:L:Moptimized}
CONFIGURE_ARGS+= --disable-simd-accel
.endif
.if ${FLAVOR:L:Mquicktime}
2010-11-22 04:30:38 -05:00
LIB_DEPENDS += multimedia/libquicktime
WANTLIB+= quicktime>=2
.else
2010-11-11 06:19:10 -05:00
CONFIGURE_ARGS += --without-libquicktime
.endif
.include <bsd.port.mk>