From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/wildmidi: wildmidi-0.3.7.ebuild ChangeLog |
Date: | Fri, 30 May 2014 22:11:37 |
Message-Id: | 20140530221129.9FDBC2004E@flycatcher.gentoo.org |
1 | hwoarang 14/05/30 22:11:29 |
2 | |
3 | Modified: ChangeLog |
4 | Added: wildmidi-0.3.7.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 09BF4F54C2BA7F3C!) |
9 | |
10 | Revision Changes Path |
11 | 1.28 media-sound/wildmidi/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/wildmidi/ChangeLog?rev=1.28&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/wildmidi/ChangeLog?rev=1.28&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/wildmidi/ChangeLog?r1=1.27&r2=1.28 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-sound/wildmidi/ChangeLog,v |
20 | retrieving revision 1.27 |
21 | retrieving revision 1.28 |
22 | diff -u -r1.27 -r1.28 |
23 | --- ChangeLog 21 May 2014 20:33:36 -0000 1.27 |
24 | +++ ChangeLog 30 May 2014 22:11:29 -0000 1.28 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for media-sound/wildmidi |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-sound/wildmidi/ChangeLog,v 1.27 2014/05/21 20:33:36 hwoarang Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-sound/wildmidi/ChangeLog,v 1.28 2014/05/30 22:11:29 hwoarang Exp $ |
30 | + |
31 | +*wildmidi-0.3.7 (30 May 2014) |
32 | + |
33 | + 30 May 2014; Markos Chandras <hwoarang@g.o> +wildmidi-0.3.7.ebuild: |
34 | + Version bump |
35 | |
36 | *wildmidi-0.3.6 (21 May 2014) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 media-sound/wildmidi/wildmidi-0.3.7.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/wildmidi/wildmidi-0.3.7.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/wildmidi/wildmidi-0.3.7.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: wildmidi-0.3.7.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-sound/wildmidi/wildmidi-0.3.7.ebuild,v 1.1 2014/05/30 22:11:29 hwoarang Exp $ |
51 | |
52 | EAPI=5 |
53 | inherit cmake-utils readme.gentoo |
54 | |
55 | DESCRIPTION="Midi processing library and a midi player using the gus patch set" |
56 | HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/" |
57 | SRC_URI="http://github.com/Mindwerks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
58 | |
59 | LICENSE="GPL-3 LGPL-3" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
62 | IUSE="+alsa openal oss +player" |
63 | |
64 | DEPEND="player? ( |
65 | alsa? ( media-libs/alsa-lib ) |
66 | openal? ( media-libs/openal ) |
67 | )" |
68 | RDEPEND="${DEPEND} |
69 | media-sound/timidity-freepats" |
70 | |
71 | REQUIRED_USE="player? ( ^^ ( alsa oss openal ) )" |
72 | |
73 | DOC_CONTENTS="${PN} is using timidity-freepats for midi playback. |
74 | A default configuration file was placed on /etc/${PN}/${PN}.cfg. |
75 | For more information please read the ${PN}.cfg manpage." |
76 | |
77 | src_prepare() { |
78 | # alsa openal oss only make sense if player is enabled. See CMakeLists.txt |
79 | if ! use player && (use alsa || use openal || use oss); then |
80 | ewarn |
81 | ewarn "The 'alsa', 'openal' and 'oss' use flags only make sense if" |
82 | ewarn "the 'player' use flags is selected and as a result they will be" |
83 | ewarn "ignored in this build" |
84 | ewarn |
85 | fi |
86 | cmake-utils_src_prepare |
87 | } |
88 | |
89 | src_configure() { |
90 | mycmakeargs=( |
91 | $(cmake-utils_use_want alsa) |
92 | $(cmake-utils_use_want openal) |
93 | $(cmake-utils_use_want oss) |
94 | $(cmake-utils_use_want player) |
95 | ) |
96 | cmake-utils_src_configure |
97 | } |
98 | |
99 | src_install() { |
100 | cmake-utils_src_install |
101 | find "${D}" -name '*.la' -exec rm -f {} + |
102 | insinto /etc/${PN}/ |
103 | doins cfg/${PN}.cfg |
104 | readme.gentoo_create_doc |
105 | } |
106 | |
107 | pkg_postinst() { |
108 | if [[ -e "${ROOT}"/etc/${PN}.cfg ]]; then |
109 | elog |
110 | elog "Old /etc/${PN}.cfg detected!" |
111 | elog "Please migrate your configuration file to" |
112 | elog "/etc/${PN}/ directory which is now the default" |
113 | elog "location for the ${PN} configuration file." |
114 | elog |
115 | fi |
116 | } |