summaryrefslogtreecommitdiffstats
path: root/audio/lindele
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-25 14:20:46 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-25 14:20:46 +0800
commitb1c0d472ef0f1459b76e96089e06dd910f80c813 (patch)
tree002cc1f803ef0ed226e5e3555b6613a767ee1578 /audio/lindele
parent646c9252aed002ccc3371781d89f8de739e03c11 (diff)
downloadmarcuscom-ports-b1c0d472ef0f1459b76e96089e06dd910f80c813.tar
marcuscom-ports-b1c0d472ef0f1459b76e96089e06dd910f80c813.tar.gz
marcuscom-ports-b1c0d472ef0f1459b76e96089e06dd910f80c813.tar.bz2
marcuscom-ports-b1c0d472ef0f1459b76e96089e06dd910f80c813.tar.lz
marcuscom-ports-b1c0d472ef0f1459b76e96089e06dd910f80c813.tar.xz
marcuscom-ports-b1c0d472ef0f1459b76e96089e06dd910f80c813.tar.zst
marcuscom-ports-b1c0d472ef0f1459b76e96089e06dd910f80c813.zip
USE_X_PREFIX -> USE_XLIB, bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6791 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/lindele')
-rw-r--r--audio/lindele/Makefile35
-rw-r--r--audio/lindele/distinfo3
-rw-r--r--audio/lindele/files/patch-src::gui.c10
-rw-r--r--audio/lindele/files/patch-src::lindele.c19
-rw-r--r--audio/lindele/files/patch-src::main.c20
-rw-r--r--audio/lindele/files/patch-src::playlist.c10
-rw-r--r--audio/lindele/pkg-descr7
-rw-r--r--audio/lindele/pkg-plist12
8 files changed, 116 insertions, 0 deletions
diff --git a/audio/lindele/Makefile b/audio/lindele/Makefile
new file mode 100644
index 000000000..1583d23e4
--- /dev/null
+++ b/audio/lindele/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: lindele
+# Date created: 26 Jul 2004
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lindele
+PORTVERSION= 0.1.1
+PORTREVISION= 5
+CATEGORIES= audio
+MASTER_SITES= http://download.gna.org/${PORTNAME}/
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= Yet another simple GNOME music player
+
+RUN_DEPENDS= musicbox-tag-editor:${PORTSDIR}/audio/musicbox-tag-editor
+LIB_DEPENDS= vorbis:${PORTSDIR}/audio/libvorbis \
+ tag:${PORTSDIR}/audio/taglib
+
+USE_XLIB= yes
+USE_GNOME= gnomehack gnomeprefix libgnomeui
+USE_GSTREAMER80= gconf
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|musicbox|musicbox-tag-editor|g' \
+ ${WRKSRC}/src/gui.c \
+ ${WRKSRC}/src/lindele.c
+ @${REINPLACE_CMD} -e 's|@prefix@/share|@datadir@|' \
+ ${WRKSRC}/data/lindele.glade.in
+
+.include <bsd.port.mk>
diff --git a/audio/lindele/distinfo b/audio/lindele/distinfo
new file mode 100644
index 000000000..fc1da08c6
--- /dev/null
+++ b/audio/lindele/distinfo
@@ -0,0 +1,3 @@
+MD5 (lindele-0.1.1.tar.gz) = 6d5387fd607fe0516bcc3ddd84dc4a77
+SHA256 (lindele-0.1.1.tar.gz) = d0aaa1b3a5be06711c5bac5dda6669c3056b510e01ccc355659a3d931f8ec363
+SIZE (lindele-0.1.1.tar.gz) = 168572
diff --git a/audio/lindele/files/patch-src::gui.c b/audio/lindele/files/patch-src::gui.c
new file mode 100644
index 000000000..794d1f856
--- /dev/null
+++ b/audio/lindele/files/patch-src::gui.c
@@ -0,0 +1,10 @@
+--- src/gui.c.orig Tue Jan 18 02:32:02 2005
++++ src/gui.c Tue Jan 18 02:32:04 2005
+@@ -303,7 +303,6 @@
+
+ gboolean on_tree_popup_menu (GtkWidget *widget)
+ {
+- g_printf("got popup-menu signal\n");
+ popup_context_menu(widget,NULL);
+ return TRUE;
+ }
diff --git a/audio/lindele/files/patch-src::lindele.c b/audio/lindele/files/patch-src::lindele.c
new file mode 100644
index 000000000..032bb4f77
--- /dev/null
+++ b/audio/lindele/files/patch-src::lindele.c
@@ -0,0 +1,19 @@
+--- src/lindele.c.orig Tue Jan 18 02:30:18 2005
++++ src/lindele.c Tue Jan 18 02:30:28 2005
+@@ -82,6 +82,7 @@
+ const gchar *documenters[] = {NULL};
+ const gchar *translator_credits = NULL;
+ GdkPixbuf *logo_pixbuf = gdk_pixbuf_new_from_file(LINDELE_PNG,NULL);
++ gchar *gladepath;
+
+ object->mmkeys = mmkeys_new();
+ object->player = init_player();
+@@ -90,7 +91,7 @@
+ object->random = FALSE;
+ object->repeat = FALSE;
+
+- gchar* gladepath = g_strconcat(DATADIR,"/lindele/lindele.glade",NULL);
++ gladepath = g_strconcat(DATADIR,"/lindele/lindele.glade",NULL);
+ //gchar* gladepath = g_strconcat("/home/link/Hacking/lindele/lindele-head/data/lindele.glade",NULL);
+
+ object->xml = glade_xml_new (gladepath, NULL, NULL);
diff --git a/audio/lindele/files/patch-src::main.c b/audio/lindele/files/patch-src::main.c
new file mode 100644
index 000000000..4410b1ec8
--- /dev/null
+++ b/audio/lindele/files/patch-src::main.c
@@ -0,0 +1,20 @@
+--- src/main.c.orig Tue Jan 18 02:24:29 2005
++++ src/main.c Tue Jan 18 02:24:53 2005
+@@ -21,6 +21,8 @@
+ int
+ main (int argc, char *argv[])
+ {
++ Lindele *lindele;
++
+ gst_init(&argc, &argv);
+ glade_init();
+ gnome_program_init ("lindele", VERSION,
+@@ -28,7 +30,7 @@
+ argc, argv,
+ GNOME_PARAM_APP_DATADIR, DATADIR, NULL);
+
+- Lindele *lindele = lindele_new();
++ lindele = lindele_new();
+
+ gtk_main();
+
diff --git a/audio/lindele/files/patch-src::playlist.c b/audio/lindele/files/patch-src::playlist.c
new file mode 100644
index 000000000..99cc8d200
--- /dev/null
+++ b/audio/lindele/files/patch-src::playlist.c
@@ -0,0 +1,10 @@
+--- src/playlist.c.orig Tue Jan 18 02:25:55 2005
++++ src/playlist.c Tue Jan 18 02:25:57 2005
+@@ -458,7 +458,6 @@
+ void
+ popup_context_menu(GtkWidget *widget, GdkEventButton *event)
+ {
+- g_printf("entry into popup_context_menu\n");
+ GtkWidget *menu,*menuitem;
+ int button, event_time;
+
diff --git a/audio/lindele/pkg-descr b/audio/lindele/pkg-descr
new file mode 100644
index 000000000..f7dbc0e3d
--- /dev/null
+++ b/audio/lindele/pkg-descr
@@ -0,0 +1,7 @@
+Lindele is a simple music player for the GNOME Desktop. It has basic
+playlist support, random, repeat, searching, sorting, and a
+notification area icon. It can edit ID3, Vorbis and FLAC tags via
+MusicBox.
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/audio/lindele/pkg-plist b/audio/lindele/pkg-plist
new file mode 100644
index 000000000..2ca7e7d0d
--- /dev/null
+++ b/audio/lindele/pkg-plist
@@ -0,0 +1,12 @@
+bin/lindele
+share/gnome/applications/lindele.desktop
+share/gnome/lindele/lindele.glade
+share/gnome/lindele/load.png
+share/gnome/lindele/next.png
+share/gnome/lindele/pause.png
+share/gnome/lindele/play.png
+share/gnome/lindele/playing.png
+share/gnome/lindele/prev.png
+share/gnome/lindele/stop.png
+share/gnome/pixmaps/lindele.png
+@dirrm share/gnome/lindele