diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/streamtuner | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/streamtuner')
8 files changed, 361 insertions, 0 deletions
diff --git a/net-misc/streamtuner/Manifest b/net-misc/streamtuner/Manifest new file mode 100644 index 000000000000..99c0542df118 --- /dev/null +++ b/net-misc/streamtuner/Manifest @@ -0,0 +1,2 @@ +DIST streamtuner-0.99.99-pygtk-2.6.diff 437 SHA256 8629df3b297f57b94afddf479c405b3922a74447318fbb8075cbdd0b91bac7ec SHA512 2471df9ba05d06b44f0f859d61799c92388bbe4ec78d334c1bb33f6f290b7991b4d4e8c53ecbed9052b3f1aa0cdac71f7bc6a1c183dd37e4f31918e50f17b7f7 WHIRLPOOL 5903121cb16a580fa869ef1e4c6c45910ef6d88518d02273e5a7ea4ac22b1ae8fae412a730d7a9e13858a43fa4aa2d71b6b9098e95d47d3e50f1b6d86e31941e +DIST streamtuner-0.99.99.tar.gz 948075 SHA256 5c223a5e8dab9e504617bd221914e97bd2f0ae5f6ed8fe78b8ea8b427fee9123 SHA512 a0b185847e2c7b70f8e9c393c28379cac889b6508ace0d3db2ddf86afa4f705d1faebccc90c053123d139813730f25c033eac5c0545e9eb9a8ae4b70031cf7ef WHIRLPOOL 0efba3233b240e9868c936b5b793364693a7af3b764c95b1e19061ad13c1ef444dd94a046e40d67d50ae85c25c0ee8bbbd82b6d06fbd88ed577fd6475c0ca1b9 diff --git a/net-misc/streamtuner/files/streamtuner-0.99.99-audacious.patch b/net-misc/streamtuner/files/streamtuner-0.99.99-audacious.patch new file mode 100644 index 000000000000..75eb2738e6b0 --- /dev/null +++ b/net-misc/streamtuner/files/streamtuner-0.99.99-audacious.patch @@ -0,0 +1,60 @@ +diff -ur streamtuner-0.99.99.orig/src/plugins/live365/live365.c streamtuner-0.99.99/src/plugins/live365/live365.c +--- streamtuner-0.99.99.orig/src/plugins/live365/live365.c 2004-12-19 12:27:03.000000000 +0200 ++++ streamtuner-0.99.99/src/plugins/live365/live365.c 2009-01-18 20:03:35.000000000 +0200 +@@ -1411,7 +1411,7 @@ + + st_action_register("record-stream", _("Record a stream"), "xterm -e streamripper %q"); + st_action_register("view-web", _("Open a web page"), "epiphany %q"); +- st_action_register("play-stream", _("Listen to a stream"), "xmms %q"); ++ st_action_register("play-stream", _("Listen to a stream"), "audacious2 %q"); + + return TRUE; + } +diff -ur streamtuner-0.99.99.orig/src/plugins/local/local.c streamtuner-0.99.99/src/plugins/local/local.c +--- streamtuner-0.99.99.orig/src/plugins/local/local.c 2004-12-13 09:39:29.000000000 +0200 ++++ streamtuner-0.99.99/src/plugins/local/local.c 2009-01-18 20:03:49.000000000 +0200 +@@ -1057,7 +1057,7 @@ + + init_handler(); + +- st_action_register("play-m3u", _("Listen to a .m3u file"), "xmms %q"); ++ st_action_register("play-m3u", _("Listen to a .m3u file"), "audacious2 %q"); + st_action_register("view-web", _("Open a web page"), "epiphany %q"); + + return TRUE; +diff -ur streamtuner-0.99.99.orig/src/plugins/shoutcast/shoutcast.c streamtuner-0.99.99/src/plugins/shoutcast/shoutcast.c +--- streamtuner-0.99.99.orig/src/plugins/shoutcast/shoutcast.c 2004-12-19 17:21:00.000000000 +0200 ++++ streamtuner-0.99.99/src/plugins/shoutcast/shoutcast.c 2009-01-18 20:03:42.000000000 +0200 +@@ -959,7 +959,7 @@ + + init_handler(); + +- st_action_register("play-m3u", _("Listen to a .m3u file"), "xmms %q"); ++ st_action_register("play-m3u", _("Listen to a .m3u file"), "audacious2 %q"); + st_action_register("record-stream", _("Record a stream"), "xterm -e streamripper %q"); + st_action_register("view-web", _("Open a web page"), "epiphany %q"); + +diff -ur streamtuner-0.99.99.orig/src/plugins/xiph/xiph.c streamtuner-0.99.99/src/plugins/xiph/xiph.c +--- streamtuner-0.99.99.orig/src/plugins/xiph/xiph.c 2004-12-13 11:57:33.000000000 +0200 ++++ streamtuner-0.99.99/src/plugins/xiph/xiph.c 2009-01-18 20:04:17.000000000 +0200 +@@ -957,7 +957,7 @@ + init_handler(); + + st_action_register("record-stream", _("Record a stream"), "xterm -e streamripper %q"); +- st_action_register("play-stream", _("Listen to a stream"), "xmms %q"); ++ st_action_register("play-stream", _("Listen to a stream"), "audacious2 %q"); + + return TRUE; + } +diff -ur streamtuner-0.99.99.orig/src/streamtuner/st-preselections.c streamtuner-0.99.99/src/streamtuner/st-preselections.c +--- streamtuner-0.99.99.orig/src/streamtuner/st-preselections.c 2004-12-13 11:57:52.000000000 +0200 ++++ streamtuner-0.99.99/src/streamtuner/st-preselections.c 2009-01-18 20:04:02.000000000 +0200 +@@ -390,7 +390,7 @@ + { + st_preselections_init_handler(); + +- st_action_register("play-stream", _("Listen to a stream"), "xmms %q"); ++ st_action_register("play-stream", _("Listen to a stream"), "audacious2 %q"); + st_action_register("record-stream", _("Record a stream"), "xterm -e streamripper %q"); + st_action_register("view-web", _("Open a web page"), "epiphany %q"); + } diff --git a/net-misc/streamtuner/files/streamtuner-0.99.99-gentoo.patch b/net-misc/streamtuner/files/streamtuner-0.99.99-gentoo.patch new file mode 100644 index 000000000000..2e5d843420da --- /dev/null +++ b/net-misc/streamtuner/files/streamtuner-0.99.99-gentoo.patch @@ -0,0 +1,181 @@ +diff -ur streamtuner-0.99.99.orig/data/streamtuner.pc.in streamtuner-0.99.99/data/streamtuner.pc.in +--- streamtuner-0.99.99.orig/data/streamtuner.pc.in 2004-12-11 04:03:20.000000000 +0200 ++++ streamtuner-0.99.99/data/streamtuner.pc.in 2007-07-29 09:40:44.000000000 +0300 +@@ -1,9 +1,8 @@ + prefix=@prefix@ + includedir=@includedir@/streamtuner +-oldincludedir=@includedir@ + + Name: @PACKAGE@ + Description: A stream directory browser + Version: @VERSION@ + Requires: gmodule-2.0 gtk+-2.0 +-Cflags: -I${includedir} -I${oldincludedir} ++Cflags: -I${includedir} +diff -ur streamtuner-0.99.99.orig/docs/reference/Makefile.in streamtuner-0.99.99/docs/reference/Makefile.in +--- streamtuner-0.99.99.orig/docs/reference/Makefile.in 2004-12-21 17:31:18.000000000 +0200 ++++ streamtuner-0.99.99/docs/reference/Makefile.in 2007-07-29 09:41:15.000000000 +0300 +@@ -517,7 +517,7 @@ + @ENABLE_GTK_DOC_TRUE@ rm -rf $(srcdir)/html + @ENABLE_GTK_DOC_TRUE@ mkdir $(srcdir)/html + @ENABLE_GTK_DOC_TRUE@ cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) +-@ENABLE_GTK_DOC_TRUE@ sed -i "" -e \ ++@ENABLE_GTK_DOC_TRUE@ sed -i -e \ + @ENABLE_GTK_DOC_TRUE@ 's/background: #ffeeee/background: #daffd1/g; \ + @ENABLE_GTK_DOC_TRUE@ s/border: solid 1px #ffaaaa/border: solid 1px #74ff54/g; \ + @ENABLE_GTK_DOC_TRUE@ s/background: #eeeeff/background: #feffde/g; \ +diff -ur streamtuner-0.99.99.orig/help/omf.make streamtuner-0.99.99/help/omf.make +--- streamtuner-0.99.99.orig/help/omf.make 2004-03-23 18:17:10.000000000 +0200 ++++ streamtuner-0.99.99/help/omf.make 2007-07-29 09:42:50.000000000 +0300 +@@ -42,7 +42,9 @@ + for file in $(omffile); do \ + $(INSTALL_DATA) $(srcdir)/$$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \ + done +- -scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir) ++ if test -z "$(DESTDIR)"; then \ ++ scrollkeeper-update -p $(DESTDIR)$(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir); \ ++ fi + + uninstall-local-omf: + -for file in $(srcdir)/*.omf; do \ +diff -ur streamtuner-0.99.99.orig/src/streamtuner/st-category-store.c streamtuner-0.99.99/src/streamtuner/st-category-store.c +--- streamtuner-0.99.99.orig/src/streamtuner/st-category-store.c 2004-12-18 11:17:32.000000000 +0200 ++++ streamtuner-0.99.99/src/streamtuner/st-category-store.c 2007-07-29 09:41:46.000000000 +0300 +@@ -356,7 +356,6 @@ + { + STCategoryBag **bag = data; + STCategoryBag *this_bag; +- gboolean status; + + gtk_tree_model_get(model, iter, ST_CATEGORY_STORE_COLUMN_BAG, &this_bag, -1); + if (! ST_CATEGORY_BAG_IS_STOCK(this_bag) +@@ -376,8 +375,6 @@ + g_object_unref(this_bag); + return FALSE; /* continue */ + } +- +- return status; + } + + static gboolean +diff -ur streamtuner-0.99.99.orig/src/streamtuner/st-network-preferences-page.c streamtuner-0.99.99/src/streamtuner/st-network-preferences-page.c +--- streamtuner-0.99.99.orig/src/streamtuner/st-network-preferences-page.c 2004-12-16 15:05:07.000000000 +0200 ++++ streamtuner-0.99.99/src/streamtuner/st-network-preferences-page.c 2007-07-29 09:43:21.000000000 +0300 +@@ -183,10 +183,10 @@ + st_preferences_bind_boolean(GTK_TOGGLE_BUTTON(page->priv->proxy_check), + &st_settings.proxy_enabled); + st_preferences_bind_int_radio(GTK_RADIO_BUTTON(page->priv->http_radio), +- (int *) &st_settings.proxy_type, ++ &st_settings.proxy_type, + ST_TRANSFER_PROXY_HTTP); + st_preferences_bind_int_radio(GTK_RADIO_BUTTON(page->priv->socks5_radio), +- (int *) &st_settings.proxy_type, ++ &st_settings.proxy_type, + ST_TRANSFER_PROXY_SOCKS5); + st_preferences_bind_string(GTK_ENTRY(page->priv->server_entry), + &st_settings.proxy_server); +diff -ur streamtuner-0.99.99.orig/src/streamtuner/st-preferences.c streamtuner-0.99.99/src/streamtuner/st-preferences.c +--- streamtuner-0.99.99.orig/src/streamtuner/st-preferences.c 2004-10-17 20:43:18.000000000 +0300 ++++ streamtuner-0.99.99/src/streamtuner/st-preferences.c 2007-07-29 09:43:21.000000000 +0300 +@@ -140,13 +140,13 @@ + } + + void +-st_preferences_bind_int_radio (GtkRadioButton *radio, int *ptr, int value) ++st_preferences_bind_int_radio (GtkRadioButton *radio, void *ptr, int value) + { + g_return_if_fail(GTK_IS_RADIO_BUTTON(radio)); + g_return_if_fail(ptr != NULL); + + g_object_set_data(G_OBJECT(radio), "value", GINT_TO_POINTER(value)); +- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(radio), value == *ptr); ++ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(radio), value == *(int *)ptr); + g_signal_connect(radio, "toggled", G_CALLBACK(st_preferences_radio_toggled_h), ptr); + } + +diff -ur streamtuner-0.99.99.orig/src/streamtuner/st-preferences.h streamtuner-0.99.99/src/streamtuner/st-preferences.h +--- streamtuner-0.99.99.orig/src/streamtuner/st-preferences.h 2004-10-17 20:42:06.000000000 +0300 ++++ streamtuner-0.99.99/src/streamtuner/st-preferences.h 2007-07-29 09:43:21.000000000 +0300 +@@ -42,7 +42,7 @@ + void st_preferences_bind_int_spin (GtkSpinButton *spin, + int *ptr); + void st_preferences_bind_int_radio (GtkRadioButton *radio, +- int *ptr, ++ void *ptr, + int value); + + #endif /* _ST_PREFERENCES_H */ +diff -ur streamtuner-0.99.99.orig/src/streamtuner/st-shell.c streamtuner-0.99.99/src/streamtuner/st-shell.c +--- streamtuner-0.99.99.orig/src/streamtuner/st-shell.c 2004-12-20 18:09:03.000000000 +0200 ++++ streamtuner-0.99.99/src/streamtuner/st-shell.c 2007-07-29 09:43:21.000000000 +0300 +@@ -465,8 +465,10 @@ + static void + st_shell_make_window (STShell *shell) + { ++ union { GtkWidget **wpp; gpointer *gpp; }pun = { &shell->priv->window }; ++ + shell->priv->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); +- g_object_add_weak_pointer(G_OBJECT(shell->priv->window), (gpointer *) &shell->priv->window); ++ g_object_add_weak_pointer(G_OBJECT(shell->priv->window), pun.gpp); + + shell->priv->accel_group = gtk_accel_group_new(); + gtk_window_add_accel_group(GTK_WINDOW(shell->priv->window), shell->priv->accel_group); +@@ -1786,8 +1788,10 @@ + gtk_window_present(GTK_WINDOW(shell->priv->find)); + else + { ++ union { GtkWidget **wpp; gpointer *gpp; }pun = { &shell->priv->find }; ++ + shell->priv->find = sgtk_find_dialog_new(GTK_WINDOW(shell->priv->window)); +- g_object_add_weak_pointer(G_OBJECT(shell->priv->find), (gpointer *) &shell->priv->find); ++ g_object_add_weak_pointer(G_OBJECT(shell->priv->find), pun.gpp); + + sgtk_find_dialog_set_token(SGTK_FIND_DIALOG(shell->priv->find), st_settings.find_token ? st_settings.find_token : ""); + sgtk_find_dialog_set_history(SGTK_FIND_DIALOG(shell->priv->find), st_settings.find_history); +@@ -2101,8 +2105,9 @@ + gtk_window_present(GTK_WINDOW(shell->priv->stream_properties)); + else + { ++ union { GtkWidget **wpp; gpointer *gpp; }pun = { &shell->priv->stream_properties }; + shell->priv->stream_properties = st_stream_properties_dialog_new(GTK_WINDOW(shell->priv->window)); +- g_object_add_weak_pointer(G_OBJECT(shell->priv->stream_properties), (gpointer *) &shell->priv->stream_properties); ++ g_object_add_weak_pointer(G_OBJECT(shell->priv->stream_properties), pun.gpp); + + g_signal_connect(shell->priv->stream_properties, + "response", +@@ -2161,9 +2166,10 @@ + else + { + STBrowserTab *selected_tab; ++ union { GtkWidget **wpp; gpointer *gpp; }pun = { &shell->priv->stream_columns }; + + shell->priv->stream_columns = st_stream_columns_dialog_new(GTK_WINDOW(shell->priv->window)); +- g_object_add_weak_pointer(G_OBJECT(shell->priv->stream_columns), (gpointer *) &shell->priv->stream_columns); ++ g_object_add_weak_pointer(G_OBJECT(shell->priv->stream_columns), pun.gpp); + + selected_tab = st_shell_get_selected_tab(shell); + if (selected_tab) +@@ -2195,8 +2201,10 @@ + gtk_window_present(GTK_WINDOW(shell->priv->about)); + else + { ++ union { GtkWidget **wpp; gpointer *gpp; }pun = { &shell->priv->about }; ++ + shell->priv->about = st_about_dialog_new(GTK_WINDOW(shell->priv->window)); +- g_object_add_weak_pointer(G_OBJECT(shell->priv->about), (gpointer *) &shell->priv->about); ++ g_object_add_weak_pointer(G_OBJECT(shell->priv->about), pun.gpp); + + g_signal_connect(shell->priv->about, + "response", +@@ -2244,8 +2252,10 @@ + + if (! shell->priv->preferences) + { ++ union { GtkWidget **wpp; gpointer *gpp; }pun = { &shell->priv->preferences }; ++ + shell->priv->preferences = st_preferences_dialog_new(GTK_WINDOW(shell->priv->window)); +- g_object_add_weak_pointer(G_OBJECT(shell->priv->preferences), (gpointer *) &shell->priv->preferences); ++ g_object_add_weak_pointer(G_OBJECT(shell->priv->preferences), pun.gpp); + } + + if (handler) diff --git a/net-misc/streamtuner/files/streamtuner-0.99.99-shoutcast-2.patch b/net-misc/streamtuner/files/streamtuner-0.99.99-shoutcast-2.patch new file mode 100644 index 000000000000..e62df03d0434 --- /dev/null +++ b/net-misc/streamtuner/files/streamtuner-0.99.99-shoutcast-2.patch @@ -0,0 +1,5 @@ +--- src/plugins/shoutcast/shoutcast.c ++++ src/plugins/shoutcast/shoutcast.c +@@ -40,1 +40,1 @@ +-#define SHOUTCAST_ROOT "http://www.shoutcast.com/" ++#define SHOUTCAST_ROOT "http://classic.shoutcast.com/" diff --git a/net-misc/streamtuner/files/streamtuner-0.99.99-shoutcast.patch b/net-misc/streamtuner/files/streamtuner-0.99.99-shoutcast.patch new file mode 100644 index 000000000000..b7db78b20b76 --- /dev/null +++ b/net-misc/streamtuner/files/streamtuner-0.99.99-shoutcast.patch @@ -0,0 +1,40 @@ +--- src/plugins/shoutcast/shoutcast.c.orig 2004-12-19 15:21:00.000000000 +0000 ++++ src/plugins/shoutcast/shoutcast.c 2008-03-16 10:39:24.000000000 +0000 +@@ -94,6 +94,8 @@ + + GNode *parent_node; + SHOUTcastStream *stream; ++ ++ int parse_genres; + } ReloadInfo; + + /*** variable declarations ***************************************************/ +@@ -518,6 +520,7 @@ + info.npages = 0; + info.parent_node = NULL; + info.stream = NULL; ++ info.parse_genres = 0; + + status = st_transfer_session_get_by_line(session, + url, +@@ -565,10 +568,16 @@ + info->stream = stream_new_cb(NULL); + info->stream->url_postfix = st_sgml_ref_expand_len(s1, s2 - s1); + } +- else if (info->page < 2 +- && (((s1 = st_str_has_prefix_span(line, "\t<OPTION VALUE=\"")) +- || (s1 = st_str_has_prefix_span(line, "\t\t<OPTION VALUE=\""))) +- && (s2 = strstr(s1, "\">")))) ++ else if (info->page < 2 && (s1 = st_strstr_span(line, "<OPTION VALUE=\"TopTen\">"))) ++ { ++ info->parse_genres = 1; ++ } ++ else if (info->page < 2 && info->parse_genres == 1 && (s1 = st_strstr_span(line, "</SELECT>"))) ++ { ++ info->parse_genres = 0; ++ } ++ else if (info->page < 2 && info->parse_genres == 1 ++ && ((s1 = st_strstr_span(line, "<OPTION VALUE=\"")) && (s2 = strstr(s1, "\">")))) + { + STCategory *category; + GNode *node; diff --git a/net-misc/streamtuner/files/streamtuner-0.99.99-stack_increase.patch b/net-misc/streamtuner/files/streamtuner-0.99.99-stack_increase.patch new file mode 100644 index 000000000000..0b64aa72b098 --- /dev/null +++ b/net-misc/streamtuner/files/streamtuner-0.99.99-stack_increase.patch @@ -0,0 +1,5 @@ +--- src/streamtuner/st-thread.c ++++ src/streamtuner/st-thread.c +@@ -108,1 +108,1 @@ +- 0x18000, /* 96k, big enough for libcurl */ ++ 0x40000, /* change from 96k to 256k */ diff --git a/net-misc/streamtuner/metadata.xml b/net-misc/streamtuner/metadata.xml new file mode 100644 index 000000000000..1c466c63d014 --- /dev/null +++ b/net-misc/streamtuner/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <use> + <flag name="shout">Enable shoutcast plug-in.</flag> + <flag name="xiph">Enable xiph.org plug-in.</flag> + </use> +</pkgmetadata> diff --git a/net-misc/streamtuner/streamtuner-0.99.99-r5.ebuild b/net-misc/streamtuner/streamtuner-0.99.99-r5.ebuild new file mode 100644 index 000000000000..3ea7e4a828a9 --- /dev/null +++ b/net-misc/streamtuner/streamtuner-0.99.99-r5.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +GCONF_DEBUG=no +inherit eutils gnome2 + +DESCRIPTION="Stream directory browser for browsing internet radio streams" +HOMEPAGE="http://www.nongnu.org/streamtuner" +SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.gz + http://savannah.nongnu.org/download/${PN}/${P}-pygtk-2.6.diff" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="python +shout +xiph" + +RDEPEND=" + >=x11-libs/gtk+-2.4:2 + net-misc/curl + app-text/scrollkeeper + xiph? ( dev-libs/libxml2:2 ) + >=media-libs/taglib-1.2 + python? ( dev-python/pygtk:2 ) + x11-misc/xdg-utils +" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + virtual/pkgconfig +" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-shoutcast.patch \ + "${FILESDIR}"/${P}-shoutcast-2.patch \ + "${FILESDIR}"/${P}-audacious.patch \ + "${DISTDIR}"/${P}-pygtk-2.6.diff \ + "${FILESDIR}"/${P}-stack_increase.patch + + # Fix .desktop file + sed -i \ + -e 's/streamtuner.png/streamtuner/' \ + -e 's/Categories=Application;/Categories=/' \ + data/streamtuner.desktop.in || die + + gnome2_src_prepare +} + +src_configure() { + # live365 causes parse errors at connect time + # The right value for compile-warning for this is 'yes' (#481124) + gnome2_src_configure \ + --enable-compile-warnings=yes \ + --disable-live365 \ + $(use_enable python) \ + $(use_enable shout shoutcast) \ + $(use_enable xiph) +} |