openbsd-ports/multimedia/gstreamer-0.10/plugins-ugly/Makefile
2012-03-05 15:22:08 +00:00

63 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.30 2012/03/05 15:22:08 ajacoutot Exp $
COMMENT-main = ugly elements for GStreamer
COMMENT-sidplay = sidplay element for GStreamer (plugins-ugly)
COMMENT-lame = lame element for GStreamer (plugins-ugly)
V = 0.10.19
DISTNAME = gst-plugins-ugly-${V}
PKGNAME-main = gstreamer-plugins-ugly-${V}
PKGNAME-sidplay = gstreamer-sidplay-${V}
PKGNAME-lame = gstreamer-lame-${V}
MULTI_PACKAGES = -main -sidplay -lame
PERMIT_PACKAGE_CDROM = Patent issues
PERMIT_DISTFILES_CDROM =Patent issues
MASTER_SITES = ${MASTER_SITE_GST:=gst-plugins-ugly/}
MODULES = devel/gettext
WANTLIB = glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
xml2 m z pcre gstreamer-0.10 ffi
.for i in ${MULTI_PACKAGES}
REGRESS_DEPENDS += ${BASE_PKGPATH},${i}
.endfor
LIB_DEPENDS = ${P}/core>=0.10
RUN_DEPENDS = ${BUILD_PKGPATH}
WANTLIB-main += ${WANTLIB} gstpbutils-0.10
WANTLIB-main += gstriff-0.10 gstaudio-0.10 gstrtsp-0.10 gstsdp-0.10
WANTLIB-main += gsttag-0.10 gstrtp-0.10 gstvideo-0.10 gstinterfaces-0.10
WANTLIB-main += gstbase-0.10 a52 mad dvdread x264 orc-0.4
WANTLIB-main += twolame
LIB_DEPENDS-main = ${LIB_DEPENDS} \
$P/plugins-base \
$P/core>=0.10 \
audio/liba52 \
audio/libmad \
devel/libdvdread \
multimedia/x264>=20100511 \
audio/twolame
RUN_DEPENDS-main = ${MODGETTEXT_RUN_DEPENDS}
WANTLIB-sidplay = ${WANTLIB} gstbase-0.10 stdc++ sidplay
LIB_DEPENDS-sidplay = ${LIB_DEPENDS} \
audio/libsidplay
WANTLIB-lame = ${WANTLIB} mp3lame gstaudio-0.10 gstbase-0.10 gstinterfaces-0.10 gstpbutils-0.10
LIB_DEPENDS-lame = ${LIB_DEPENDS} \
audio/lame
CONFIGURE_ARGS = --disable-amrnb \
--disable-amrwb \
--disable-cdio \
--disable-mpeg2dec
CONFIGURE_ENV += ac_cv_path_PYTHON=""
.include <bsd.port.mk>