diff options
Diffstat (limited to 'media-sound/darksnow')
-rw-r--r-- | media-sound/darksnow/Manifest | 6 | ||||
-rw-r--r-- | media-sound/darksnow/darksnow-0.7.1.ebuild | 39 | ||||
-rw-r--r-- | media-sound/darksnow/files/darksnow-0.7.1-Makefile.patch | 45 | ||||
-rw-r--r-- | media-sound/darksnow/metadata.xml | 8 |
4 files changed, 98 insertions, 0 deletions
diff --git a/media-sound/darksnow/Manifest b/media-sound/darksnow/Manifest new file mode 100644 index 000000000000..3def8fdb5c96 --- /dev/null +++ b/media-sound/darksnow/Manifest @@ -0,0 +1,6 @@ +AUX darksnow-0.7.1-Makefile.patch 2081 SHA256 c0d4b0e6fa9e4a3c926517d37cb3e115a3fd3a41eb401bd4df1f809af73cda0a SHA512 6d9d9ae3922278e9aaa11452550302f31f6060ca9141266f4253784556deba9eeb1880401579b5c220051221458e0b359b208994fde57f7ba4a62404f0ce20b1 WHIRLPOOL 1102d3c899afd877994c8aa146682243e69f26b40f905cda5455403178a6f23bb642fb388fa8e4173891e5aafad977ad7b32b7672a2ebc86ffb13d0ec1ee5a5a +DIST darksnow-0.7.1.tar.gz 78928 SHA256 7c7c55761f7536cea2e8b6d8037c9ce7ca71f6a044c1b6026ea80e13d35b04fd SHA512 0ea1ff9f085127185d47169df358d2940fa9e52c52408bbaaefdf517402ddcb37b2df8b8c65bb22c3493820b47a3b4a2571cc819e81c70718684e8c3c3fe77ae WHIRLPOOL eec2209934cf9129528bb15dc05e6e726649a8be7f4178770776e1728f4ff69ff8dab80808e81ca5983afd77ab252e426dc384e47d12d9bbc53b60f39326b37c +EBUILD darksnow-0.7.1.ebuild 806 SHA256 cf4785c6650c7823150bd868f590a0398bcedcacca169d3333898c0e2e6f2148 SHA512 c2bd937482e583e4c2356a7cb7c516d330a9200ed7cafd175208e6af655207761b165d23d5ab110c4cc244ebb8ebfa3e122537f5573050c90e808154bc0b9f3d WHIRLPOOL c26f35ad3b5a421700ac97fd776331db597808fdfeb2116231aded612994f8e64aa0083c9eb2915f39ef0bee6a566b223f0644e8abaf049ef168e469163885cd +MISC ChangeLog 2471 SHA256 1829960e0de9f934797a0755065a1d108715dd2a627ca373f1f1e9011bae0712 SHA512 94a3a9b9fc6f80e84ad41ea410676c870fce7921a1e9372dc0aa491ce4c2057bf77bbd7eb8b6149bb79b979ce68f502157cf17ba3a0f34d62ed588bb3676c3d9 WHIRLPOOL e034b625a056018bbb99d22bf47a892e062eb93bbe894d594c6508dd86acb815bd4fd17890009aa2c499e2c772180e79ac79c48b888f75e705d47cffb8d4c338 +MISC ChangeLog-2015 3160 SHA256 e2da8d0b68f8484d22660ddccb0026e40f93fbda02cd86364a78cd08deb7be8b SHA512 7fa9886c7b3eb288cb916d918788b10c989db37ae4eea424c3b586221168f041756c0e6478713bf2e91ca7b121901a924a59d57d2fd9a3ed0497cb78fb319b6f WHIRLPOOL 1f41dc8a1fdbe1b3f9ef0e3cafc3f1f7e05e6c403694303cb1928310bc4322eef21df2011aa07acfbd3d1ff65d71d3b9e01e9f69baccbf090b66a28d8f536217 +MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723 diff --git a/media-sound/darksnow/darksnow-0.7.1.ebuild b/media-sound/darksnow/darksnow-0.7.1.ebuild new file mode 100644 index 000000000000..e91b0b6ce786 --- /dev/null +++ b/media-sound/darksnow/darksnow-0.7.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils gnome2-utils + +DESCRIPTION="Streaming GTK+ Front-End based in Darkice Ice Streamer" +HOMEPAGE="http://darksnow.radiolivre.org" +SRC_URI="http://darksnow.radiolivre.org/pacotes/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +PDEPEND=">=media-sound/darkice-1.2" +RDEPEND=">=x11-libs/gtk+-2.14.0:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefile.patch + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc documentation/{CHANGES,CREDITS,README*} + make_desktop_entry ${PN} "DarkSnow" ${PN} +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/media-sound/darksnow/files/darksnow-0.7.1-Makefile.patch b/media-sound/darksnow/files/darksnow-0.7.1-Makefile.patch new file mode 100644 index 000000000000..0e7e6a1bfedc --- /dev/null +++ b/media-sound/darksnow/files/darksnow-0.7.1-Makefile.patch @@ -0,0 +1,45 @@ +--- darksnow-0.7.1/Makefile.in ++++ darksnow-0.7.1/Makefile.in +@@ -38,8 +38,8 @@ + + all: darksnow + +-darksnow: darksnow.o interface.o config_files.o tooltips.o man_gzip +- $(CC) darksnow.o interface.o config_files.o tooltips.o -o darksnow @GTK_LIBS@ @GTK_CFLAGS@ -DVERSION="\"$(VERSION)\"" ++darksnow: darksnow.o interface.o config_files.o tooltips.o ++ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION="\"$(VERSION)\"" darksnow.o interface.o config_files.o tooltips.o -o darksnow @GTK_LIBS@ @GTK_CFLAGS@ + + darksnow.o: darksnow.c + $(CC) $(FUNNY) @GTK_CFLAGS@ -DINTLPREFIX="\"$(INTLPREFIX)\"" -DVERSION="\"$(VERSION)\"" -c darksnow.c -o darksnow.o +@@ -53,19 +53,15 @@ + tooltips.o: tooltips.c + $(CC) $(CFLAGS) $(FUNNY) @GTK_CFLAGS@ -DINTLPREFIX="\"$(INTLPREFIX)\"" -DVERSION="\"$(VERSION)\"" -c tooltips.c -o tooltips.o + +-man_gzip: +- gzip -c man/darksnow.1 > man/darksnow.1.gz +- + clean: +- rm -f *.o *~ darksnow man/darksnow.1.gz ++ rm -f *.o *~ darksnow + rm -rf slack darksnow.tgz + + install: darksnow +- $(INSTALL) -D --mode=0755 darksnow $(PREFIX)/bin/darksnow +- $(INSTALL) -D --mode=0644 documentation/CHANGES $(PREFIX)/share/darksnow/changelog +- $(INSTALL) -D --mode=0644 po/pt_BR.mo $(PREFIX)/share/locale/pt_BR/LC_MESSAGES/darksnow.mo +- $(INSTALL) -D --mode=0644 icon/darksnow_icon.png $(PREFIX)/share/icons/hicolor/32x32/apps/darksnow.png +- $(INSTALL) -D --mode=0644 man/darksnow.1.gz $(PREFIX)/share/man/man1/darksnow.1.gz ++ $(INSTALL) -D --mode=0755 darksnow $(DESTDIR)$(PREFIX)/bin/darksnow ++ $(INSTALL) -D --mode=0644 po/pt_BR.mo $(DESTDIR)$(PREFIX)/share/locale/pt_BR/LC_MESSAGES/darksnow.mo ++ $(INSTALL) -D --mode=0644 icon/darksnow_icon.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/darksnow.png ++ $(INSTALL) -D --mode=0644 man/darksnow.1 $(DESTDIR)$(PREFIX)/share/man/man1/darksnow.1 + + make_pkg: darksnow + echo "Remember to run this option as root!" +@@ -89,5 +85,5 @@ + /sbin/upgradepkg darksnow-*-1rd.tgz + + dist-clean: clean +- rm aclocal.m4 config.status config.log man/darksnow.1.gz Makefile ++ rm aclocal.m4 config.status config.log Makefile + rm -r autom4te.cache diff --git a/media-sound/darksnow/metadata.xml b/media-sound/darksnow/metadata.xml new file mode 100644 index 000000000000..c870d0eef0ab --- /dev/null +++ b/media-sound/darksnow/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> +</maintainer> +</pkgmetadata> |