664c8aafcd
Months (years?) of changes, refer to the source for changelog. Simplify DESCR. Remove -esd subpackage (idea from landry, and ok espie@ naddy@) Remove sunaudio support (solaris) and enable ossaudio to have mixing capabilities (audio still handled with sndio by default). tested on a bulk by jasper@ feedback and sparc64+macppc testing from landry@ "commitski" jasper, ok landry@
118 lines
3.4 KiB
Makefile
118 lines
3.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.49 2009/11/29 09:17:38 ajacoutot Exp $
|
|
|
|
COMMENT-main = good elements for GStreamer
|
|
COMMENT-aalib = aalib element for GStreamer (good)
|
|
COMMENT-dv = dv element for GStreamer (good)
|
|
COMMENT-gdk = gdk pixbuf element for GStreamer (good)
|
|
COMMENT-caca = libcaca element for GStreamer (good)
|
|
COMMENT-soup = libsoup element for GStreamer (good)
|
|
|
|
V = 0.10.17
|
|
DISTNAME = gst-plugins-good-$V
|
|
|
|
PKGNAME-main = gstreamer-plugins-good-$Vv0
|
|
PKGNAME-aalib = gstreamer-aalib-$V
|
|
PKGNAME-dv = gstreamer-dv-$V
|
|
PKGNAME-gdk = gstreamer-gdk-pixbuf-$V
|
|
PKGNAME-caca = gstreamer-libcaca-$V
|
|
PKGNAME-soup = gstreamer-libsoup-$V
|
|
|
|
MULTI_PACKAGES = -main -aalib \
|
|
-dv -gdk -caca -soup
|
|
|
|
MASTER_SITES = ${MASTER_SITE_GST:=gst-plugins-good/}
|
|
|
|
USE_X11 = Yes
|
|
MODULES = devel/gettext \
|
|
devel/gconf2
|
|
|
|
MODGCONF2_LIBDEP= No
|
|
MODGCONF2_SCHEMAS_DIR= gst-plugins
|
|
|
|
.for i in ${MULTI_PACKAGES}
|
|
REGRESS_DEPENDS += ::${BASE_PKGPATH},${i}
|
|
.endfor
|
|
|
|
RUN_DEPENDS = ::${BUILD_PKGPATH}
|
|
WANTLIB = glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
|
|
pcre xml2 m z
|
|
LIB_DEPENDS = gstreamer-0.10,gstbase-0.10:gstreamer->=0.10:$P/core
|
|
|
|
WANTLIB-main = ${WANTLIB} \
|
|
ICE SM X11 Xdamage Xext Xfixes sndio ossaudio \
|
|
gstcontroller-0.10 Xau Xdmcp \
|
|
pthread-stubs xcb Xrender cairo expat \
|
|
fontconfig freetype glitz ogg pixman-1 png \
|
|
stdc++ theora vorbis ORBit-2 dbus-1 dbus-glib-1
|
|
LIB_DEPENDS-main = ${LIB_DEPENDS} \
|
|
${MODGCONF2_LIB_DEPENDS} \
|
|
oil-0.3::devel/liboil \
|
|
gstaudio-0.10,gstinterfaces-0.10,gstnetbuffer-0.10,gstriff-0.10,gstrtp-0.10,gsttag-0.10,gstvideo-0.10,gstfft-0.10,gstrtsp-0.10,gstsdp-0.10,gstpbutils-0.10::$P/plugins-base \
|
|
FLAC.>=9::audio/flac \
|
|
jpeg.>=62::graphics/jpeg \
|
|
tag.>=7::audio/taglib \
|
|
wavpack::audio/wavpack \
|
|
speex::audio/speex \
|
|
gsttag-0.10::$P/plugins-base \
|
|
shout::net/libshout \
|
|
bz2.>=10::archivers/bzip2
|
|
RUN_DEPENDS-main = ${MODGCONF2_RUN_DEPENDS} \
|
|
${MODGETTEXT_RUN_DEPENDS}
|
|
|
|
WANTLIB-aalib= ${WANTLIB} \
|
|
X11 ncurses Xau Xdmcp pthread-stubs xcb
|
|
LIB_DEPENDS-aalib = ${LIB_DEPENDS} \
|
|
aa::graphics/aalib
|
|
|
|
WANTLIB-dv = ${WANTLIB}
|
|
LIB_DEPENDS-dv = ${LIB_DEPENDS} \
|
|
dv::multimedia/libdv \
|
|
gstaudio-0.10,gstinterfaces-0.10::$P/plugins-base
|
|
|
|
WANTLIB-gdk = ${WANTLIB} \
|
|
gio-2.0
|
|
LIB_DEPENDS-gdk = ${LIB_DEPENDS} \
|
|
gdk_pixbuf-2.0::x11/gtk+2 \
|
|
gstvideo-0.10::$P/plugins-base
|
|
|
|
WANTLIB-caca = ${WANTLIB} \
|
|
X11 ncurses Xau Xdmcp pthread-stubs xcb
|
|
LIB_DEPENDS-caca = ${LIB_DEPENDS} \
|
|
caca::graphics/libcaca
|
|
|
|
WANTLIB-soup = ${WANTLIB} \
|
|
ORBit-2 dbus-1 dbus-glib-1 gcrypt gio-2.0 \
|
|
gnome-keyring gnutls gpg-error gsttag-0.10 proxy \
|
|
sqlite3 tasn1
|
|
LIB_DEPENDS-soup = ${LIB_DEPENDS} \
|
|
${MODGCONF2_LIB_DEPENDS} \
|
|
soup-2.4,soup-gnome-2.4::devel/libsoup,-gnome
|
|
|
|
CONFIGURE_ARGS += --with-aalib-prefix=${LOCALBASE} \
|
|
--disable-dv1394 \
|
|
--disable-hal \
|
|
--disable-osx_audio \
|
|
--disable-osx_video \
|
|
--disable-pulse \
|
|
--disable-directsound \
|
|
--disable-sunaudio \
|
|
--disable-esd \
|
|
--disable-esdtest \
|
|
--enable-gst_v4l2 \
|
|
--enable-goom
|
|
CONFIGURE_ENV += ac_cv_path_PYTHON=""
|
|
|
|
post-extract:
|
|
cp -R ${FILESDIR} ${WRKSRC}/ext/libsndio
|
|
|
|
AUTOMAKE_VERSION = 1.9
|
|
BUILD_DEPENDS += ${MODGNU_AUTOMAKE_DEPENDS}
|
|
|
|
# autopoint(1) uses HOME, make sure it exists
|
|
pre-configure:
|
|
cd ${WRKSRC} && HOME=${WRKDIST} AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} AUTOMAKE=automake-${AUTOMAKE_VERSION} \
|
|
NOCONFIGURE="true" ./autogen.sh
|
|
|
|
.include <bsd.port.mk>
|