2012-06-20 04:45:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2012/06/20 08:45:37 jasper Exp $
|
2004-07-09 07:58:39 -04:00
|
|
|
|
2007-09-15 23:24:28 -04:00
|
|
|
COMMENT= tools to edit/modify/encode video streams
|
2004-07-09 07:58:39 -04:00
|
|
|
|
2012-06-20 04:45:37 -04:00
|
|
|
DISTNAME= mjpegtools-2.0.0
|
2004-07-09 07:58:39 -04:00
|
|
|
CATEGORIES= multimedia
|
2012-06-20 04:45:37 -04:00
|
|
|
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 \
|
2004-07-09 07:58:39 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://mjpeg.sourceforge.net/
|
|
|
|
|
2009-01-29 19:41:24 -05:00
|
|
|
# GPLv2+
|
2004-07-09 07:58:39 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2012-06-20 04:45:37 -04:00
|
|
|
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
|
2006-02-03 00:08:41 -05:00
|
|
|
|
2012-06-20 04:45:37 -04:00
|
|
|
MODULES= devel/gettext
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS= sdl-*-!no_x11:devel/sdl \
|
2012-06-20 04:45:37 -04:00
|
|
|
devel/sdl-gfx \
|
2010-11-19 02:23:05 -05:00
|
|
|
graphics/jpeg \
|
|
|
|
graphics/png \
|
2012-06-20 04:45:37 -04:00
|
|
|
multimedia/libdv \
|
2010-11-19 02:23:05 -05:00
|
|
|
x11/gtk+2 \
|
2004-07-09 07:58:39 -04:00
|
|
|
|
2006-01-09 21:23:37 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2012-06-20 04:45:37 -04:00
|
|
|
USE_GROFF= Yes
|
|
|
|
CONFIGURE_STYLE= autoconf
|
|
|
|
AUTOCONF_VERSION= 2.68
|
2006-02-03 00:08:41 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
2009-03-04 15:21:57 -05:00
|
|
|
--with-x \
|
2012-06-20 04:45:37 -04:00
|
|
|
--without-v4l
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2004-07-09 07:58:39 -04:00
|
|
|
|
|
|
|
FLAVORS= quicktime optimized
|
|
|
|
FLAVOR?=
|
|
|
|
|
2012-06-20 04:45:37 -04:00
|
|
|
.if !${FLAVOR:L:Moptimized}
|
2006-02-03 00:08:41 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-simd-accel
|
2004-07-09 07:58:39 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mquicktime}
|
2010-11-22 04:30:38 -05:00
|
|
|
LIB_DEPENDS += multimedia/libquicktime
|
2012-06-20 04:45:37 -04:00
|
|
|
WANTLIB+= quicktime>=2
|
2004-07-09 07:58:39 -04:00
|
|
|
.else
|
2010-11-11 06:19:10 -05:00
|
|
|
CONFIGURE_ARGS += --without-libquicktime
|
2004-07-09 07:58:39 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|