summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-08-21 02:53:34 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-08-21 02:53:34 +0000
commit8d18b16c079c8675f7bd4b81dc3ea3eea122b18d (patch)
tree79cd1001d2e611d09c19987827fe9429d05d5a73 /media-sound/freebirth
parentBump the experimental binary package. Fixes bug #333269 by Mike Gilbert <flop... (diff)
downloadhistorical-8d18b16c079c8675f7bd4b81dc3ea3eea122b18d.tar.gz
historical-8d18b16c079c8675f7bd4b81dc3ea3eea122b18d.tar.bz2
historical-8d18b16c079c8675f7bd4b81dc3ea3eea122b18d.zip
Respect LDFLAGS wrt #333727 by Diego E. Pettenò.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-sound/freebirth')
-rw-r--r--media-sound/freebirth/ChangeLog6
-rw-r--r--media-sound/freebirth/Manifest16
-rw-r--r--media-sound/freebirth/files/freebirth-0.3.2-gentoo-2.patch61
-rw-r--r--media-sound/freebirth/freebirth-0.3.2-r1.ebuild25
4 files changed, 60 insertions, 48 deletions
diff --git a/media-sound/freebirth/ChangeLog b/media-sound/freebirth/ChangeLog
index c4e748fa8d65..37798ea50adf 100644
--- a/media-sound/freebirth/ChangeLog
+++ b/media-sound/freebirth/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/freebirth
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/freebirth/ChangeLog,v 1.17 2010/06/12 20:12:07 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/freebirth/ChangeLog,v 1.18 2010/08/21 02:53:34 ssuominen Exp $
+
+ 21 Aug 2010; Samuli Suominen <ssuominen@gentoo.org>
+ freebirth-0.3.2-r1.ebuild, files/freebirth-0.3.2-gentoo-2.patch:
+ Respect LDFLAGS wrt #333727 by Diego E. Pettenò.
12 Jun 2010; Alexis Ballier <aballier@gentoo.org>
freebirth-0.3.2-r1.ebuild, +files/freebirth-0.3.2-segfault.patch:
diff --git a/media-sound/freebirth/Manifest b/media-sound/freebirth/Manifest
index 725246d0bcff..b28fdaf97939 100644
--- a/media-sound/freebirth/Manifest
+++ b/media-sound/freebirth/Manifest
@@ -1,16 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX freebirth-0.3.2-gentoo-2.patch 7009 RMD160 c359696b5fbc4e3d41f9921903d69fc02be4ebc1 SHA1 fd561c82227d90456f4040336ae757348c3b9b04 SHA256 ca81db2ef80597afe385a9a19699362780cd737fe3fbdb6f0cb65cc5c71079f7
+AUX freebirth-0.3.2-gentoo-2.patch 6589 RMD160 2c0e1ffc9c012552c691dc02fc92c2035e95268d SHA1 1911d2eee82baded26ca0268b0f6418a3d765a2b SHA256 121c85263df31ce7b276b17ad8b0cdd1bef9c2b4cbd51d5ea440234d8f093c3f
AUX freebirth-0.3.2-segfault.patch 519 RMD160 1963adc005698b55a60bb5f244117b06863bd10e SHA1 0bd8a63f6d09a68c40d2368cea05c206646f1e36 SHA256 fb2364ac5d3bb8f642ba76790451c1efcd4b265c88d4fc86a48e2a007cd6652b
DIST freebirth-0.3.2.tar.gz 2456900 RMD160 45d86fe5f8a8ad18c71d6814e0b844e32d9d3f60 SHA1 958673def46ec95980c97a3debebaf97a698c441 SHA256 8cdee757be747eae337826ec9ca9244798c36f75c82f10dfd2c09facfc623f96
-EBUILD freebirth-0.3.2-r1.ebuild 990 RMD160 338989549fdb9cd9e667c4c539ff08e39c709618 SHA1 9a0df75826d34c02c1873dc32d1664cfd28aff73 SHA256 9813e4a3d1bd35acaaf891fdffe8aff862d0f6d09e00933c67ec93d1c4fedf1e
-MISC ChangeLog 2125 RMD160 7bdfcc2724c6eb27d8acbb32ccd7370a89d0aadd SHA1 6edb1eafa702cab6f9b17182d88101a113698045 SHA256 62635feebe2c87f94de965040716b99f4033af4f959eabad371f18588f143ce9
+EBUILD freebirth-0.3.2-r1.ebuild 911 RMD160 dc6cd058d3ed51ae645bacd01ec46f2a1468293c SHA1 5db61c93d3ec96ce47ee9c649e256a0d24bdf1d5 SHA256 beb17572a2a8061538958a33efbd8e42b381935dd4db99b12bb72928953a9a91
+MISC ChangeLog 2300 RMD160 5fffdcd90f86d8d0e0d8bbb2345b37a6b1d7044c SHA1 76e53f8cc30d18052b5ceb46204e78427d8ee8c7 SHA256 f7433c5beb93e40f66d0d15426e156071bb02e28eabfe094a77bf94709fb34bb
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
-
-iEYEARECAAYFAkwT6h0ACgkQvFcC4BYPU0qDVwCcDUsfcv5gIMGeqJGRpTp77EiY
-q4EAnjmdlWZTR643nWRN6S0Xp3R2Amhp
-=Nj+7
------END PGP SIGNATURE-----
diff --git a/media-sound/freebirth/files/freebirth-0.3.2-gentoo-2.patch b/media-sound/freebirth/files/freebirth-0.3.2-gentoo-2.patch
index 081e8ce74709..52b184b04b2f 100644
--- a/media-sound/freebirth/files/freebirth-0.3.2-gentoo-2.patch
+++ b/media-sound/freebirth/files/freebirth-0.3.2-gentoo-2.patch
@@ -1,6 +1,5 @@
-diff -ur freebirth-0.3.2.orig/freebirth.c freebirth-0.3.2/freebirth.c
---- freebirth-0.3.2.orig/freebirth.c 2000-01-13 20:42:26.000000000 +0200
-+++ freebirth-0.3.2/freebirth.c 2007-07-24 17:36:41.000000000 +0300
+--- freebirth.c
++++ freebirth.c
@@ -248,15 +248,15 @@
//bass_e = env_new(1025,10000,(sample_producer *)osc_blender);
sl = g_slist_append(sl, bass_e);
@@ -40,9 +39,8 @@ diff -ur freebirth-0.3.2.orig/freebirth.c freebirth-0.3.2/freebirth.c
gtk_window_set_title(GTK_WINDOW (sample_freq_window), "Sample Pitch");
sample_freq_box = gtk_vbox_new(TRUE,10);
gtk_widget_set_style(sample_freq_window,window_style);
-diff -ur freebirth-0.3.2.orig/fuse_loops.c freebirth-0.3.2/fuse_loops.c
---- freebirth-0.3.2.orig/fuse_loops.c 1999-02-27 04:02:23.000000000 +0200
-+++ freebirth-0.3.2/fuse_loops.c 2007-07-24 17:36:41.000000000 +0300
+--- fuse_loops.c
++++ fuse_loops.c
@@ -122,7 +122,18 @@
fprintf(file, "/* generated file -- don't edit */\n");
fprintf(file, "#include <unistd.h>\n");
@@ -72,9 +70,8 @@ diff -ur freebirth-0.3.2.orig/fuse_loops.c freebirth-0.3.2/fuse_loops.c
fprintf(file, " write(fd, buffer, 2 * TBASS_BUFF_SIZE * sizeof(short));\n");
fprintf(file, "\n");
-diff -ur freebirth-0.3.2.orig/gtkdial.c freebirth-0.3.2/gtkdial.c
---- freebirth-0.3.2.orig/gtkdial.c 1999-02-16 01:58:31.000000000 +0200
-+++ freebirth-0.3.2/gtkdial.c 2007-07-24 17:36:41.000000000 +0300
+--- gtkdial.c
++++ gtkdial.c
@@ -75,8 +75,6 @@
sizeof (GtkDialClass),
(GtkClassInitFunc) gtk_dial_class_init,
@@ -84,25 +81,44 @@ diff -ur freebirth-0.3.2.orig/gtkdial.c freebirth-0.3.2/gtkdial.c
};
dial_type = gtk_type_unique (gtk_widget_get_type (), &dial_info);
-diff -ur freebirth-0.3.2.orig/Makefile freebirth-0.3.2/Makefile
---- freebirth-0.3.2.orig/Makefile 2000-01-13 01:37:14.000000000 +0200
-+++ freebirth-0.3.2/Makefile 2007-07-24 17:36:41.000000000 +0300
-@@ -2,9 +2,9 @@
+--- Makefile
++++ Makefile
+@@ -1,10 +1,9 @@
+ # Makefile for Freebirth
#
- CC=gcc
+-CC=gcc
-LOADLIBES=-lm $(shell gtk-config --libs)
-CFLAGS=-g -O6 -Wall $(shell gtk-config --cflags)
-LDFLAGS=
-+LOADLIBES=-lm -L/usr/lib -lgtk-x11-2.0
-+CFLAGS=-g -Wall $(shell pkg-config --cflags gtk+-2.0)
-+LDFLAGS=$(shell pkg-config --libs gtk+-2.0)
++CC?=gcc
++CFLAGS+=-Wall $(shell pkg-config --cflags gtk+-2.0)
++LIBS=-lm $(shell pkg-config --libs gtk+-2.0)
OFILES=\
oscillator.o sequencer.o envelope.o filter.o gtkdial.o mixer.o \
-diff -ur freebirth-0.3.2.orig/raw_wave.c freebirth-0.3.2/raw_wave.c
---- freebirth-0.3.2.orig/raw_wave.c 2000-01-13 01:40:33.000000000 +0200
-+++ freebirth-0.3.2/raw_wave.c 2007-07-24 17:36:41.000000000 +0300
+@@ -22,16 +21,18 @@
+ -rm -f *.o freebirth fusebirth fused_loop.c Makefile.deps *~
+
+ freebirth: $(OFILES) fused_loop.o freebirth.o
++ $(CC) $(LDFLAGS) $(CFLAGS) -o freebirth $(OFILES) fused_loop.o freebirth.o $(LIBS)
+
+ fused_loop.c: fusebirth
+ ./fusebirth > fused_loop.c 2>/dev/null
+
+ fusebirth: $(OFILES) fuse_loops.o fusebirth.o
++ $(CC) $(LDFLAGS) $(CFLAGS) -o fusebirth $(OFILES) fuse_loops.o fusebirth.o $(LIBS)
+
+ fusebirth.o: freebirth.c
+ $(CC) -c $(CFLAGS) -DFUSE_LOOPS -o fusebirth.o freebirth.c
+
+ Makefile.deps:
+- gcc -MM $(CFLAGS) $(CFILES) > Makefile.deps
++ $(CC) -MM $(CFLAGS) $(CFILES) > Makefile.deps
+
+ include Makefile.deps
+--- raw_wave.c
++++ raw_wave.c
@@ -21,18 +21,36 @@
#include "raw_wave.h"
#include <stdio.h>
@@ -185,9 +201,8 @@ diff -ur freebirth-0.3.2.orig/raw_wave.c freebirth-0.3.2/raw_wave.c
raw_wave_set_sample_file(out, filename);
out->buffer = (sample *)malloc(sizeof(sample) * TBASS_BUFF_SIZE);
-diff -ur freebirth-0.3.2.orig/raw_wave.h freebirth-0.3.2/raw_wave.h
---- freebirth-0.3.2.orig/raw_wave.h 2000-01-13 20:44:05.000000000 +0200
-+++ freebirth-0.3.2/raw_wave.h 2007-07-24 17:41:14.000000000 +0300
+--- raw_wave.h
++++ raw_wave.h
@@ -62,7 +62,7 @@
event *event_pitch_change_new(int seq_handle, double pitch);
diff --git a/media-sound/freebirth/freebirth-0.3.2-r1.ebuild b/media-sound/freebirth/freebirth-0.3.2-r1.ebuild
index 7bccd851ddb9..7cdb2413fe81 100644
--- a/media-sound/freebirth/freebirth-0.3.2-r1.ebuild
+++ b/media-sound/freebirth/freebirth-0.3.2-r1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/freebirth/freebirth-0.3.2-r1.ebuild,v 1.9 2010/06/12 20:12:07 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/freebirth/freebirth-0.3.2-r1.ebuild,v 1.10 2010/08/21 02:53:34 ssuominen Exp $
+EAPI=2
inherit eutils toolchain-funcs
DESCRIPTION="Free software bass synthesizer step sequencer"
@@ -13,26 +14,28 @@ SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE=""
-RDEPEND=">=x11-libs/gtk+-2"
+RDEPEND="x11-libs/gtk+:2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-gentoo-2.patch
- epatch "${FILESDIR}"/${P}-segfault.patch
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo-2.patch \
+ "${FILESDIR}"/${P}-segfault.patch
}
src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} $(pkg-config --cflags gtk+-2.0)" || die "emake failed."
+ tc-export CC
+ emake || die
}
src_install() {
- dobin ${PN}
+ dobin ${PN} || die
+
insinto /usr/share/${PN}/raw
- doins raw/*.raw
+ doins raw/*.raw || die
+
dodoc CHANGES NEXT_VERSION README
+
doicon xpm/${PN}.xpm
- make_desktop_entry ${PN} ${PN} ${PN}
+ make_desktop_entry ${PN} ${PN}
}