aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-11 20:40:02 +0800
committermiwi <miwi@FreeBSD.org>2007-06-11 20:40:02 +0800
commit49c467069a1f40a558a813852e990ad2111fb12c (patch)
tree2f3ccd23109a0e3722b61f9f864256375f3c6bb1 /audio
parent6b13d2f132c81366c0d50a92d1fa173da61f1a72 (diff)
downloadfreebsd-ports-gnome-49c467069a1f40a558a813852e990ad2111fb12c.tar.gz
freebsd-ports-gnome-49c467069a1f40a558a813852e990ad2111fb12c.tar.zst
freebsd-ports-gnome-49c467069a1f40a558a813852e990ad2111fb12c.zip
QMPDClient is an easy to use MPD client written in Qt 4.
Features: - Multimedia keys support - System tray icon - Annouce songs with passive popups - Drag and drop - Stream support - Playlist management - Tag-guessing for untagged files - Directory browser WWW: http://havtknut.tihlde.org/ PR: ports/113341 Submitted by: uyamba at gmail.com
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/qmpdclient/Makefile27
-rw-r--r--audio/qmpdclient/distinfo3
-rw-r--r--audio/qmpdclient/files/patch-configure23
-rw-r--r--audio/qmpdclient/files/patch-src__mpd.cpp12
-rw-r--r--audio/qmpdclient/files/patch-src__mpdstatus.cpp13
-rw-r--r--audio/qmpdclient/files/patch-src__mpdstatus.h10
-rw-r--r--audio/qmpdclient/pkg-descr14
8 files changed, 103 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 781d0526fdd9..dc496327836c 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -497,6 +497,7 @@
SUBDIR += pytone
SUBDIR += q-audio
SUBDIR += qjackctl
+ SUBDIR += qmpdclient
SUBDIR += quelcom
SUBDIR += raop_play
SUBDIR += raproxy
diff --git a/audio/qmpdclient/Makefile b/audio/qmpdclient/Makefile
new file mode 100644
index 000000000000..086bcd568c41
--- /dev/null
+++ b/audio/qmpdclient/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: qmpdclient
+# Date created: 4 June 2007
+# Whom: uyamba@gmail.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= qmpdclient
+PORTVERSION= 1.0.7
+CATEGORIES= audio
+MASTER_SITES= http://havtknut.tihlde.org/qmpdclient/files/ \
+ http://mirrors.ludost.net/gentoo/distfiles/
+
+MAINTAINER= uyamba@gmail.com
+COMMENT= Easy to use musicpd client written in QT4
+
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+USE_QT_VER= 4
+QT_COMPONENTS= gui qmake uic moc rcc
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/audio/qmpdclient/distinfo b/audio/qmpdclient/distinfo
new file mode 100644
index 000000000000..2f58113dce92
--- /dev/null
+++ b/audio/qmpdclient/distinfo
@@ -0,0 +1,3 @@
+MD5 (qmpdclient-1.0.7.tar.gz) = ca37c7f9ff20c37aab5090b0ed531c06
+SHA256 (qmpdclient-1.0.7.tar.gz) = 4d01940020414cb5c16299dd03f32bc00daa2defc7805348b71ef7ff42d2c5d2
+SIZE (qmpdclient-1.0.7.tar.gz) = 226078
diff --git a/audio/qmpdclient/files/patch-configure b/audio/qmpdclient/files/patch-configure
new file mode 100644
index 000000000000..9fcec73168e6
--- /dev/null
+++ b/audio/qmpdclient/files/patch-configure
@@ -0,0 +1,23 @@
+--- configure.orig Sat Apr 22 15:47:47 2006
++++ configure Wed Jun 6 17:22:24 2007
+@@ -1,17 +1,17 @@
+ #!/bin/sh
+
+-QMAKE=`which qmake`
++QMAKE=`which qmake-qt4`
+
+ if [ -n ""$QMAKE -a -e ""$QMAKE ]; then
+ echo "$QMAKE found. OK."
+ else
+- echo "qmake not found, or not executable."
++ echo "qmake-qt4 not found, or not executable."
+ exit 1
+ fi
+
+ echo
+ echo -n "Generating Makefile... ";
+-qmake
++qmake-qt4
+ echo "Done."
+ echo
+ echo "Now run 'make' to compile."
diff --git a/audio/qmpdclient/files/patch-src__mpd.cpp b/audio/qmpdclient/files/patch-src__mpd.cpp
new file mode 100644
index 000000000000..7a3a2a8594e4
--- /dev/null
+++ b/audio/qmpdclient/files/patch-src__mpd.cpp
@@ -0,0 +1,12 @@
+--- src/mpd.cpp.orig Wed Dec 6 18:49:57 2006
++++ src/mpd.cpp Fri Jun 1 23:52:14 2007
+@@ -578,6 +578,9 @@
+ if (!m_connected)
+ return;
+
++ m_status.setVolume(v);
++ emit volumeUpdated(v);
++
+ QMutexLocker lock(&m_mutex);
+ mpd_sendSetvolCommand(m_connection, v);
+ finishCommand();
diff --git a/audio/qmpdclient/files/patch-src__mpdstatus.cpp b/audio/qmpdclient/files/patch-src__mpdstatus.cpp
new file mode 100644
index 000000000000..30d153b7b875
--- /dev/null
+++ b/audio/qmpdclient/files/patch-src__mpdstatus.cpp
@@ -0,0 +1,13 @@
+--- src/mpdstatus.cpp.orig Wed Dec 6 18:23:51 2006
++++ src/mpdstatus.cpp Fri Jun 1 23:08:56 2007
+@@ -88,6 +88,10 @@
+ return d->m_volume;
+ }
+
++void MPDStatus::MPDStatus::setVolume(int vol) const {
++ d->m_volume = vol;
++}
++
+ int MPDStatus::repeat() const {
+ return d->m_repeat;
+ }
diff --git a/audio/qmpdclient/files/patch-src__mpdstatus.h b/audio/qmpdclient/files/patch-src__mpdstatus.h
new file mode 100644
index 000000000000..387589814724
--- /dev/null
+++ b/audio/qmpdclient/files/patch-src__mpdstatus.h
@@ -0,0 +1,10 @@
+--- src/mpdstatus.h.orig Wed Dec 6 18:23:15 2006
++++ src/mpdstatus.h Fri Jun 1 23:09:14 2007
+@@ -33,6 +33,7 @@
+ MPDStatus(const MPDStatus &);
+ ~MPDStatus();
+ int volume() const;
++ void setVolume(int vol) const;
+ int repeat() const;
+ int random() const;
+ int playlistLength() const;
diff --git a/audio/qmpdclient/pkg-descr b/audio/qmpdclient/pkg-descr
new file mode 100644
index 000000000000..c662416824f9
--- /dev/null
+++ b/audio/qmpdclient/pkg-descr
@@ -0,0 +1,14 @@
+QMPDClient is an easy to use MPD client written in Qt 4.
+
+Features:
+
+- Multimedia keys support
+- System tray icon
+- Annouce songs with passive popups
+- Drag and drop
+- Stream support
+- Playlist management
+- Tag-guessing for untagged files
+- Directory browser
+
+WWW: http://havtknut.tihlde.org/