From bd663b6c9de89ec59a5c50248de1a0be4cc071e5 Mon Sep 17 00:00:00 2001 From: pav Date: Sun, 4 Jan 2004 14:12:38 +0000 Subject: Add gdesklets-xmms, a compact desklet to control your XMMS from your GNOME desktop. http://gdesklets.gnomedesktop.org/ --- audio/gdesklets-xmms/Makefile | 49 ++++++++++++++++++++++++++++++++++++++++ audio/gdesklets-xmms/distinfo | 1 + audio/gdesklets-xmms/pkg-descr | 3 +++ audio/gdesklets-xmms/pkg-message | 5 ++++ audio/gdesklets-xmms/pkg-plist | 22 ++++++++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 audio/gdesklets-xmms/Makefile create mode 100644 audio/gdesklets-xmms/distinfo create mode 100644 audio/gdesklets-xmms/pkg-descr create mode 100644 audio/gdesklets-xmms/pkg-message create mode 100644 audio/gdesklets-xmms/pkg-plist (limited to 'audio/gdesklets-xmms') diff --git a/audio/gdesklets-xmms/Makefile b/audio/gdesklets-xmms/Makefile new file mode 100644 index 0000000..79be15b --- /dev/null +++ b/audio/gdesklets-xmms/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: gdesklets-xmms +# Date created: 4 January 2004 +# Whom: Pav Lucistnik +# +# $FreeBSD$ +# + +PORTNAME= xmms +PORTVERSION= 2 +CATEGORIES= audio gnome +MASTER_SITES= http://gdesklets.gnomedesktop.org/files/ +PKGNAMEPREFIX= gdesklets- +EXTRACT_SUFX= .tgz + +MAINTAINER= pav@FreeBSD.org +COMMENT= Compact desklet that allows you to control your XMMS from your desktop + +RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets + +USE_PYTHON= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes + +NAME= XMMS +WRKSRC= ${WRKDIR}/${NAME} +DATADIR= ${PREFIX}/share/gnome +PKGMESSAGE= ${WRKDIR}/pkg-message + +# tarball inside of installator seems corrupted, ignore this error +post-patch: + @${REINPLACE_CMD} -e "s|(fail)|(0)|" ${WRKSRC}/Install_${NAME}_Sensor.bin + +do-build: + @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC} + @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE} + +do-install: + @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx + @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME} + @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/ + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}/ + @${INSTALL_DATA} ${WRKSRC}/Display/*.display ${DATADIR}/gdesklets/Displays/${NAME}/ + @${INSTALL_DATA} ${WRKSRC}/Display/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/ + @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DATADIR}/gdesklets/Displays/${NAME}/ + @${LN} -sf ${DATADIR}/gdesklets/Displays/${NAME}/readme.txt \ + ${DATADIR}/gdesklets/Sensors/${NAME}/readme.txt + @${CAT} ${PKGMESSAGE} + +.include diff --git a/audio/gdesklets-xmms/distinfo b/audio/gdesklets-xmms/distinfo new file mode 100644 index 0000000..5d3065f --- /dev/null +++ b/audio/gdesklets-xmms/distinfo @@ -0,0 +1 @@ +MD5 (xmms-2.tgz) = 64b17f0098fa30d45fc8fe0a6d519d43 diff --git a/audio/gdesklets-xmms/pkg-descr b/audio/gdesklets-xmms/pkg-descr new file mode 100644 index 0000000..b915351 --- /dev/null +++ b/audio/gdesklets-xmms/pkg-descr @@ -0,0 +1,3 @@ +A RSS/RDF feed parser and displayer for gDesklets system. + +WWW: http://gdesklets.gnomedesktop.org/ diff --git a/audio/gdesklets-xmms/pkg-message b/audio/gdesklets-xmms/pkg-message new file mode 100644 index 0000000..7b55a75 --- /dev/null +++ b/audio/gdesklets-xmms/pkg-message @@ -0,0 +1,5 @@ + +To add this desklet to your desktop: + + gdesklets %%PREFIX%%/share/gnome/gdesklets/Displays/%%NAME%%/xmms.display + diff --git a/audio/gdesklets-xmms/pkg-plist b/audio/gdesklets-xmms/pkg-plist new file mode 100644 index 0000000..f13d4cf --- /dev/null +++ b/audio/gdesklets-xmms/pkg-plist @@ -0,0 +1,22 @@ +share/gnome/gdesklets/Displays/XMMS/readme.txt +share/gnome/gdesklets/Displays/XMMS/gfx/gauge_h.png +share/gnome/gdesklets/Displays/XMMS/gfx/left.png +share/gnome/gdesklets/Displays/XMMS/gfx/next.png +share/gnome/gdesklets/Displays/XMMS/gfx/pause.png +share/gnome/gdesklets/Displays/XMMS/gfx/play.png +share/gnome/gdesklets/Displays/XMMS/gfx/prev.png +share/gnome/gdesklets/Displays/XMMS/gfx/right.png +share/gnome/gdesklets/Displays/XMMS/gfx/stop.png +share/gnome/gdesklets/Displays/XMMS/xmms.display +share/gnome/gdesklets/Sensors/XMMS/readme.txt +share/gnome/gdesklets/Sensors/XMMS/__init__.py +share/gnome/gdesklets/Sensors/XMMS/__init__.pyc +share/gnome/gdesklets/Sensors/XMMS/xmmscmds.py +share/gnome/gdesklets/Sensors/XMMS/xmmscmds.pyc +share/gnome/gdesklets/Sensors/XMMS/xmmsint.py +share/gnome/gdesklets/Sensors/XMMS/xmmsint.pyc +share/gnome/gdesklets/Sensors/XMMS/xmms.py +share/gnome/gdesklets/Sensors/XMMS/xmms.pyc +@dirrm share/gnome/gdesklets/Sensors/XMMS +@dirrm share/gnome/gdesklets/Displays/XMMS/gfx +@dirrm share/gnome/gdesklets/Displays/XMMS -- cgit v1.1