diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-02-09 08:40:27 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-02-09 08:40:27 +0800 |
commit | 695ba76f729acbfe60886252c12c0ee392a9ba5c (patch) | |
tree | 977d760410cf1c2a0e51d91a3887ababa49c8ead | |
parent | 619b1a18553cb6028fbb75d5d05b142c9a098860 (diff) | |
download | marcuscom-ports-695ba76f729acbfe60886252c12c0ee392a9ba5c.tar marcuscom-ports-695ba76f729acbfe60886252c12c0ee392a9ba5c.tar.gz marcuscom-ports-695ba76f729acbfe60886252c12c0ee392a9ba5c.tar.bz2 marcuscom-ports-695ba76f729acbfe60886252c12c0ee392a9ba5c.tar.lz marcuscom-ports-695ba76f729acbfe60886252c12c0ee392a9ba5c.tar.xz marcuscom-ports-695ba76f729acbfe60886252c12c0ee392a9ba5c.tar.zst marcuscom-ports-695ba76f729acbfe60886252c12c0ee392a9ba5c.zip |
Add lindele at version 0.1.1 with new USE_GSTREAMER macro
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3593 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | audio/lindele/Makefile | 35 | ||||
-rw-r--r-- | audio/lindele/distinfo | 2 | ||||
-rw-r--r-- | audio/lindele/files/patch-src::gui.c | 10 | ||||
-rw-r--r-- | audio/lindele/files/patch-src::lindele.c | 19 | ||||
-rw-r--r-- | audio/lindele/files/patch-src::main.c | 20 | ||||
-rw-r--r-- | audio/lindele/files/patch-src::playlist.c | 10 | ||||
-rw-r--r-- | audio/lindele/pkg-descr | 9 | ||||
-rw-r--r-- | audio/lindele/pkg-plist | 12 |
8 files changed, 117 insertions, 0 deletions
diff --git a/audio/lindele/Makefile b/audio/lindele/Makefile new file mode 100644 index 000000000..56853e3f7 --- /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: ports/audio/lindele/Makefile,v 1.6 2005/01/19 23:16:24 pav Exp $ +# + +PORTNAME= lindele +PORTVERSION= 0.1.1 +CATEGORIES= audio +MASTER_SITES= http://download.gna.org/${PORTNAME}/ + +MAINTAINER= jylefort@brutele.be +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_X_PREFIX= yes +USE_REINPLACE= yes +USE_GNOME= gnomehack gnomeprefix libgnomeui +USE_GSTREAMER= yes +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..d066bd939 --- /dev/null +++ b/audio/lindele/distinfo @@ -0,0 +1,2 @@ +MD5 (lindele-0.1.1.tar.gz) = 6d5387fd607fe0516bcc3ddd84dc4a77 +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..251e07776 --- /dev/null +++ b/audio/lindele/pkg-descr @@ -0,0 +1,9 @@ +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. + +WWW: http://projects.subpop.net/lindele/ + +- Jean-Yves Lefort +jylefort@brutele.be 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 |