2012-01-25 09:06:43 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.63 2012/01/25 14:06:43 ajacoutot Exp $
|
2008-05-13 11:11:51 -04:00
|
|
|
|
2009-11-29 04:16:51 -05:00
|
|
|
COMMENT-main = bad elements for GStreamer
|
2010-07-24 03:35:08 -04:00
|
|
|
COMMENT-neon = neon element for GStreamer (plugins-bad)
|
2010-07-26 12:33:29 -04:00
|
|
|
COMMENT-mjpeg = mplex+mpeg2enc elements for GStreamer (plugins-bad)
|
2008-05-13 11:11:51 -04:00
|
|
|
|
2011-05-15 04:32:37 -04:00
|
|
|
V = 0.10.22
|
2010-03-21 07:26:01 -04:00
|
|
|
DISTNAME = gst-plugins-bad-${V}
|
2009-09-28 15:52:14 -04:00
|
|
|
|
2010-06-02 12:56:46 -04:00
|
|
|
PKGNAME-main = gstreamer-plugins-bad-${V}
|
2010-03-21 07:26:01 -04:00
|
|
|
PKGNAME-neon = gstreamer-neon-${V}
|
|
|
|
PKGNAME-mjpeg = gstreamer-mjpeg-${V}
|
2010-12-02 09:05:47 -05:00
|
|
|
|
2012-01-25 09:06:43 -05:00
|
|
|
REVISION-main = 6
|
2011-09-16 06:31:20 -04:00
|
|
|
REVISION-neon = 1
|
|
|
|
REVISION-mjpeg = 1
|
2011-05-28 04:15:33 -04:00
|
|
|
|
2009-11-29 04:16:51 -05:00
|
|
|
MULTI_PACKAGES = -main -neon -mjpeg
|
2008-05-13 11:11:51 -04:00
|
|
|
|
2011-03-07 14:43:35 -05:00
|
|
|
SHARED_LIBS += gstphotography-0.10 1.0 # .0.0
|
|
|
|
SHARED_LIBS += gstsignalprocessor-0.10 1.0 # .0.0
|
|
|
|
SHARED_LIBS += gstbasevideo-0.10 1.0 # .0.0
|
2008-05-13 11:11:51 -04:00
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_GST:=gst-plugins-bad/}
|
2011-05-15 04:32:37 -04:00
|
|
|
MODULES = devel/gettext \
|
|
|
|
devel/dconf
|
2008-05-13 11:11:51 -04:00
|
|
|
|
|
|
|
WANTLIB = glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 xml2 \
|
2010-12-13 02:56:14 -05:00
|
|
|
z m pcre gstreamer-0.10
|
2009-11-29 04:16:51 -05:00
|
|
|
|
|
|
|
.for i in ${MULTI_PACKAGES}
|
2010-11-19 02:23:05 -05:00
|
|
|
REGRESS_DEPENDS += ${BASE_PKGPATH},${i}
|
2009-11-29 04:16:51 -05:00
|
|
|
.endfor
|
|
|
|
|
2010-11-19 02:23:05 -05:00
|
|
|
LIB_DEPENDS = ${P}/core>=0.10
|
|
|
|
RUN_DEPENDS = ${BUILD_PKGPATH}
|
2011-07-28 02:44:13 -04:00
|
|
|
BUILD_DEPENDS += audio/ladspa \
|
|
|
|
graphics/libexif
|
2008-05-13 11:11:51 -04:00
|
|
|
|
2011-07-01 18:25:58 -04:00
|
|
|
WANTLIB-main += ${WANTLIB}
|
|
|
|
WANTLIB-main += BPM GL SDL SoundTouch X11 Xau Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB-main += Xrender Xxf86vm ass bz2 cairo cdaudio croco-0.6 crypto
|
2011-07-04 20:54:47 -04:00
|
|
|
WANTLIB-main += curl dca drm dvdnav dvdread enca expat fontconfig
|
2011-07-01 18:25:58 -04:00
|
|
|
WANTLIB-main += freetype gdk_pixbuf-2.0 gio-2.0 gsm gstaudio-0.10 gstbase-0.10
|
|
|
|
WANTLIB-main += gstcontroller-0.10 gstinterfaces-0.10 gstpbutils-0.10
|
|
|
|
WANTLIB-main += gstriff-0.10 gstrtp-0.10 gstsdp-0.10 gsttag-0.10 gstvideo-0.10
|
|
|
|
WANTLIB-main += idn jasper lrdf mms mpcdec orc-0.4 pango-1.0 pangocairo-1.0
|
|
|
|
WANTLIB-main += pangoft2-1.0 pixman-1 png pthread-stubs raptor rsvg-2
|
|
|
|
WANTLIB-main += schroedinger-1.0 sndfile sndio ssl stdc++ usbhid vpx
|
2011-07-04 20:54:47 -04:00
|
|
|
WANTLIB-main += xcb xcb-render xcb-shm xslt
|
2011-07-01 18:25:58 -04:00
|
|
|
|
2011-06-24 05:42:39 -04:00
|
|
|
LIB_DEPENDS-main = ${LIB_DEPENDS} \
|
2010-11-19 02:23:05 -05:00
|
|
|
${P}/plugins-base \
|
|
|
|
audio/gsm \
|
|
|
|
audio/libcdaudio \
|
|
|
|
audio/libdca \
|
|
|
|
audio/libmpcdec \
|
|
|
|
audio/libsndfile \
|
|
|
|
audio/soundtouch \
|
|
|
|
devel/sdl \
|
|
|
|
graphics/jasper \
|
2011-07-01 18:25:58 -04:00
|
|
|
multimedia/libass \
|
2010-11-19 02:23:05 -05:00
|
|
|
multimedia/libmms \
|
2010-12-06 14:15:55 -05:00
|
|
|
multimedia/libvpx \
|
2010-11-19 03:59:32 -05:00
|
|
|
multimedia/schroedinger>=1.0.10 \
|
2010-11-19 02:23:05 -05:00
|
|
|
x11/gnome/librsvg \
|
2011-01-07 05:12:30 -05:00
|
|
|
multimedia/libdvdnav>=4.1.3p0v0 \
|
|
|
|
textproc/liblrdf
|
2009-11-29 04:16:51 -05:00
|
|
|
|
2011-05-15 04:32:37 -04:00
|
|
|
RUN_DEPENDS-main = ${MODGETTEXT_RUN_DEPENDS} \
|
|
|
|
${MODDCONF_RUN_DEPENDS}
|
2008-06-01 03:19:05 -04:00
|
|
|
|
2008-05-13 11:11:51 -04:00
|
|
|
WANTLIB-neon = ${WANTLIB} \
|
2010-07-22 15:19:26 -04:00
|
|
|
gstbase-0.10 neon \
|
2008-11-13 08:14:51 -05:00
|
|
|
crypto expat ssl asn1 gssapi krb5
|
2008-05-13 11:11:51 -04:00
|
|
|
LIB_DEPENDS-neon = ${LIB_DEPENDS} \
|
2010-11-19 02:23:05 -05:00
|
|
|
net/neon
|
2007-01-13 06:23:38 -05:00
|
|
|
|
2009-11-29 04:16:51 -05:00
|
|
|
WANTLIB-mjpeg = ${WANTLIB} \
|
2010-12-02 09:05:47 -05:00
|
|
|
gstbase-0.10 stdc++ mjpegutils-1.9 mpeg2encpp-1.9 mplex2-1.9
|
2009-11-29 04:16:51 -05:00
|
|
|
LIB_DEPENDS-mjpeg = ${LIB_DEPENDS} \
|
2010-11-19 02:23:05 -05:00
|
|
|
multimedia/mjpegtools
|
2008-10-01 04:02:58 -04:00
|
|
|
|
2009-11-29 04:16:51 -05:00
|
|
|
CONFIGURE_ENV = ac_cv_path_PYTHON=""
|
|
|
|
CONFIGURE_ARGS = --disable-acm \
|
2011-06-24 05:42:39 -04:00
|
|
|
--disable-alsa \
|
2007-01-11 13:12:36 -05:00
|
|
|
--disable-amrwb \
|
2009-11-29 04:16:51 -05:00
|
|
|
--disable-celt \
|
|
|
|
--disable-cog \
|
2011-06-24 05:42:39 -04:00
|
|
|
--disable-dc1394 \
|
2009-11-29 04:16:51 -05:00
|
|
|
--disable-dirac \
|
|
|
|
--disable-directdraw \
|
2011-06-24 05:42:39 -04:00
|
|
|
--disable-directfb \
|
2009-11-29 04:16:51 -05:00
|
|
|
--disable-directsound \
|
2007-01-11 13:12:36 -05:00
|
|
|
--disable-divx \
|
2008-06-30 18:43:16 -04:00
|
|
|
--disable-dvb \
|
2011-06-24 05:42:39 -04:00
|
|
|
--disable-dvdspu \
|
2011-07-04 20:54:47 -04:00
|
|
|
--disable-faac \
|
|
|
|
--disable-faad \
|
2009-11-29 04:16:51 -05:00
|
|
|
--disable-fbdev \
|
|
|
|
--disable-gme \
|
|
|
|
--disable-kate \
|
|
|
|
--disable-lv2 \
|
|
|
|
--disable-mimic \
|
|
|
|
--disable-modplug \
|
2011-06-24 05:42:39 -04:00
|
|
|
--disable-musicbrainz \
|
2009-11-29 04:16:51 -05:00
|
|
|
--disable-mythtv \
|
|
|
|
--disable-nas \
|
2011-06-24 05:42:39 -04:00
|
|
|
--disable-ofa \
|
|
|
|
--disable-opencv \
|
2009-11-29 04:16:51 -05:00
|
|
|
--disable-osx_video \
|
2011-06-24 05:42:39 -04:00
|
|
|
--disable-quicktime \
|
2010-06-24 16:50:40 -04:00
|
|
|
--disable-real \
|
2007-01-11 13:12:36 -05:00
|
|
|
--disable-spc \
|
2011-06-24 05:42:39 -04:00
|
|
|
--disable-vcd \
|
2009-11-29 04:16:51 -05:00
|
|
|
--disable-vdpau \
|
2008-06-30 18:43:16 -04:00
|
|
|
--disable-wildmidi \
|
2009-11-29 04:16:51 -05:00
|
|
|
--disable-wininet \
|
2011-07-04 20:54:47 -04:00
|
|
|
--disable-xvid \
|
2011-06-24 05:42:39 -04:00
|
|
|
--disable-zbar
|
2009-11-29 04:16:51 -05:00
|
|
|
|
|
|
|
# XXX subpackage?
|
2011-04-20 15:28:30 -04:00
|
|
|
# swfdec not before it's ported from 0.3 to 0.8 API
|
2009-11-29 04:16:51 -05:00
|
|
|
CONFIGURE_ARGS += --disable-timidity \
|
|
|
|
--disable-swfdec
|
2007-01-11 13:12:36 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|