diff options
author | pav <pav@FreeBSD.org> | 2004-01-04 22:12:38 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-01-04 22:12:38 +0800 |
commit | bd663b6c9de89ec59a5c50248de1a0be4cc071e5 (patch) | |
tree | 230ba1fcca56dd97fd078b137c44ad8bed447f9b /audio | |
parent | 2e90c169149e65863c56cc72199358aaa95ce402 (diff) | |
download | freebsd-ports-gnome-bd663b6c9de89ec59a5c50248de1a0be4cc071e5.tar.gz freebsd-ports-gnome-bd663b6c9de89ec59a5c50248de1a0be4cc071e5.tar.zst freebsd-ports-gnome-bd663b6c9de89ec59a5c50248de1a0be4cc071e5.zip |
Add gdesklets-xmms, a compact desklet to control your XMMS from your GNOME
desktop.
http://gdesklets.gnomedesktop.org/
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/gdesklets-xmms/Makefile | 49 | ||||
-rw-r--r-- | audio/gdesklets-xmms/distinfo | 1 | ||||
-rw-r--r-- | audio/gdesklets-xmms/pkg-descr | 3 | ||||
-rw-r--r-- | audio/gdesklets-xmms/pkg-message | 5 | ||||
-rw-r--r-- | audio/gdesklets-xmms/pkg-plist | 22 |
6 files changed, 81 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index e7c6f09e62ae..c3c12ead7e27 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -102,6 +102,7 @@ SUBDIR += funktrackergold SUBDIR += gdam SUBDIR += gdesklets-cornerxmms + SUBDIR += gdesklets-xmms SUBDIR += gdrdao SUBDIR += gkrellmms SUBDIR += gkrellmms2 diff --git a/audio/gdesklets-xmms/Makefile b/audio/gdesklets-xmms/Makefile new file mode 100644 index 000000000000..79be15b63ef1 --- /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 <pav@FreeBSD.org> +# +# $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 <bsd.port.mk> diff --git a/audio/gdesklets-xmms/distinfo b/audio/gdesklets-xmms/distinfo new file mode 100644 index 000000000000..5d3065f066a5 --- /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 000000000000..b91535157e20 --- /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 000000000000..7b55a7508c5c --- /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 000000000000..f13d4cf627d0 --- /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 |