Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_musicindex/
Date: Thu, 07 Feb 2019 15:54:32
Message-Id: 1549554846.0f9f86e6f09c09be343aaa2f1c64837f3dd7ce23.grknight@gentoo
1 commit: 0f9f86e6f09c09be343aaa2f1c64837f3dd7ce23
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 7 15:54:06 2019 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 7 15:54:06 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f9f86e6
7
8 www-apache/mod_musicindex: Revbump for dependency and EAPI change
9
10 Closes: https://bugs.gentoo.org/666076
11 Package-Manager: Portage-2.3.59, Repoman-2.3.12
12 Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
13
14 ...index-1.4.1.ebuild => mod_musicindex-1.4.1-r1.ebuild} | 16 ++++++++++------
15 1 file changed, 10 insertions(+), 6 deletions(-)
16
17 diff --git a/www-apache/mod_musicindex/mod_musicindex-1.4.1.ebuild b/www-apache/mod_musicindex/mod_musicindex-1.4.1-r1.ebuild
18 similarity index 87%
19 rename from www-apache/mod_musicindex/mod_musicindex-1.4.1.ebuild
20 rename to www-apache/mod_musicindex/mod_musicindex-1.4.1-r1.ebuild
21 index d87b3ed75c3..a033588e366 100644
22 --- a/www-apache/mod_musicindex/mod_musicindex-1.4.1.ebuild
23 +++ b/www-apache/mod_musicindex/mod_musicindex-1.4.1-r1.ebuild
24 @@ -1,7 +1,7 @@
25 -# Copyright 1999-2014 Gentoo Foundation
26 +# Copyright 1999-2019 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 -EAPI=5
30 +EAPI=6
31
32 inherit apache-module
33
34 @@ -22,16 +22,20 @@ DEPEND="mp3? ( media-libs/libmad media-libs/libid3tag )
35 flac? ( media-libs/flac )
36 vorbis? ( media-libs/libvorbis )
37 archive? ( app-arch/libarchive )
38 - mysql? ( virtual/mysql )"
39 + mysql? ( dev-db/mysql-connector-c:0= )"
40 RDEPEND="${DEPEND}
41 sys-devel/libtool"
42
43 APACHE2_MOD_CONF="50_${PN}"
44 APACHE2_MOD_DEFINE="MUSICINDEX"
45 -DOCFILES="AUTHORS BUGS ChangeLog README UPGRADING"
46 +DOCS=( AUTHORS BUGS ChangeLog README UPGRADING )
47
48 need_apache2
49
50 +pkg_setup() {
51 + _init_apache2_late
52 +}
53 +
54 src_configure() {
55 econf \
56 $(use_enable mp3) \
57 @@ -44,11 +48,11 @@ src_configure() {
58 }
59
60 src_compile() {
61 - emake || die "emake failed"
62 + default
63 }
64
65 src_install() {
66 - emake DESTDIR="${D}" install || die "emake failed"
67 + default
68 apache-module_src_install
69
70 # install W3C images