openbsd-ports/x11/gnome/totem/Makefile

110 lines
3.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.58 2011/04/07 19:12:29 ajacoutot Exp $
2010-04-22 07:20:02 -04:00
COMMENT= official media player for GNOME
GNOME_PROJECT= totem
2010-09-30 03:47:06 -04:00
GNOME_VERSION= 2.32.0
REVISION= 2
CATEGORIES= multimedia
2009-07-12 16:32:02 -04:00
HOMEPAGE= http://projects.gnome.org/totem/
# GPLv2 with exception clause - LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xtst Xxf86vm
WANTLIB += atk-1.0 c cairo dbus-1 dbus-glib-1 expat ffi fontconfig
WANTLIB += freetype gcrypt gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
2010-10-11 04:11:24 -04:00
WANTLIB += glib-2.0 gmime-2.4 gmodule-2.0 gnome-keyring
WANTLIB += gobject-2.0 gpg-error gstbase-0.10 gstreamer-0.10
WANTLIB += gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
WANTLIB += soup-2.4 soup-gnome-2.4 sqlite3 unique-1.0
WANTLIB += util xcb xml2 z xcb-render GL drm xcb-shm
WANTLIB += gstaudio-0.10 gstinterfaces-0.10 gstpbutils-0.10 gstvideo-0.10
WANTLIB += gsttag-0.10 totem-plparser nautilus-extension gdata
WANTLIB += ${MODPY_WANTLIB}
MODULES= devel/gettext \
lang/python \
x11/gnome \
devel/gconf2
# XXX make port-lib-depends-check happy (a52 and xklavier libs errors)
# Missing library for a52
# Can't resolve libspec a52
# Can't call method "name" on an undefined value at /usr/libdata/perl5/OpenBSD/PackingList.pm line 371.
2010-11-22 03:36:47 -05:00
BUILD_DEPENDS+= graphics/ffmpeg \
x11/gnome/settings-daemon
2010-11-22 03:36:47 -05:00
BUILD_DEPENDS+= x11/py-gtk2 \
devel/py-gdata \
devel/iso-codes \
multimedia/gstreamer-0.10/plugins-good>=0.10.24p2 \
lang/vala
2010-11-22 03:36:47 -05:00
RUN_DEPENDS+= x11/gnome/settings-daemon \
x11/py-gtk2 \
devel/iso-codes \
x11/gromit \
devel/py-gdata \
devel/py-xdg
LIB_DEPENDS+= ${MODPY_LIB_DEPENDS} \
2010-11-22 03:36:47 -05:00
multimedia/gstreamer-0.10/plugins-base>=0.10.29 \
x11/gnome/totem-pl-parser>=2.28.1 \
x11/gnome/nautilus \
devel/libgdata
# while the following are not "required" for totem to run, there's no
# point in using a media player that can't play most modern media files
2010-11-22 03:36:47 -05:00
RUN_DEPENDS+= multimedia/gstreamer-0.10/plugins-good \
multimedia/gstreamer-0.10/plugins-ffmpeg>=0.10.5
# gst-inspect-0.10 needs to access ${HOME}
PORTHOME= ${WRKDIR}
DESKTOP_FILES= Yes
MODGNOME_HELP_FILES=Yes
MODGCONF2_SCHEMAS_DIR= totem
2010-10-19 04:13:56 -04:00
USE_GROFF = Yes
# Browser bemused lirc mythtv sample-python sample-vala sidebar-test
2010-12-03 10:18:28 -05:00
# publish iplayer pythonconsole coherence_upnp tracker galago
TOTEM_PLUGINS= "gromit media-player-keys ontop properties \
screensaver skipto thumbnail youtube \
opensubtitles jamendo screenshot dbus-service"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include " \
GST_REGISTRY=${WRKDIR}/registry.${MACHINE_ARCH}.bin
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
2010-09-30 03:47:06 -04:00
--disable-gtk-doc \
--with-plugins=${TOTEM_PLUGINS} \
--with-dbus \
--enable-nautilus \
--enable-python \
--enable-vala \
--disable-easy-codec-installation \
--disable-browser-plugins \
--disable-gmp-plugin \
--disable-narrowspace-plugin \
--disable-mully-plugin \
--disable-cone-plugin
# stop systrace spam by avoiding xsltproc to access net
pre-configure:
perl -pi -e 's,xsltproc,xsltproc --nonet,g' \
${WRKSRC}/help/Makefile.in
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/vala/vapi
${INSTALL_DATA} ${WRKSRC}/bindings/vala/totem.vapi ${PREFIX}/share/vala/vapi
${INSTALL_DATA} ${WRKSRC}/bindings/vala/totem.deps ${PREFIX}/share/vala/vapi
.include <bsd.port.mk>