Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/stk: ChangeLog stk-4.4.2.ebuild
Date: Sun, 02 Jan 2011 14:23:14
Message-Id: 20110102142305.793F220057@flycatcher.gentoo.org
1 aballier 11/01/02 14:23:05
2
3 Modified: ChangeLog
4 Added: stk-4.4.2.ebuild
5 Log:
6 version bump, by Christopher Harvey <chris@××××××××××××.com>, bug #309037, with some modifications and patches by me.
7
8 (Portage version: 2.2.0_alpha11/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.6 media-libs/stk/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/stk/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/stk/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/stk/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/stk/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 17 Aug 2010 19:06:22 -0000 1.5
24 +++ ChangeLog 2 Jan 2011 14:23:05 -0000 1.6
25 @@ -1,6 +1,16 @@
26 # ChangeLog for media-libs/stk
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/stk/ChangeLog,v 1.5 2010/08/17 19:06:22 ssuominen Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/stk/ChangeLog,v 1.6 2011/01/02 14:23:05 aballier Exp $
31 +
32 +*stk-4.4.2 (02 Jan 2011)
33 +
34 + 02 Jan 2011; Alexis Ballier <aballier@g.o> +stk-4.4.2.ebuild,
35 + +files/stk-4.4.2/010_all_removeForcedFlags.patch,
36 + +files/stk-4.4.2/020_all_noExamplesOrDemo.patch,
37 + +files/stk-4.4.2/030_all_sharedlib.patch,
38 + +files/stk-4.4.2/040_all_soname.patch, +files/stk-4.4.2/050_all_abiver.patch:
39 + version bump, by Christopher Harvey <chris@××××××××××××.com>, bug #309037,
40 + with some modifications and patches by me.
41
42 17 Aug 2010; Samuli Suominen <ssuominen@g.o>
43 files/stk-4.3.1-gcc44.patch:
44
45
46
47 1.1 media-libs/stk/stk-4.4.2.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/stk/stk-4.4.2.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/stk/stk-4.4.2.ebuild?rev=1.1&content-type=text/plain
51
52 Index: stk-4.4.2.ebuild
53 ===================================================================
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/media-libs/stk/stk-4.4.2.ebuild,v 1.1 2011/01/02 14:23:05 aballier Exp $
57
58 EAPI="2"
59 inherit eutils autotools
60
61 DESCRIPTION="Synthesis ToolKit in C++"
62 HOMEPAGE="http://ccrma.stanford.edu/software/stk/"
63 SRC_URI="http://ccrma.stanford.edu/software/stk/release/${P}.tar.gz"
64
65 LICENSE="MIT"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="alsa debug doc jack oss"
69
70 RDEPEND="alsa? ( media-libs/alsa-lib )
71 jack? ( media-sound/jack-audio-connection-kit )"
72 DEPEND="${RDEPEND}
73 dev-util/pkgconfig
74 dev-lang/perl"
75
76 src_prepare() {
77 EPATCH_SUFFIX="patch" epatch "${FILESDIR}/${PF}"
78 eautoreconf
79 }
80
81 src_configure() {
82 #breaks with --disable-foo...uses as --enable-foo
83 local myconf
84 if use debug; then
85 myconf="${myconf} --enable-debug"
86 fi
87 if use oss; then
88 myconf="${myconf} --with-oss"
89 fi
90 if use alsa; then
91 myconf="${myconf} --with-alsa"
92 fi
93 if use jack; then
94 myconf="${myconf} --with-jack"
95 fi
96
97 econf ${myconf} \
98 RAWWAVE_PATH=/usr/share/stk/rawwaves/
99 }
100
101 src_install() {
102 dodoc README || die "Failed to install README"
103 # install the lib
104 dolib src/libstk.* || die "Failed to install libstk.*"
105 # install headers
106 insinto /usr/include/stk || die "Failed to create header directory."
107 doins include/*.h include/*.msg include/*.tbl \
108 || die "Failed to install msg, tbl and h files."
109 # install rawwaves
110 insinto /usr/share/stk/rawwaves || die "Failed to create rawwave directory."
111 doins rawwaves/*.raw || die "Failed to install rawwave files."
112 # install docs
113 if use doc; then
114 dohtml -r doc/html/* || die "Failed to install docs."
115 fi
116 }