summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2013-07-16 11:03:39 +0000
committerLars Wendler <polynomial-c@gentoo.org>2013-07-16 11:03:39 +0000
commit99a6ea31a0a41aa5c70994442ac3726a35c7c03f (patch)
tree6ae3e3c1329615920de2a9e3e51f5049deaa62fd /media-sound
parentFixed live ebuild detection. (diff)
downloadgentoo-2-99a6ea31a0a41aa5c70994442ac3726a35c7c03f.tar.gz
gentoo-2-99a6ea31a0a41aa5c70994442ac3726a35c7c03f.tar.bz2
gentoo-2-99a6ea31a0a41aa5c70994442ac3726a35c7c03f.zip
Version bump
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/darksnow/ChangeLog10
-rw-r--r--media-sound/darksnow/darksnow-0.7.1.ebuild40
-rw-r--r--media-sound/darksnow/files/darksnow-0.7.1-Makefile.patch45
3 files changed, 93 insertions, 2 deletions
diff --git a/media-sound/darksnow/ChangeLog b/media-sound/darksnow/ChangeLog
index 0f5a799ea48f..f07da8358418 100644
--- a/media-sound/darksnow/ChangeLog
+++ b/media-sound/darksnow/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/darksnow
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/darksnow/ChangeLog,v 1.16 2012/05/05 08:20:55 mgorny Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/darksnow/ChangeLog,v 1.17 2013/07/16 11:03:39 polynomial-c Exp $
+
+*darksnow-0.7.1 (16 Jul 2013)
+
+ 16 Jul 2013; Lars Wendler <polynomial-c@gentoo.org> +darksnow-0.7.1.ebuild,
+ +files/darksnow-0.7.1-Makefile.patch:
+ Non-maintainer commit: Version bump.
05 May 2012; Michał Górny <mgorny@gentoo.org> darksnow-0.6.1.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
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..667924fdfaf0
--- /dev/null
+++ b/media-sound/darksnow/darksnow-0.7.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/darksnow/darksnow-0.7.1.ebuild,v 1.1 2013/07/16 11:03:39 polynomial-c Exp $
+
+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