aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-07-29 01:03:20 +0800
committerpav <pav@FreeBSD.org>2004-07-29 01:03:20 +0800
commit97ac88b90a75e4ac6d776d0dcc631261762550a3 (patch)
tree1a2370f545ed8a3c88f90a940b887405d2861c74 /audio
parent9f3186813553add8abb197cc3dbe04fb949e00c4 (diff)
downloadfreebsd-ports-gnome-97ac88b90a75e4ac6d776d0dcc631261762550a3.tar.gz
freebsd-ports-gnome-97ac88b90a75e4ac6d776d0dcc631261762550a3.tar.zst
freebsd-ports-gnome-97ac88b90a75e4ac6d776d0dcc631261762550a3.zip
Add lindele, yet another simple GNOME music player.
PR: ports/69639 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/lindele/Makefile26
-rw-r--r--audio/lindele/distinfo2
-rw-r--r--audio/lindele/files/patch-src::gui.c56
-rw-r--r--audio/lindele/files/patch-src::main.c19
-rw-r--r--audio/lindele/files/patch-src::playlist.c14
-rw-r--r--audio/lindele/pkg-descr9
-rw-r--r--audio/lindele/pkg-plist12
8 files changed, 139 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 73ad5eaae17d..903bb4db27e5 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -181,6 +181,7 @@
SUBDIR += libvorbis
SUBDIR += libvorbis-aotuv
SUBDIR += libworkman
+ SUBDIR += lindele
SUBDIR += linux-arts
SUBDIR += linux-esound
SUBDIR += linux-libaudiofile
diff --git a/audio/lindele/Makefile b/audio/lindele/Makefile
new file mode 100644
index 000000000000..d5b69513aad2
--- /dev/null
+++ b/audio/lindele/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: lindele
+# Date created: 26 Jul 2004
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lindele
+PORTVERSION= 0.1.0
+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_GNOME= gnomehack gnomeprefix libgnomeui gstreamerplugins
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.mk>
diff --git a/audio/lindele/distinfo b/audio/lindele/distinfo
new file mode 100644
index 000000000000..5453e49db781
--- /dev/null
+++ b/audio/lindele/distinfo
@@ -0,0 +1,2 @@
+MD5 (lindele-0.1.0.tar.gz) = f86c1b6b846357f6fa5778286a9ab869
+SIZE (lindele-0.1.0.tar.gz) = 168128
diff --git a/audio/lindele/files/patch-src::gui.c b/audio/lindele/files/patch-src::gui.c
new file mode 100644
index 000000000000..c28390fa30d6
--- /dev/null
+++ b/audio/lindele/files/patch-src::gui.c
@@ -0,0 +1,56 @@
+--- src/gui.c.orig Mon Jul 26 22:14:52 2004
++++ src/gui.c Tue Jul 27 00:47:21 2004
+@@ -26,6 +26,7 @@
+
+ void on_about_activate(GtkMenuItem *menu, Lindele *l)
+ {
++ l->about = do_about();
+ gtk_widget_show (GTK_WIDGET(l->about));
+ }
+
+@@ -130,14 +131,14 @@
+
+ void on_properties_activate (GtkWidget *menu, Lindele *l)
+ {
+- if(g_file_test(g_find_program_in_path("musicbox"),G_FILE_TEST_IS_EXECUTABLE))
++ if(g_file_test(g_find_program_in_path("musicbox-tag-editor"),G_FILE_TEST_IS_EXECUTABLE))
+ {
+- g_printf("EXECUTE: %s\n",g_strconcat("musicbox \"",playlist_get_current_filepath(l),"\"",NULL));
+- gnome_execute_shell(NULL,g_strconcat("musicbox \"",playlist_get_current_filepath(l),"\"",NULL));
++ g_printf("EXECUTE: %s\n",g_strconcat("musicbox-tag-editor \"",playlist_get_current_filepath(l),"\"",NULL));
++ gnome_execute_shell(NULL,g_strconcat("musicbox-tag-editor \"",playlist_get_current_filepath(l),"\"",NULL));
+ }
+ else
+ {
+- g_printf("musicbox is not installed on your system\n.");
++ g_printf("musicbox-tag-editor is not installed on your system\n.");
+ }
+ }
+
+@@ -385,13 +386,15 @@
+ {
+ GtkTreeViewColumn *column;
+ GtkCellRenderer *cellrenderer;
++ gchar* gladepath;
+
+ l->mmkeys = mmkeys_new();
+ l->player = init_player();
+- l->about = do_about();
+ l->playlist_num = 0;
++ l->random = FALSE;
++ l->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-work/data/lindele.glade",NULL);
+
+ l->xml = glade_xml_new (gladepath, NULL, NULL);
+@@ -468,7 +471,7 @@
+
+ /* Disable the preferences, since its not implemented. */
+ gtk_widget_set_sensitive(GTK_WIDGET(glade_xml_get_widget(l->xml,"m_preferences")),FALSE);
+- if(! g_file_test(g_find_program_in_path("musicbox"),G_FILE_TEST_IS_EXECUTABLE))
++ if(! g_file_test(g_find_program_in_path("musicbox-tag-editor"),G_FILE_TEST_IS_EXECUTABLE))
+ gtk_widget_set_sensitive(GTK_WIDGET(glade_xml_get_widget(l->xml,"m_properties")),FALSE);
+
+ update_buttons(l);
diff --git a/audio/lindele/files/patch-src::main.c b/audio/lindele/files/patch-src::main.c
new file mode 100644
index 000000000000..088f9783493c
--- /dev/null
+++ b/audio/lindele/files/patch-src::main.c
@@ -0,0 +1,19 @@
+--- src/main.c.orig Mon Jul 26 22:14:22 2004
++++ src/main.c Mon Jul 26 22:14:39 2004
+@@ -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,6 @@
+ argc, argv,
+ GNOME_PARAM_APP_DATADIR, DATADIR, NULL);
+
+- Lindele lindele;
+ init_lindele(&lindele);
+
+ 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 000000000000..f395617b58c9
--- /dev/null
+++ b/audio/lindele/files/patch-src::playlist.c
@@ -0,0 +1,14 @@
+--- src/playlist.c.orig Mon Jul 26 22:15:56 2004
++++ src/playlist.c Mon Jul 26 22:16:13 2004
+@@ -458,10 +458,10 @@
+ void
+ popup_context_menu(GtkWidget *widget, GdkEventButton *event)
+ {
+- g_printf("entry into popup_context_menu\n");
+ GtkWidget *menu,*menuitem;
+ int button, event_time;
+
++ g_printf("entry into popup_context_menu\n");
+ menu = gtk_menu_new ();
+ g_signal_connect (menu,"deactivate",G_CALLBACK(gtk_widget_destroy),NULL);
+
diff --git a/audio/lindele/pkg-descr b/audio/lindele/pkg-descr
new file mode 100644
index 000000000000..251e077765d2
--- /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 000000000000..d774381b7921
--- /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/lindele.png
+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
+@dirrm share/gnome/lindele