diff options
Diffstat (limited to 'multimedia/miro/Makefile')
-rw-r--r-- | multimedia/miro/Makefile | 45 |
1 files changed, 8 insertions, 37 deletions
diff --git a/multimedia/miro/Makefile b/multimedia/miro/Makefile index e2acee44840..ecb48446398 100644 --- a/multimedia/miro/Makefile +++ b/multimedia/miro/Makefile @@ -6,8 +6,7 @@ # PORTNAME= miro -PORTVERSION= 2.5.4 -PORTREVISION= 5 +PORTVERSION= 3.0.2 CATEGORIES= multimedia MASTER_SITES= ftp://ftp.osuosl.org/pub/pculture.org/miro/src/ \ http://ftp.osuosl.org/pub/pculture.org/miro/src/ @@ -17,26 +16,22 @@ COMMENT= A video player to get internet TV broadcasts BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex \ update-mime-database:${PORTSDIR}/misc/shared-mime-info -LIB_DEPENDS= boost_python.4:${PORTSDIR}/devel/boost-python-libs \ - xine.1:${PORTSDIR}/multimedia/libxine RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb \ ${PYTHON_SITELIBDIR}/pysqlite2/_sqlite.so:${PORTSDIR}/databases/py-pysqlite23 \ ${PYTHON_SITELIBDIR}/dbus/glib.py:${PORTSDIR}/devel/py-dbus \ ${PYTHON_SITELIBDIR}/gtk-2.0/pynotify/_pynotify.so:${PORTSDIR}/devel/py-notify \ - convert:${PORTSDIR}/graphics/ImageMagick + ${PYTHON_SITELIBDIR}/libtorrent.so:${PORTSDIR}/net-p2p/libtorrent-rasterbar-15-python \ + ${PYTHON_SITELIBDIR}/webkit/webkit.so:${PORTSDIR}/www/py-webkitgtk BUILD_WRKSRC= ${WRKSRC}/platform/gtk-x11 INSTALL_WRKSRC= ${WRKSRC}/platform/gtk-x11 CONFLICTS= Miro-[0-9]* -USE_GCC= 4.4+ -USE_GNOME= gtk20 pygnomeextras -USE_GECKO= libxul seamonkey -USE_OPENSSL= yes -USE_PYTHON= yes -WANT_GSTREAMER= yes +USE_GNOME= gconf2 gtk20 +USE_GSTREAMER= python USE_GETTEXT= yes +USE_PYTHON= yes USE_PYDISTUTILS= yes MAKE_ENV= CPPFLAGS="${CPPFLAGS}" INSTALLS_ICONS= yes @@ -49,32 +44,12 @@ CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} .include <bsd.port.pre.mk> -.if defined(WITH_GSTREAMER) -USE_GSTREAMER+= python -.endif - -.if defined(GECKO) && ${GECKO:Mlibxul}!="" -CPPFLAGS+= -D_WCHAR_T_DECLARED -XPCOM_LIB= ${GECKO} -GTKMOZEMBED_LIB=${GECKO} -XULRUNNER_19= True -.else -XPCOM_LIB= ${GECKO}-xpcom -GTKMOZEMBED_LIB=${GECKO}-gtkmozembed -XULRUNNER_19= False -.endif - .SILENT: post-patch: .for file in setup.py plat/resources.py - ${REINPLACE_CMD} -e 's|%%XPCOM_RUNTIME_PATH%%|${LOCALBASE}/lib/${GECKO}|g ; \ - s|%%XPCOM_LIB%%|${XPCOM_LIB}|g ; \ - s|%%GTKMOZEMBED_LIB%%|${GTKMOZEMBED_LIB}|g ; \ - s|%%XULRUNNER_19%%|${XULRUNNER_19}|g ; \ - s|%%LOCALBASE%%|${LOCALBASE}|g ; \ - s|%%CC%%|${CC}|g ; \ - s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g ; \ + ${REINPLACE_CMD} -e \ + 's|%%LOCALBASE%%|${LOCALBASE}|g ; \ s|%%PREFIX%%|${PREFIX}|g ; \ s|%%MANPREFIX%%|${MANPREFIX}|g' \ ${BUILD_WRKSRC}/${file} @@ -87,10 +62,6 @@ post-patch: ${REINPLACE_CMD} -e 's|^PREFIX=.*|PREFIX=${PREFIX}|g' \ ${BUILD_WRKSRC}/${file} .endfor -.for file in plat/renderers/xinerenderer.py - ${REINPLACE_CMD} -e 's|lib/miro|libexec/miro|g' \ - ${BUILD_WRKSRC}/${file} -.endfor .if defined(MAINTAINER_MODE) regression-test: install |