xmms-kj, from Richard de Groot <richard at nbm dot ca>.
Allows you to use K-Jofol skins with XMMS. fixes from naddy@; ok naddy@.
This commit is contained in:
parent
a4c3c6c27e
commit
48662b2a28
40
graphics/xmms-kj/Makefile
Normal file
40
graphics/xmms-kj/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2002/07/30 17:23:24 wcobb Exp $
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
COMMENT= "XMMS visualization plugin, to display Kjofol skins"
|
||||
|
||||
VERSION= 0.95
|
||||
DISTNAME= kint_xmms-${VERSION}
|
||||
PKGNAME= xmms-kj-${VERSION}
|
||||
CATEGORIES= graphics
|
||||
HOMEPAGE= http://www.csse.monash.edu.au/~timf/
|
||||
|
||||
MAINTAINER= Wilbern Cobb <wcobb@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE} \
|
||||
http://mirror.csoft.org/xmms-kj/
|
||||
|
||||
LIB_DEPENDS= xmms.2::audio/xmms \
|
||||
png.3::graphics/png
|
||||
|
||||
WRKDIST= ${WRKDIR}/xmms-kj
|
||||
MAKE_FILE= makefile
|
||||
ALL_TARGET= vislib
|
||||
|
||||
MAKE_FLAGS= CC="${CC}"
|
||||
MTREE_FILE= ${FILESDIR}/mtree
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKDIST}/libkjofol.so \
|
||||
${PREFIX}/lib/xmms/Visualization
|
||||
${INSTALL_DATA} ${WRKDIST}/default.zip \
|
||||
${PREFIX}/share/xmms/kjofol
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/xmms-kj/distinfo
Normal file
3
graphics/xmms-kj/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (kint_xmms-0.95.tar.gz) = 60cdb4e1bbc8d121c99da2f4d00813c2
|
||||
RMD160 (kint_xmms-0.95.tar.gz) = d7a34418145ff7bd02e464717319572efeac42df
|
||||
SHA1 (kint_xmms-0.95.tar.gz) = c174e3a99c7639b79a5853f448528e3e4a6e0b1c
|
17
graphics/xmms-kj/files/mtree
Normal file
17
graphics/xmms-kj/files/mtree
Normal file
@ -0,0 +1,17 @@
|
||||
/set type=dir uname=root gname=wheel mode=0755
|
||||
usr
|
||||
local
|
||||
share
|
||||
xmms
|
||||
kjofol
|
||||
..
|
||||
..
|
||||
..
|
||||
lib
|
||||
xmms
|
||||
Visualization
|
||||
..
|
||||
..
|
||||
..
|
||||
..
|
||||
..
|
27
graphics/xmms-kj/patches/patch-makefile
Normal file
27
graphics/xmms-kj/patches/patch-makefile
Normal file
@ -0,0 +1,27 @@
|
||||
$OpenBSD: patch-makefile,v 1.1.1.1 2002/07/30 17:23:24 wcobb Exp $
|
||||
--- makefile.orig Tue Dec 5 00:36:20 2000
|
||||
+++ makefile Tue Jul 30 01:14:49 2002
|
||||
@@ -6,6 +6,7 @@
|
||||
# Set these for your systems locations.
|
||||
# xmmsdir=/usr/local/share/xmms
|
||||
# xmmsvislib=/usr/local/lib/xmms/Visualization
|
||||
+
|
||||
xmmsdir=`xmms-config --data-dir`
|
||||
xmmsvislib=`xmms-config --visualization-plugin-dir`
|
||||
|
||||
@@ -36,13 +37,11 @@ dist: clean
|
||||
vislib:
|
||||
make VFLAGS=-DXMMS_VIS=1 VLDFLAGS=-shared
|
||||
mv kj libkjofol.so
|
||||
- cp libkjofol.so $(xmmsvislib)
|
||||
|
||||
install:
|
||||
make clean
|
||||
- make vislib
|
||||
- mkdir -p $(xmmsdir)/kjofol
|
||||
- cp default.zip $(xmmsdir)/kjofol
|
||||
+ mkdir -p $(WRKINST)/$(xmmsdir)/kjofol
|
||||
+ cp default.zip $(WRKINST)/$(xmmsdir)/kjofol
|
||||
|
||||
remote:
|
||||
make VFLAGS= VLDFLAGS=
|
42
graphics/xmms-kj/patches/patch-playlist_c
Normal file
42
graphics/xmms-kj/patches/patch-playlist_c
Normal file
@ -0,0 +1,42 @@
|
||||
$OpenBSD: patch-playlist_c,v 1.1.1.1 2002/07/30 17:23:24 wcobb Exp $
|
||||
--- playlist.c.orig Tue Dec 5 00:36:20 2000
|
||||
+++ playlist.c Tue Jul 30 01:22:20 2002
|
||||
@@ -224,24 +224,6 @@ GList *n;
|
||||
#endif
|
||||
}
|
||||
|
||||
-
|
||||
-/* ---------------------------------------------------------------------- */
|
||||
-static void tpl_dump_playlist(GList *pl)
|
||||
-{
|
||||
-plist_entry *ent;
|
||||
-int i;
|
||||
-
|
||||
- for(i = 1; pl != NULL; pl = g_list_next(pl), i++)
|
||||
- {
|
||||
- printf("%d. ", i);
|
||||
- ent = (plist_entry *)pl->data;
|
||||
- if(ent->filename) printf("%s ", ent->filename);
|
||||
- if(ent->title) printf("%s ", ent->title);
|
||||
- printf("%d\n", ent->length);
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-
|
||||
/* ---------------------------------------------------------------------- */
|
||||
static void tpl_refresh_playlist(GList *pl)
|
||||
{
|
||||
@@ -251,10 +233,10 @@ static void tpl_refresh_playlist(GList *
|
||||
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
-static int tpl_int_compare_func(const void *a, const void *b)
|
||||
+static gint tpl_int_compare_func(gconstpointer a, gconstpointer b)
|
||||
{
|
||||
- if((gint) a < (gint) b) return -1;
|
||||
- if((gint) a > (gint) b) return 1;
|
||||
+ if(GPOINTER_TO_INT(a) < GPOINTER_TO_INT(b)) return -1;
|
||||
+ if(GPOINTER_TO_INT(a) > GPOINTER_TO_INT(b)) return 1;
|
||||
else return 0;
|
||||
}
|
||||
|
3
graphics/xmms-kj/pkg/DESCR
Normal file
3
graphics/xmms-kj/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Allows you to use K-Jöfol skins with XMMS.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
4
graphics/xmms-kj/pkg/PLIST
Normal file
4
graphics/xmms-kj/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/07/30 17:23:24 wcobb Exp $
|
||||
lib/xmms/Visualization/libkjofol.so
|
||||
share/xmms/kjofol/default.zip
|
||||
@dirrm share/xmms/kjofol
|
Loading…
Reference in New Issue
Block a user