aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-12-25 01:43:50 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-12-25 01:43:50 +0000
commit7fe38b824125b859fccf7002748288ee8c5d344f (patch)
tree9aab9ad5ed38bb299dc256c5388429f21485b641 /audio
parent41a8378779900262d1202e402e890fa4fcc3d400 (diff)
downloadports-7fe38b824125b859fccf7002748288ee8c5d344f.tar.gz
ports-7fe38b824125b859fccf7002748288ee8c5d344f.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/gdesklets-cornerxmms/Makefile47
-rw-r--r--audio/gdesklets-cornerxmms/distinfo1
-rw-r--r--audio/gdesklets-cornerxmms/files/patch-Install_CornerXMMS_Sensor.bin19
-rw-r--r--audio/gdesklets-cornerxmms/pkg-descr3
-rw-r--r--audio/gdesklets-cornerxmms/pkg-message17
-rw-r--r--audio/gdesklets-cornerxmms/pkg-plist33
7 files changed, 121 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 033886ff4f17..0a4cb292d6bb 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -99,6 +99,7 @@
SUBDIR += freebirth
SUBDIR += funktrackergold
SUBDIR += gdam
+ SUBDIR += gdesklets-cornerxmms
SUBDIR += gdrdao
SUBDIR += gkrellmms
SUBDIR += gkrellmms2
diff --git a/audio/gdesklets-cornerxmms/Makefile b/audio/gdesklets-cornerxmms/Makefile
new file mode 100644
index 000000000000..ed1291738fc4
--- /dev/null
+++ b/audio/gdesklets-cornerxmms/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: gdesklets-cornerxmms
+# Date created: 22 December 2003
+# Whom: Franz Klammer <klammer@webonaut.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cornerxmms
+PORTVERSION= 0.0.5
+CATEGORIES= audio gnome
+MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
+PKGNAMEPREFIX= gdesklets-
+DISTNAME= CornerXMMS-${PORTVERSION}
+
+MAINTAINER= klammer@webonaut.com
+COMMENT= A fancy desklet that allows you to control XMMS from the desktop
+
+RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gdesklets-core.pc:${PORTSDIR}/deskutils/gdesklets \
+ ${PYTHON_SITELIBDIR}/xmms/__init__.py:${PORTSDIR}/audio/py-xmms
+
+USE_BZIP2= yes
+USE_PYTHON= yes
+USE_X_PREFIX= yes
+
+NAME= CornerXMMS
+DATADIR= ${PREFIX}/share/gnome
+WRKSRC= ${WRKDIR}/${NAME}-${PORTVERSION}
+
+do-build:
+ @${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
+
+do-install:
+ @${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
+ @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}
+ @${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx
+ @${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
+ @${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Sensors/${NAME}/
+ @${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
+ @${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/
+
+post-install:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/audio/gdesklets-cornerxmms/distinfo b/audio/gdesklets-cornerxmms/distinfo
new file mode 100644
index 000000000000..43792a2e9762
--- /dev/null
+++ b/audio/gdesklets-cornerxmms/distinfo
@@ -0,0 +1 @@
+MD5 (CornerXMMS-0.0.5.tar.bz2) = 2714260a2a82005a814db703cf2ea854
diff --git a/audio/gdesklets-cornerxmms/files/patch-Install_CornerXMMS_Sensor.bin b/audio/gdesklets-cornerxmms/files/patch-Install_CornerXMMS_Sensor.bin
new file mode 100644
index 000000000000..f92d2ce0e304
--- /dev/null
+++ b/audio/gdesklets-cornerxmms/files/patch-Install_CornerXMMS_Sensor.bin
@@ -0,0 +1,19 @@
+--- Install_CornerXMMS_Sensor.bin.orig Mon Dec 22 20:12:09 2003
++++ Install_CornerXMMS_Sensor.bin Mon Dec 22 20:13:06 2003
+@@ -75,15 +75,9 @@
+ else:
+ cmd = "mkdir -p %(destination)s; cd %(destination)s; " \
+ "LANG=C tar -xzvf %(tmp)s 2>&1"
+- fail, out = commands.getstatusoutput(cmd % vars())
++ commands.getstatusoutput(cmd % vars())
+ os.unlink(tmp)
+
+- if (fail):
+- if (no_message): print ERROR_TAR + out
+- else: message(ERROR_TAR + out, "error")
+- sys.exit(1)
+-
+- print out
+ if (not list_only):
+ if (no_message): print SUCCESS
+ else: message(SUCCESS, "info")
diff --git a/audio/gdesklets-cornerxmms/pkg-descr b/audio/gdesklets-cornerxmms/pkg-descr
new file mode 100644
index 000000000000..29d7493978c8
--- /dev/null
+++ b/audio/gdesklets-cornerxmms/pkg-descr
@@ -0,0 +1,3 @@
+A fancy desklet that allows you to control XMMS from the desktop.
+
+WWW: http://gdesklets.gnomedesktop.org/
diff --git a/audio/gdesklets-cornerxmms/pkg-message b/audio/gdesklets-cornerxmms/pkg-message
new file mode 100644
index 000000000000..bd0156ccbaf3
--- /dev/null
+++ b/audio/gdesklets-cornerxmms/pkg-message
@@ -0,0 +1,17 @@
+##
+To view the README:
+
+ cat ${PREFIX}/share/gnome/gdesklets/Sensors/CornerXMMS/README
+
+To view the installed Displays:
+
+ ls ${PREFIX}/share/gnome/gdesklets/Displays
+
+To use those desklet:
+
+ gdesklets ${PREFIX}/share/gnome/gdesklets/Displays/CornerXMMS/cornerxmms-bottomright.display
+
+NOTE: Be sure to login as your user when you use the gdesklets command,
+ as the configuration will be stored in the ~/.gdesklets/ directory
+ and/or gconf database.
+##
diff --git a/audio/gdesklets-cornerxmms/pkg-plist b/audio/gdesklets-cornerxmms/pkg-plist
new file mode 100644
index 000000000000..883cf38eb1aa
--- /dev/null
+++ b/audio/gdesklets-cornerxmms/pkg-plist
@@ -0,0 +1,33 @@
+share/gnome/gdesklets/Displays/CornerXMMS/cornerxmms-bottomright.display
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/bar0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/bar1.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/body-br.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/bot-br0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/eject0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/eq0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/eq1.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/gauge.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/ml0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/ml1.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/next0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/pause0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/pause1.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/pl0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/pl1.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/play0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/play1.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/prev0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/rep0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/rep1.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/rnd0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/rnd1.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/stop0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/textmask-br0.png
+share/gnome/gdesklets/Displays/CornerXMMS/gfx/textmask-br1.png
+share/gnome/gdesklets/Sensors/CornerXMMS/__init__.py
+share/gnome/gdesklets/Sensors/CornerXMMS/__init__.pyc
+share/gnome/gdesklets/Sensors/CornerXMMS/__init__.pyo
+share/gnome/gdesklets/Sensors/CornerXMMS/README
+@dirrm share/gnome/gdesklets/Sensors/CornerXMMS
+@dirrm share/gnome/gdesklets/Displays/CornerXMMS/gfx
+@dirrm share/gnome/gdesklets/Displays/CornerXMMS