From e223120f2bbba619089d03eea3e9d26d75603296 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Sat, 25 Jun 2005 17:22:05 +0000 Subject: - Add support for muine audio player plugin * allows you to write your playlist directly from Muine. --- sysutils/serpentine/Makefile | 24 +++++++++++++++++++++++- sysutils/serpentine/pkg-descr | 1 + sysutils/serpentine/pkg-plist | 2 ++ 3 files changed, 26 insertions(+), 1 deletion(-) (limited to 'sysutils') diff --git a/sysutils/serpentine/Makefile b/sysutils/serpentine/Makefile index 4cd4a0acad1b..ce43279b2bb0 100644 --- a/sysutils/serpentine/Makefile +++ b/sysutils/serpentine/Makefile @@ -26,4 +26,26 @@ USE_GMAKE= yes USE_GSTREAMER= core USE_PYTHON= 2.4+ -.include +OPTIONS= MUINE "Cd-Burner Plugin for muine audio player" Off + +.include + +.if defined(WITH_MUINE) || exists(${X11BASE}/bin/muine) +BUILD_DEPENDS+= muine:${PORTSDIR}/audio/muine +RUN_DEPENDS+= muine:${PORTSDIR}/audio/muine +PLIST_SUB+= MUINE="" +.else +PLIST_SUB+= MUINE="@comment " +.endif + +.if defined(WITH_MUINE) || exists(${X11BASE}/bin/muine) +post-build: + cd ${WRKSRC}/muine-plugin && ${GMAKE} + +post-install: + ${MKDIR} ${PREFIX}/lib/muine/plugins + ${INSTALL_DATA} ${WRKSRC}/muine-plugin/SerpentinePlugin.dll \ + ${PREFIX}/lib/muine/plugins +.endif + +.include diff --git a/sysutils/serpentine/pkg-descr b/sysutils/serpentine/pkg-descr index 7a0aae597090..22350b404149 100644 --- a/sysutils/serpentine/pkg-descr +++ b/sysutils/serpentine/pkg-descr @@ -9,5 +9,6 @@ usability and compability. Its features are: o Supports drag and drop: drop musics directly from Rhythmbox or Nautilus! o Clean and easy to use interface o Easy integration with other applications + o Muine plugin: allows you to write your playlist directly from Muine. WWW: http://s1x.homelinux.net/projects/serpentine diff --git a/sysutils/serpentine/pkg-plist b/sysutils/serpentine/pkg-plist index 50b2069305ba..6de5fc9bc027 100644 --- a/sysutils/serpentine/pkg-plist +++ b/sysutils/serpentine/pkg-plist @@ -1,4 +1,5 @@ bin/serpentine +%%MUINE%%lib/muine/plugins/SerpentinePlugin.dll %%PYTHON_SITELIBDIR%%/serpentine/__init__.py %%PYTHON_SITELIBDIR%%/serpentine/__init__.pyc %%PYTHON_SITELIBDIR%%/serpentine/__init__.pyo @@ -74,5 +75,6 @@ share/applications/serpentine.desktop @unexec rmdir %D/share/applications 2> /dev/null || true @dirrm %%PYTHON_SITELIBDIR%%/serpentine/plugins @dirrm %%PYTHON_SITELIBDIR%%/serpentine +%%MUINE%%@unexec rmdir %D/lib/muine/plugins 2> /dev/null || true @unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2> /dev/null || true @unexec rmdir %D/%%PYTHON_LIBDIR%% 2> /dev/null || true -- cgit v1.2.3