openbsd-ports/multimedia/gstreamer-0.10/plugins-bad/Makefile
2011-04-20 19:28:30 +00:00

121 lines
3.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.52 2011/04/20 19:28:30 jasper Exp $
COMMENT-main = bad elements for GStreamer
COMMENT-neon = neon element for GStreamer (plugins-bad)
COMMENT-mjpeg = mplex+mpeg2enc elements for GStreamer (plugins-bad)
V = 0.10.21
DISTNAME = gst-plugins-bad-${V}
PKGNAME-main = gstreamer-plugins-bad-${V}
PKGNAME-neon = gstreamer-neon-${V}
PKGNAME-mjpeg = gstreamer-mjpeg-${V}
MULTI_PACKAGES = -main -neon -mjpeg
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
MASTER_SITES = ${MASTER_SITE_GST:=gst-plugins-bad/}
MODULES = devel/gettext
WANTLIB = glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 xml2 \
z m pcre gstreamer-0.10
.for i in ${MULTI_PACKAGES}
REGRESS_DEPENDS += ${BASE_PKGPATH},${i}
.endfor
LIB_DEPENDS = ${P}/core>=0.10
RUN_DEPENDS = ${BUILD_PKGPATH}
BUILD_DEPENDS += audio/ladspa
WANTLIB-main = ${WANTLIB} xcb-render \
X11 Xau Xdmcp Xrender bz2 pthread-stubs \
sndio usbhid xcb gstbase-0.10 gstcontroller-0.10 \
cairo croco-0.6 expat fontconfig freetype stdc++ \
gdk_pixbuf-2.0 gio-2.0 gstinterfaces-0.10 \
orc-0.4 pango-1.0 pangocairo-1.0 gstaudio-0.10 \
pangoft2-1.0 pixman-1 png dvdread gstvideo-0.10 \
gstriff-0.10 gstpbutils-0.10 gstrtp-0.10 gstsdp-0.10 \
gsttag-0.10 sndfile mpcdec faac faad dca xvidcore \
SDL mms gsm rsvg-2 schroedinger-1.0>=2.0 cdaudio BPM \
SoundTouch dvdnav jasper GL Xdamage Xext Xfixes Xxf86vm \
drm xcb-shm vpx crypto curl idn lrdf raptor ssl xslt
LIB_DEPENDS-main = ${LIB_DEPENDS} \
${P}/plugins-base \
audio/faac \
audio/faad \
audio/gsm \
audio/libcdaudio \
audio/libdca \
audio/libmpcdec \
audio/libsndfile \
audio/soundtouch \
devel/sdl \
graphics/jasper \
graphics/libexif \
multimedia/libmms \
multimedia/libvpx \
multimedia/schroedinger>=1.0.10 \
multimedia/xvidcore \
x11/gnome/librsvg \
multimedia/libdvdnav>=4.1.3p0v0 \
textproc/liblrdf
RUN_DEPENDS-main = ${MODGETTEXT_RUN_DEPENDS}
WANTLIB-neon = ${WANTLIB} \
gstbase-0.10 neon \
crypto expat ssl asn1 gssapi krb5
LIB_DEPENDS-neon = ${LIB_DEPENDS} \
net/neon
WANTLIB-mjpeg = ${WANTLIB} \
gstbase-0.10 stdc++ mjpegutils-1.9 mpeg2encpp-1.9 mplex2-1.9
LIB_DEPENDS-mjpeg = ${LIB_DEPENDS} \
multimedia/mjpegtools
CONFIGURE_ENV = ac_cv_path_PYTHON=""
CONFIGURE_ARGS = --disable-acm \
--disable-amrwb \
--disable-celt \
--disable-dc1394 \
--disable-cog \
--disable-directfb \
--disable-dirac \
--disable-directdraw \
--disable-directsound \
--disable-divx \
--disable-dvb \
--disable-fbdev \
--disable-jack \
--disable-gme \
--disable-alsa \
--disable-kate \
--disable-lv2 \
--disable-mimic \
--disable-modplug \
--disable-mythtv \
--disable-ofa \
--disable-nas \
--disable-osx_video \
--disable-real \
--disable-spc \
--disable-vdpau \
--disable-wildmidi \
--disable-wininet \
--disable-vcd \
--disable-dvdspu \
--disable-quicktime \
--disable-musicbrainz \
--disable-zbar
# XXX subpackage?
# swfdec not before it's ported from 0.3 to 0.8 API
CONFIGURE_ARGS += --disable-timidity \
--disable-swfdec
.include <bsd.port.mk>