1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

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
This commit is contained in:
Martin Wilke 2007-06-11 12:40:02 +00:00
parent 2b7d44d9e3
commit 147a6d803d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193258
8 changed files with 103 additions and 0 deletions

View File

@ -497,6 +497,7 @@
SUBDIR += pytone
SUBDIR += q-audio
SUBDIR += qjackctl
SUBDIR += qmpdclient
SUBDIR += quelcom
SUBDIR += raop_play
SUBDIR += raproxy

27
audio/qmpdclient/Makefile Normal file
View File

@ -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>

View File

@ -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

View File

@ -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."

View File

@ -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();

View File

@ -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;
}

View File

@ -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;

View File

@ -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/