aboutsummaryrefslogtreecommitdiff
path: root/audio/mpdbrowser
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-12-26 19:42:30 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-12-26 19:42:30 +0000
commit19a573e01a013eb34484f33d95bef0fc363001d9 (patch)
tree64f1ddf900d08153d874db2d6eccef652d327d6f /audio/mpdbrowser
parent225978cfc8a61d2d5a650c94c93d55dd0ce8c6e1 (diff)
downloadports-19a573e01a013eb34484f33d95bef0fc363001d9.tar.gz
ports-19a573e01a013eb34484f33d95bef0fc363001d9.zip
Notes
Diffstat (limited to 'audio/mpdbrowser')
-rw-r--r--audio/mpdbrowser/Makefile36
-rw-r--r--audio/mpdbrowser/distinfo3
-rw-r--r--audio/mpdbrowser/files/patch-setup.py20
-rw-r--r--audio/mpdbrowser/pkg-descr10
-rw-r--r--audio/mpdbrowser/pkg-plist51
5 files changed, 120 insertions, 0 deletions
diff --git a/audio/mpdbrowser/Makefile b/audio/mpdbrowser/Makefile
new file mode 100644
index 000000000000..4cedd5086347
--- /dev/null
+++ b/audio/mpdbrowser/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: py-mpdbrowser
+# Date created: 2008-12-26
+# Whom: Henrik Friedrichsen <hrkfdn@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mpdbrowser
+PORTVERSION= 0.9.15
+CATEGORIES= audio python
+MASTER_SITES= http://mpdbrowser.tuxfamily.org/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= mpdBrowser-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= hrkfdn@gmail.com
+COMMENT= GTK+ client for the Music Player Daemon (MPD)
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpd>=0.2.0:${PORTSDIR}/audio/py-mpd
+
+PYDISTUTILS_PKGNAME= mpdBrowser
+USE_GETTEXT= yes
+USE_ICONV= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+USE_GNOME= intltool pygtk2
+
+OPTIONS= MPD "Install Music Player Daemon" on
+
+.include <bsd.port.pre.mk>
+
+.if defined (WITH_MPD)
+RUN_DEPENDS+= mpd:${PORTSDIR}/audio/musicpd
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/mpdbrowser/distinfo b/audio/mpdbrowser/distinfo
new file mode 100644
index 000000000000..2ab0051d24d6
--- /dev/null
+++ b/audio/mpdbrowser/distinfo
@@ -0,0 +1,3 @@
+MD5 (mpdBrowser-0.9.15.tgz) = aea034a00710d3f0a0c0451f1fbef6ab
+SHA256 (mpdBrowser-0.9.15.tgz) = 7479d3361ca2db373da0a933103762cdbf2046462cc02ad9fd6b043daf673ef2
+SIZE (mpdBrowser-0.9.15.tgz) = 171107
diff --git a/audio/mpdbrowser/files/patch-setup.py b/audio/mpdbrowser/files/patch-setup.py
new file mode 100644
index 000000000000..d6fe9c833471
--- /dev/null
+++ b/audio/mpdbrowser/files/patch-setup.py
@@ -0,0 +1,20 @@
+--- _setup.py 2008-07-31 12:33:41.000000000 +0200
++++ setup.py 2008-12-26 16:19:16.000000000 +0100
+@@ -36,7 +36,7 @@
+ # Create mo files:
+ if not os.path.exists("mo/"):
+ os.mkdir("mo/")
+-for lang in ('de', 'pl', 'ru', 'fr', 'zh_CN', 'sv', 'es', 'fi', 'uk', 'it', 'cs', 'nl', 'pt_BR', 'da', 'be@latin'):
++for lang in ('fr', 'it', 'pl'):
+ pofile = "po/" + lang + ".po"
+ mofile = "mo/" + lang + "/mpdBrowser.mo"
+ if not os.path.exists("mo/" + lang + "/"):
+@@ -45,7 +45,7 @@
+ os.system("msgfmt %s -o %s" % (pofile, mofile))
+
+ setup(name='mpdBrowser',
+- version='0.9.0',
++ version='0.9.15',
+ description='GTK+ client for the Music Player Daemon (MPD).',
+ author='Bellegarde Cedric',
+ author_email='gnumdk@gmail.com',
diff --git a/audio/mpdbrowser/pkg-descr b/audio/mpdbrowser/pkg-descr
new file mode 100644
index 000000000000..4550a842eff5
--- /dev/null
+++ b/audio/mpdbrowser/pkg-descr
@@ -0,0 +1,10 @@
+MPD click & play client
+
+mpdBrowser show your collection's covers and let you:
+- play an album with left click
+- Enqueue an album with left click and Control
+- Clear playlist with middle click
+- play a song with right click
+- enqueue a song with right click and Control
+
+WWW: http://www.gnomefiles.org/app.php/mpdBrowser
diff --git a/audio/mpdbrowser/pkg-plist b/audio/mpdbrowser/pkg-plist
new file mode 100644
index 000000000000..7437aed191b6
--- /dev/null
+++ b/audio/mpdbrowser/pkg-plist
@@ -0,0 +1,51 @@
+bin/mpdBrowser
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserConnection.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserCfgDlg.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserCfg.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/idleObject.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserCovers.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserView.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserIPC.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserBase.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/__init__.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserDefine.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserUtils.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserDatabase.py
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserConnection.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserCfgDlg.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserCfg.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/idleObject.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserCovers.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserView.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserIPC.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserBase.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/__init__.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserDefine.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserUtils.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserDatabase.pyo
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserConnection.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserCfgDlg.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserCfg.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/idleObject.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserCovers.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserView.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserIPC.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserBase.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/__init__.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserDefine.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserUtils.pyc
+%%PYTHON_SITELIBDIR%%/mpdBrowser/mpdBrowserDatabase.pyc
+share/mpdbrowser/README
+share/mpdbrowser/CHANGELOG
+share/mpdbrowser/TODO
+share/mpdbrowser/TRANSLATORS
+share/applications/mpdBrowser.desktop
+share/locale/fr/LC_MESSAGES/mpdBrowser.mo
+share/locale/it/LC_MESSAGES/mpdBrowser.mo
+share/locale/pl/LC_MESSAGES/mpdBrowser.mo
+share/pixmaps/mpdBrowser_empty.png
+share/pixmaps/mpdBrowser.png
+share/pixmaps/mpdBrowser_case.png
+@dirrmtry share/applications
+@dirrm share/mpdbrowser
+@dirrm %%PYTHON_SITELIBDIR%%/mpdBrowser