GQmpeg : a front-end dor mpg123 with skins support
Needs the latest glib/gtk+/imlib ports for working skins support. Thanks brad@ for fixing gdk_imlib
This commit is contained in:
parent
3ade6d7c7f
commit
6b272592f7
37
audio/gqmpeg/Makefile
Normal file
37
audio/gqmpeg/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/09/18 19:44:18 rohee Exp $
|
||||
# Original from: Bruno Rohée
|
||||
|
||||
PKGNAME= gqmpeg-0.6.3
|
||||
DISTNAME= ${PKGNAME}.src
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= rohee@OpenBSD.ORG
|
||||
|
||||
HOMEPAGE= http://gqview.netpedia.net/mpeg-over.html
|
||||
|
||||
MASTER_SITES= http://gqview.netpedia.net/
|
||||
|
||||
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
|
||||
LIB_DEPENDS= glib.1.2:${PORTSDIR}/devel/glib \
|
||||
gtk:${PORTSDIR}/x11/gtk+ \
|
||||
gdk_imlib.1.9:${PORTSDIR}/graphics/imlib
|
||||
|
||||
NO_CONFIGURE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PKGNAME}
|
||||
|
||||
ALL_TARGET= gqmpeg
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gqmpeg ${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/plugin/gqmpeg-shoutcast-plugin.sh ${PREFIX}/bin
|
||||
${MKDIR} ${PREFIX}/share/doc/gqmpeg
|
||||
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/gqmpeg
|
||||
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/gqmpeg
|
||||
${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/gqmpeg
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gqmpeg
|
||||
${INSTALL_DATA} ${WRKSRC}/SKIN-SPECS ${PREFIX}/share/doc/gqmpeg
|
||||
|
||||
.include <bsd.port.mk>
|
3
audio/gqmpeg/files/md5
Normal file
3
audio/gqmpeg/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gqmpeg-0.6.3.src.tgz) = 01ec3ac587847b73e90326ea014cee22
|
||||
RMD160 (gqmpeg-0.6.3.src.tgz) = 69865bd5a7b48a67b3b46fa92c198b8e460709dc
|
||||
SHA1 (gqmpeg-0.6.3.src.tgz) = e70acaa7efec3bba109c67b1f1f0c239725acc3a
|
22
audio/gqmpeg/patches/patch-aa
Normal file
22
audio/gqmpeg/patches/patch-aa
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-aa,v 1.1.1.1 1999/09/18 19:44:18 rohee Exp $
|
||||
|
||||
Actually a FreeBSD related patch :-)
|
||||
|
||||
From an email from Marc van Kempen <marc@bowtie.nl>
|
||||
|
||||
--- cpu_perc.c.orig Sat Jul 3 13:39:08 1999
|
||||
+++ cpu_perc.c Sat Aug 21 18:52:36 1999
|
||||
@@ -70,7 +70,13 @@
|
||||
fs_count = getmntinfo(&mntbufp, MNT_WAIT);
|
||||
|
||||
while(fs_count--)
|
||||
+#ifdef __FreeBSD__ /* FreeBSD prior to 3.0 doesn't have f_fstypename and
|
||||
+ f_mntfromname happens to be set to procfs, but
|
||||
+ it's a kludge */
|
||||
+ if(!strcmp(mntbufp[fs_count].f_mntfromname, "procfs") &&
|
||||
+#else
|
||||
if(!strcmp(mntbufp[fs_count].f_fstypename, "procfs") &&
|
||||
+#endif
|
||||
(procfs_found = 1))
|
||||
sprintf(procfs_mountpoint, mntbufp[fs_count].f_mntonname);
|
||||
|
33
audio/gqmpeg/patches/patch-ab
Normal file
33
audio/gqmpeg/patches/patch-ab
Normal file
@ -0,0 +1,33 @@
|
||||
$OpenBSD: patch-ab,v 1.1.1.1 1999/09/18 19:44:18 rohee Exp $
|
||||
|
||||
We've exactly the same sound API than NetBSD
|
||||
|
||||
--- mixer.c.orig Sat Aug 21 18:56:16 1999
|
||||
+++ mixer.c Sat Aug 21 18:57:30 1999
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <linux/soundcard.h>
|
||||
#endif
|
||||
|
||||
-#if defined(sun) && defined(__svr4__) || defined(__NetBSD__)
|
||||
+#if defined(sun) && defined(__svr4__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#include <sys/audioio.h>
|
||||
#endif
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
return vol;
|
||||
}
|
||||
|
||||
-#elif defined(__NetBSD__)
|
||||
+#elif defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
mixer_devinfo_t *infos;
|
||||
mixer_ctrl_t *values;
|
||||
void mixer_init(gint init_device_id)
|
||||
@@ -595,7 +595,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
-#if defined(sun) && defined(__svr4__) || defined(__NetBSD__)
|
||||
+#if defined(sun) && defined(__svr4__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
/* from 0 through 100% */
|
||||
void set_volume(gint vol)
|
||||
{
|
1
audio/gqmpeg/pkg/COMMENT
Normal file
1
audio/gqmpeg/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
mpg123 front-end with skin support
|
2
audio/gqmpeg/pkg/DESCR
Normal file
2
audio/gqmpeg/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
GQmpeg is a front-end to mpg123 featuring skin supports (including WinAmp
|
||||
skins), play lists and more.
|
8
audio/gqmpeg/pkg/PLIST
Normal file
8
audio/gqmpeg/pkg/PLIST
Normal file
@ -0,0 +1,8 @@
|
||||
bin/gqmpeg
|
||||
bin/gqmpeg-shoutcast-plugin.sh
|
||||
share/doc/gqmpeg/COPYING
|
||||
share/doc/gqmpeg/ChangeLog
|
||||
share/doc/gqmpeg/FAQ
|
||||
share/doc/gqmpeg/README
|
||||
share/doc/gqmpeg/SKIN-SPECS
|
||||
@dirrm share/doc/gqmpeg
|
Loading…
Reference in New Issue
Block a user