diff options
Diffstat (limited to 'media-sound/darksnow')
-rw-r--r-- | media-sound/darksnow/Manifest | 3 | ||||
-rw-r--r-- | media-sound/darksnow/darksnow-0.7.1.ebuild | 32 | ||||
-rw-r--r-- | media-sound/darksnow/files/darksnow-0.7.1-fno-common.patch | 350 |
3 files changed, 367 insertions, 18 deletions
diff --git a/media-sound/darksnow/Manifest b/media-sound/darksnow/Manifest index 2cf9ab4bf3cc..b126ac4033d0 100644 --- a/media-sound/darksnow/Manifest +++ b/media-sound/darksnow/Manifest @@ -1,4 +1,5 @@ AUX darksnow-0.7.1-Makefile.patch 2081 BLAKE2B 5564965d0458cd330295b34b202dc532acbf3fc50eabdca285bda04ec1facdb4710e295e7b853dfbba89cde110c740cf9f37fd85f8d50f2c50115f0b6a604e08 SHA512 6d9d9ae3922278e9aaa11452550302f31f6060ca9141266f4253784556deba9eeb1880401579b5c220051221458e0b359b208994fde57f7ba4a62404f0ce20b1 +AUX darksnow-0.7.1-fno-common.patch 9078 BLAKE2B 14dc4dccbaf81ea341b812f3787afab4f5fee2c204e77b0657740dd75dbc2ece780549b45d74ccd05b89d24524f229160362a97c6e6c0f3e7b49e2f2a5b038d8 SHA512 712bdc6397e922af0cce14279af67fcfe1b9ed2d2524f4b0ba6892df502c8d887ef50e91f1f09b79dfb124cc470ec96ed3788e420ea4c39f66b044da906094be DIST darksnow-0.7.1.tar.gz 78928 BLAKE2B cae99522f8ae32bbd2c05c73b70896e71b5805fd6bb4054be0e498af1a502e7039a46223aa03bd781cab082e63f4705d2fae688c6f8a698dbfc8fced056e2684 SHA512 0ea1ff9f085127185d47169df358d2940fa9e52c52408bbaaefdf517402ddcb37b2df8b8c65bb22c3493820b47a3b4a2571cc819e81c70718684e8c3c3fe77ae -EBUILD darksnow-0.7.1.ebuild 806 BLAKE2B 4377923c776ec96a76e25b2652428b73a7f930369a6a029cf268fd594d6ff4648ece77d927a4834289363b2731c80ce75ac31b46ab3cf7bf212f1d55050242b7 SHA512 3fcd31dd1b0d26a39dbe0fbdbe28902970d0f2b5de6183815c1c5476f1c206eb34c41b0aaa8f7e6db1bf8ce791e66a0355e12309458f81592f626238c3cfa62f +EBUILD darksnow-0.7.1.ebuild 767 BLAKE2B e7c9be347f216a3c0f416860e57deb05dd4099db2315574daa10824414e658f36a79698b3fda76d815a7bb226f5322fe0c9a4c774b25c62c67536fe7a76514c5 SHA512 a92ea936952b287eed75aa24c050c0886102817efa000b50b0604e587b81a2530ed47776dbb4b1e6f754d1e8f1204953b42a7f1c7659fefb4e513c94ab3bc0a5 MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 diff --git a/media-sound/darksnow/darksnow-0.7.1.ebuild b/media-sound/darksnow/darksnow-0.7.1.ebuild index 351b2bdbed15..1a877cebfda6 100644 --- a/media-sound/darksnow/darksnow-0.7.1.ebuild +++ b/media-sound/darksnow/darksnow-0.7.1.ebuild @@ -1,39 +1,37 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit autotools eutils gnome2-utils +inherit autotools desktop xdg DESCRIPTION="Streaming GTK+ Front-End based on Darkice Ice Streamer" HOMEPAGE="http://darksnow.radiolivre.org" SRC_URI="http://darksnow.radiolivre.org/pacotes/${P}.tar.gz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="amd64 ppc sparc x86" -IUSE="" PDEPEND=">=media-sound/darkice-1.2" RDEPEND=">=x11-libs/gtk+-2.14.0:2" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-Makefile.patch + "${FILESDIR}"/${P}-fno-common.patch +) src_prepare() { - epatch "${FILESDIR}"/${P}-Makefile.patch + default + mv configure.{in,ac} || die eautoreconf } src_install() { - emake DESTDIR="${D}" install + default dodoc documentation/{CHANGES,CREDITS,README*} - make_desktop_entry ${PN} "DarkSnow" ${PN} -} - -pkg_postinst() { - gnome2_icon_cache_update -} -pkg_postrm() { - gnome2_icon_cache_update + make_desktop_entry ${PN} "DarkSnow" ${PN} } diff --git a/media-sound/darksnow/files/darksnow-0.7.1-fno-common.patch b/media-sound/darksnow/files/darksnow-0.7.1-fno-common.patch new file mode 100644 index 000000000000..5073237e5596 --- /dev/null +++ b/media-sound/darksnow/files/darksnow-0.7.1-fno-common.patch @@ -0,0 +1,350 @@ +--- a/darksnow.c ++++ b/darksnow.c +@@ -33,6 +33,118 @@ + + #ifndef __GLOBAL_H__ + #include "global.h" ++ ++void *shared_area; ++ ++int pid; ++ ++int darkice_fd; ++ ++char home[64]; ++char darksnow_cfg[64]; ++char darkice_cfg[64]; ++char darksnow_temp[64]; ++char show_detail; ++ ++GtkWidget *window; ++GtkWidget *button_start; ++GtkWidget *button_stop; ++GtkWidget *button_detail; ++GtkWidget *label_status; ++GtkWidget *table; ++ ++GtkWidget *dialog_about; ++ ++GtkWidget *dialog_darkdep; ++GtkWidget *label_darkdep; ++GtkWidget *button_darkdep; ++ ++GtkWidget *dialog_darkkill; ++GtkWidget *label_darkkill; ++GtkWidget *button_yes_darkkill; ++GtkWidget *button_no_darkkill; ++GtkWidget *button_cancel_darkkill; ++ ++GtkWidget *menu_bar; ++GtkWidget *menu_file; ++GtkWidget *menu_item_file; ++GtkWidget *menu_item_open; ++GtkWidget *menu_item_save; ++GtkWidget *menu_item_quit_nd; ++GtkWidget *menu_item_quit; ++GtkWidget *menu_help; ++GtkWidget *menu_item_help; ++GtkWidget *menu_item_about; ++GtkWidget *vbox; ++ ++GtkWidget *file_open; ++GtkWidget *file_save; ++GtkWidget *file_localdump; ++ ++GtkWidget *notebook; ++GtkWidget *label_notebook_server; ++GtkWidget *table_server; ++GtkWidget *label_notebook_audio; ++GtkWidget *table_audio; ++GtkWidget *label_notebook_description; ++GtkWidget *table_description; ++ ++GtkWidget *button_localdump; ++GtkWidget *entry_localdump; ++GtkWidget *checkbutton_adddate; ++GtkWidget *label_remotedump; ++GtkWidget *entry_remotedump; ++ ++GtkWidget *label_server; ++GtkWidget *entry_server; ++GtkWidget *label_port; ++GtkWidget *entry_port; ++GtkWidget *label_mountpoint; ++GtkWidget *entry_mountpoint; ++GtkWidget *label_pass; ++GtkWidget *entry_pass; ++GtkWidget *label_radioname; ++GtkWidget *entry_radioname; ++GtkWidget *label_description; ++GtkWidget *entry_description; ++GtkWidget *label_url; ++GtkWidget *entry_url; ++GtkWidget *label_genre; ++GtkWidget *entry_genre; ++ ++GtkWidget *label_icecast; ++GtkWidget *combo_icecast; ++GtkWidget *label_format; ++GtkWidget *combo_format; ++GtkWidget *label_bitrate; ++GtkWidget *combo_bitrate; ++GtkWidget *label_bitratemode; ++GtkWidget *combo_bitratemode; ++GtkWidget *label_samplerate; ++GtkWidget *combo_samplerate; ++GtkWidget *label_quality; ++GtkWidget *combo_quality; ++GtkWidget *label_bitspersample; ++GtkWidget *combo_bitspersample; ++GtkWidget *label_channel; ++GtkWidget *combo_channel; ++GtkWidget *label_buffersize; ++GtkWidget *combo_buffersize; ++GtkWidget *label_device; ++GtkWidget *combo_device; ++GtkWidget *label_public; ++GtkWidget *combo_public; ++GtkWidget *label_verbosity; ++GtkWidget *combo_verbosity; ++ ++GtkWidget *text; ++GtkTextBuffer *buffer; ++GtkTextTagTable *tag_table; ++GtkTextTag *tag; ++ ++GtkWidget *scroll_text; ++ ++GtkTooltip *tooltip; + #endif + + /* some defines */ +--- a/global.h ++++ b/global.h +@@ -24,131 +24,131 @@ + #endif + + /* shared area */ +-void *shared_area; ++extern void *shared_area; + + /* darkice execution child process pid */ +-int pid; ++extern int pid; + + /* file descriptor used by darkice output pipe */ +-int darkice_fd; ++extern int darkice_fd; + + /* the user home */ +-char home[64]; +-char darksnow_cfg[64]; +-char darkice_cfg[64]; +-char darksnow_temp[64]; +-char show_detail; ++extern char home[64]; ++extern char darksnow_cfg[64]; ++extern char darkice_cfg[64]; ++extern char darksnow_temp[64]; ++extern char show_detail; + + /* main window Widgets */ +-GtkWidget *window; +-GtkWidget *button_start; +-GtkWidget *button_stop; +-GtkWidget *button_detail; +-GtkWidget *label_status; +-GtkWidget *table; ++extern GtkWidget *window; ++extern GtkWidget *button_start; ++extern GtkWidget *button_stop; ++extern GtkWidget *button_detail; ++extern GtkWidget *label_status; ++extern GtkWidget *table; + + /* About Dialog box */ +-GtkWidget *dialog_about; ++extern GtkWidget *dialog_about; + + /* darkice not found dialog box */ +-GtkWidget *dialog_darkdep; +-GtkWidget *label_darkdep; +-GtkWidget *button_darkdep; ++extern GtkWidget *dialog_darkdep; ++extern GtkWidget *label_darkdep; ++extern GtkWidget *button_darkdep; + + /* "kill darkice?" dialog box */ +-GtkWidget *dialog_darkkill; +-GtkWidget *label_darkkill; +-GtkWidget *button_yes_darkkill; +-GtkWidget *button_no_darkkill; +-GtkWidget *button_cancel_darkkill; ++extern GtkWidget *dialog_darkkill; ++extern GtkWidget *label_darkkill; ++extern GtkWidget *button_yes_darkkill; ++extern GtkWidget *button_no_darkkill; ++extern GtkWidget *button_cancel_darkkill; + + /* menu stuff */ +-GtkWidget *menu_bar; +-GtkWidget *menu_file; +-GtkWidget *menu_item_file; +-GtkWidget *menu_item_open; +-GtkWidget *menu_item_save; +-GtkWidget *menu_item_quit_nd; +-GtkWidget *menu_item_quit; +-GtkWidget *menu_help; +-GtkWidget *menu_item_help; +-GtkWidget *menu_item_about; +-GtkWidget *vbox; ++extern GtkWidget *menu_bar; ++extern GtkWidget *menu_file; ++extern GtkWidget *menu_item_file; ++extern GtkWidget *menu_item_open; ++extern GtkWidget *menu_item_save; ++extern GtkWidget *menu_item_quit_nd; ++extern GtkWidget *menu_item_quit; ++extern GtkWidget *menu_help; ++extern GtkWidget *menu_item_help; ++extern GtkWidget *menu_item_about; ++extern GtkWidget *vbox; + + /* open and save file selectors */ +-GtkWidget *file_open; +-GtkWidget *file_save; +-GtkWidget *file_localdump; ++extern GtkWidget *file_open; ++extern GtkWidget *file_save; ++extern GtkWidget *file_localdump; + + /* notebook stuff */ +-GtkWidget *notebook; +-GtkWidget *label_notebook_server; +-GtkWidget *table_server; +-GtkWidget *label_notebook_audio; +-GtkWidget *table_audio; +-GtkWidget *label_notebook_description; +-GtkWidget *table_description; ++extern GtkWidget *notebook; ++extern GtkWidget *label_notebook_server; ++extern GtkWidget *table_server; ++extern GtkWidget *label_notebook_audio; ++extern GtkWidget *table_audio; ++extern GtkWidget *label_notebook_description; ++extern GtkWidget *table_description; + + /* darksnow configuration stuff - button + entry */ + +-GtkWidget *button_localdump; +-GtkWidget *entry_localdump; +-GtkWidget *checkbutton_adddate; +-GtkWidget *label_remotedump; +-GtkWidget *entry_remotedump; ++extern GtkWidget *button_localdump; ++extern GtkWidget *entry_localdump; ++extern GtkWidget *checkbutton_adddate; ++extern GtkWidget *label_remotedump; ++extern GtkWidget *entry_remotedump; + + /* darksnow configuration stuff - label + entry */ +-GtkWidget *label_server; +-GtkWidget *entry_server; +-GtkWidget *label_port; +-GtkWidget *entry_port; +-GtkWidget *label_mountpoint; +-GtkWidget *entry_mountpoint; +-GtkWidget *label_pass; +-GtkWidget *entry_pass; +-GtkWidget *label_radioname; +-GtkWidget *entry_radioname; +-GtkWidget *label_description; +-GtkWidget *entry_description; +-GtkWidget *label_url; +-GtkWidget *entry_url; +-GtkWidget *label_genre; +-GtkWidget *entry_genre; ++extern GtkWidget *label_server; ++extern GtkWidget *entry_server; ++extern GtkWidget *label_port; ++extern GtkWidget *entry_port; ++extern GtkWidget *label_mountpoint; ++extern GtkWidget *entry_mountpoint; ++extern GtkWidget *label_pass; ++extern GtkWidget *entry_pass; ++extern GtkWidget *label_radioname; ++extern GtkWidget *entry_radioname; ++extern GtkWidget *label_description; ++extern GtkWidget *entry_description; ++extern GtkWidget *label_url; ++extern GtkWidget *entry_url; ++extern GtkWidget *label_genre; ++extern GtkWidget *entry_genre; + + /* darksnow configuration stuff - label + combo box */ +-GtkWidget *label_icecast; +-GtkWidget *combo_icecast; +-GtkWidget *label_format; +-GtkWidget *combo_format; +-GtkWidget *label_bitrate; +-GtkWidget *combo_bitrate; +-GtkWidget *label_bitratemode; +-GtkWidget *combo_bitratemode; +-GtkWidget *label_samplerate; +-GtkWidget *combo_samplerate; +-GtkWidget *label_quality; +-GtkWidget *combo_quality; +-GtkWidget *label_bitspersample; +-GtkWidget *combo_bitspersample; +-GtkWidget *label_channel; +-GtkWidget *combo_channel; +-GtkWidget *label_buffersize; +-GtkWidget *combo_buffersize; +-GtkWidget *label_device; +-GtkWidget *combo_device; +-GtkWidget *label_public; +-GtkWidget *combo_public; +-GtkWidget *label_verbosity; +-GtkWidget *combo_verbosity; ++extern GtkWidget *label_icecast; ++extern GtkWidget *combo_icecast; ++extern GtkWidget *label_format; ++extern GtkWidget *combo_format; ++extern GtkWidget *label_bitrate; ++extern GtkWidget *combo_bitrate; ++extern GtkWidget *label_bitratemode; ++extern GtkWidget *combo_bitratemode; ++extern GtkWidget *label_samplerate; ++extern GtkWidget *combo_samplerate; ++extern GtkWidget *label_quality; ++extern GtkWidget *combo_quality; ++extern GtkWidget *label_bitspersample; ++extern GtkWidget *combo_bitspersample; ++extern GtkWidget *label_channel; ++extern GtkWidget *combo_channel; ++extern GtkWidget *label_buffersize; ++extern GtkWidget *combo_buffersize; ++extern GtkWidget *label_device; ++extern GtkWidget *combo_device; ++extern GtkWidget *label_public; ++extern GtkWidget *combo_public; ++extern GtkWidget *label_verbosity; ++extern GtkWidget *combo_verbosity; + + /* text view stuff */ +-GtkWidget *text; +-GtkTextBuffer *buffer; +-GtkTextTagTable *tag_table; +-GtkTextTag *tag; ++extern GtkWidget *text; ++extern GtkTextBuffer *buffer; ++extern GtkTextTagTable *tag_table; ++extern GtkTextTag *tag; + + /* text view has to scroll */ +-GtkWidget *scroll_text; ++extern GtkWidget *scroll_text; + + /* The GTK ToolTips */ +-GtkTooltip *tooltip; ++extern GtkTooltip *tooltip; |