aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2001-03-04 23:24:34 +0800
committertrevor <trevor@FreeBSD.org>2001-03-04 23:24:34 +0800
commit4113cdfd493d0f9b74743aafc089e063edf38187 (patch)
tree4402a61e8163f65d8b6123ee7d56d5036e70d105
parent6b58b5464e4809e4b5b25c34644ab1010daeb1da (diff)
downloadfreebsd-ports-gnome-4113cdfd493d0f9b74743aafc089e063edf38187.tar.gz
freebsd-ports-gnome-4113cdfd493d0f9b74743aafc089e063edf38187.tar.zst
freebsd-ports-gnome-4113cdfd493d0f9b74743aafc089e063edf38187.zip
new port of mq3 version 8, a Qt-based .ogg/.mp3 player
PR: 24396 Submitted by: Erich Zigler <erich@tacni.net>
-rw-r--r--audio/Makefile1
-rw-r--r--audio/mq3/Makefile29
-rw-r--r--audio/mq3/distinfo1
-rw-r--r--audio/mq3/files/patch-platforms_freebsd31
-rw-r--r--audio/mq3/pkg-comment1
-rw-r--r--audio/mq3/pkg-descr7
-rw-r--r--audio/mq3/pkg-plist117
7 files changed, 187 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 2e770f72c5a8..6a8454490b70 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -105,6 +105,7 @@
SUBDIR += mpg123
SUBDIR += mpg123.el
SUBDIR += mpmf20
+ SUBDIR += mq3
SUBDIR += musicbox
SUBDIR += musicbrainz
SUBDIR += mutemix
diff --git a/audio/mq3/Makefile b/audio/mq3/Makefile
new file mode 100644
index 000000000000..4306a9b3de13
--- /dev/null
+++ b/audio/mq3/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: mq3
+# Date created: 16 Jan 2001
+# Whom: Erich Zigler <erich@tacni.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mq3
+PORTVERSION= 8
+CATEGORIES= audio
+MASTER_SITES= http://www.mq3.org/source/
+
+MAINTAINER= erich@tacni.net
+
+LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \
+ vorbis.0:${PORTSDIR}/audio/libvorbis
+BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
+
+USE_QT2= yes
+
+HAS_CONFIGURE= yes
+MAKE_ENV= CPPFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib}" \
+ INCDIR_QT="${X11BASE}/include/qt2" \
+ LIBDIR_QT="${X11BASE}/lib" \
+ QTDIR="${X11BASE}"
+
+CONFIGURE_ARGS= -prefix ${PREFIX} -platform FreeBSD
+
+.include <bsd.port.mk>
diff --git a/audio/mq3/distinfo b/audio/mq3/distinfo
new file mode 100644
index 000000000000..dcb86a8b83bc
--- /dev/null
+++ b/audio/mq3/distinfo
@@ -0,0 +1 @@
+MD5 (mq3-8.tar.gz) = b820b53a4da03cca2e2eb456f2c6fe3f
diff --git a/audio/mq3/files/patch-platforms_freebsd b/audio/mq3/files/patch-platforms_freebsd
new file mode 100644
index 000000000000..997725e268b9
--- /dev/null
+++ b/audio/mq3/files/patch-platforms_freebsd
@@ -0,0 +1,31 @@
+--- platforms/freebsd.orig Tue Jan 16 15:41:29 2001
++++ platforms/freebsd Fri Mar 2 08:19:49 2001
+@@ -1,25 +1,23 @@
+ CC ?= gcc
+-CFLAGS = -pipe -O2
+ CFLAGS_MT = -pthread -D_THREAD_SAFE -DQT_THREAD_SUPPORT -DQT_CLEAN_NAMESPACE
+
+ CXX ?= g++
+-CXXFLAGS = -pipe -O2 -Wall -W
+ CXXFLAGS_MT = -pthread -D_THREAD_SAFE -DQT_THREAD_SUPPORT -DQT_CLEAN_NAMESPACE
+
+ NASM ?= nasm -f elf
+
+ INCDIR_X11 = /usr/X11R6/include
+ LIBDIR_X11 = /usr/X11R6/lib
+-INCDIR_QT = $(QTDIR)/include
++INCDIR_QT = $(QTDIR)/include/qt2
+ LIBDIR_QT = $(QTDIR)/lib
+
+ LINK = $(CXX)
+ LFLAGS ?=
+ LFLAGS_MT = -pthread
+
+-LIBS_QT_MT = -lqt-mt
++LIBS_QT_MT = -lqt2-mt -lqt2 -lqthreads -logg -lvorbis
+
+-MOC = $(QTDIR)/bin/moc
++MOC = $(QTDIR)/bin/moc2
+ UIC = $(QTDIR)/bin/uic
+
+ AR = ar cqs
diff --git a/audio/mq3/pkg-comment b/audio/mq3/pkg-comment
new file mode 100644
index 000000000000..4db5ba46777f
--- /dev/null
+++ b/audio/mq3/pkg-comment
@@ -0,0 +1 @@
+A minimal mp3/ogg player written in Qt
diff --git a/audio/mq3/pkg-descr b/audio/mq3/pkg-descr
new file mode 100644
index 000000000000..38d288272c9e
--- /dev/null
+++ b/audio/mq3/pkg-descr
@@ -0,0 +1,7 @@
+This is MQ3, a simple .mp3 and .ogg player using Qt. It uses the
+decoding engine from FreeAMP (http://www.freeamp.org/).
+
+WWW: http://www.mq3.org
+
+- Erich Zigler
+erich@tacni.net
diff --git a/audio/mq3/pkg-plist b/audio/mq3/pkg-plist
new file mode 100644
index 000000000000..93a136ef8e03
--- /dev/null
+++ b/audio/mq3/pkg-plist
@@ -0,0 +1,117 @@
+bin/mq3
+share/mq3/icons/default/small/addcollection-active.png
+share/mq3/icons/default/small/addcollection-disabled.png
+share/mq3/icons/default/small/addcollection.png
+share/mq3/icons/default/small/addgroup-active.png
+share/mq3/icons/default/small/addgroup-disabled.png
+share/mq3/icons/default/small/addgroup.png
+share/mq3/icons/default/small/addsong-active.png
+share/mq3/icons/default/small/addsong-disabled.png
+share/mq3/icons/default/small/addsong.png
+share/mq3/icons/default/small/close-active.png
+share/mq3/icons/default/small/close-disabled.png
+share/mq3/icons/default/small/close.png
+share/mq3/icons/default/small/config-active.png
+share/mq3/icons/default/small/config-disabled.png
+share/mq3/icons/default/small/config.png
+share/mq3/icons/default/small/editgroup-active.png
+share/mq3/icons/default/small/editgroup-disabled.png
+share/mq3/icons/default/small/editgroup.png
+share/mq3/icons/default/small/editsong-active.png
+share/mq3/icons/default/small/editsong-disabled.png
+share/mq3/icons/default/small/editsong.png
+share/mq3/icons/default/small/equalizer-active.png
+share/mq3/icons/default/small/equalizer-disabled.png
+share/mq3/icons/default/small/equalizer.png
+share/mq3/icons/default/small/mq3-active.png
+share/mq3/icons/default/small/mq3-disabled.png
+share/mq3/icons/default/small/mq3.png
+share/mq3/icons/default/small/next-active.png
+share/mq3/icons/default/small/next-disabled.png
+share/mq3/icons/default/small/next.png
+share/mq3/icons/default/small/organizer-active.png
+share/mq3/icons/default/small/organizer-disabled.png
+share/mq3/icons/default/small/organizer.png
+share/mq3/icons/default/small/pause-active.png
+share/mq3/icons/default/small/pause-disabled.png
+share/mq3/icons/default/small/pause.png
+share/mq3/icons/default/small/play-active.png
+share/mq3/icons/default/small/play-disabled.png
+share/mq3/icons/default/small/play.png
+share/mq3/icons/default/small/prev-active.png
+share/mq3/icons/default/small/prev-disabled.png
+share/mq3/icons/default/small/prev.png
+share/mq3/icons/default/small/removecollection-active.png
+share/mq3/icons/default/small/removecollection-disabled.png
+share/mq3/icons/default/small/removecollection.png
+share/mq3/icons/default/small/removegroup-active.png
+share/mq3/icons/default/small/removegroup-disabled.png
+share/mq3/icons/default/small/removegroup.png
+share/mq3/icons/default/small/removesong-active.png
+share/mq3/icons/default/small/removesong-disabled.png
+share/mq3/icons/default/small/removesong.png
+share/mq3/icons/default/small/save-active.png
+share/mq3/icons/default/small/save-disabled.png
+share/mq3/icons/default/small/save.png
+share/mq3/icons/default/small/stop-active.png
+share/mq3/icons/default/small/stop-disabled.png
+share/mq3/icons/default/small/stop.png
+share/mq3/icons/default/large/addcollection-active.png
+share/mq3/icons/default/large/addcollection-disabled.png
+share/mq3/icons/default/large/addcollection.png
+share/mq3/icons/default/large/addgroup-active.png
+share/mq3/icons/default/large/addgroup-disabled.png
+share/mq3/icons/default/large/addgroup.png
+share/mq3/icons/default/large/addsong-active.png
+share/mq3/icons/default/large/addsong-disabled.png
+share/mq3/icons/default/large/addsong.png
+share/mq3/icons/default/large/close-active.png
+share/mq3/icons/default/large/close-disabled.png
+share/mq3/icons/default/large/close.png
+share/mq3/icons/default/large/editgroup-active.png
+share/mq3/icons/default/large/editgroup-disabled.png
+share/mq3/icons/default/large/editgroup.png
+share/mq3/icons/default/large/editsong-active.png
+share/mq3/icons/default/large/editsong-disabled.png
+share/mq3/icons/default/large/editsong.png
+share/mq3/icons/default/large/equalizer-active.png
+share/mq3/icons/default/large/equalizer-disabled.png
+share/mq3/icons/default/large/equalizer.png
+share/mq3/icons/default/large/mq3-active.png
+share/mq3/icons/default/large/mq3-disabled.png
+share/mq3/icons/default/large/mq3.png
+share/mq3/icons/default/large/next-active.png
+share/mq3/icons/default/large/next-disabled.png
+share/mq3/icons/default/large/next.png
+share/mq3/icons/default/large/organizer-active.png
+share/mq3/icons/default/large/organizer-disabled.png
+share/mq3/icons/default/large/organizer.png
+share/mq3/icons/default/large/pause-active.png
+share/mq3/icons/default/large/pause-disabled.png
+share/mq3/icons/default/large/pause.png
+share/mq3/icons/default/large/play-active.png
+share/mq3/icons/default/large/play-disabled.png
+share/mq3/icons/default/large/play.png
+share/mq3/icons/default/large/prev-active.png
+share/mq3/icons/default/large/prev-disabled.png
+share/mq3/icons/default/large/prev.png
+share/mq3/icons/default/large/removecollection-active.png
+share/mq3/icons/default/large/removecollection-disabled.png
+share/mq3/icons/default/large/removecollection.png
+share/mq3/icons/default/large/removegroup-active.png
+share/mq3/icons/default/large/removegroup-disabled.png
+share/mq3/icons/default/large/removegroup.png
+share/mq3/icons/default/large/removesong-active.png
+share/mq3/icons/default/large/removesong-disabled.png
+share/mq3/icons/default/large/removesong.png
+share/mq3/icons/default/large/save-active.png
+share/mq3/icons/default/large/save-disabled.png
+share/mq3/icons/default/large/save.png
+share/mq3/icons/default/large/stop-active.png
+share/mq3/icons/default/large/stop-disabled.png
+share/mq3/icons/default/large/stop.png
+@dirrm share/mq3/icons/default/large
+@dirrm share/mq3/icons/default/small
+@dirrm share/mq3/icons/default
+@dirrm share/mq3/icons
+@dirrm share/mq3