Gentoo Archives: gentoo-commits

From: Kristian Fiskerstrand <k_f@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/ampache/
Date: Sat, 30 Jun 2018 13:58:07
Message-Id: 1530367075.0eddffc9c053d8a92e9098cb760e21a05a45a407.k_f@gentoo
1 commit: 0eddffc9c053d8a92e9098cb760e21a05a45a407
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 30 13:21:04 2018 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 30 13:57:55 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eddffc9
7
8 www-apps/ampache: New upstream version 3.8.8
9
10 Amongst other thing fixes Qt5 issues for subsonic api
11
12 Package-Manager: Portage-2.3.40, Repoman-2.3.9
13
14 www-apps/ampache/Manifest | 1 +
15 www-apps/ampache/ampache-3.8.8.ebuild | 48 +++++++++++++++++++++++++++++++++++
16 2 files changed, 49 insertions(+)
17
18 diff --git a/www-apps/ampache/Manifest b/www-apps/ampache/Manifest
19 index 613f16dd39f..5d9513989cd 100644
20 --- a/www-apps/ampache/Manifest
21 +++ b/www-apps/ampache/Manifest
22 @@ -1 +1,2 @@
23 DIST ampache-3.8.3.tar.gz 8444610 BLAKE2B a08f49ee043ea8dbf89d7ac8a3bed892be389605f6d23aa1454166d7058ae227ec6f24cf397e4d7e9d93c9441a43df54824ece768980cbf7e98bd5a098648a5d SHA512 35deb6bde949641bf39f58e033953bc0d79f1f56033d496e5a3d302d16c998da3468d1d82ac49e0702fada34a6dafb22ffa5bc931fe886e35c81ba2a5cf1233e
24 +DIST ampache-3.8.8.tar.gz 8453616 BLAKE2B 4cfd19e90dda22012b6dd73d4540bb5252e514682b0e51be35456e7179f86123b6e8a7af8e3d936e53e0889da8927a9975ef07761415d019dc9668fc91461615 SHA512 4aa010b6bb42a192d6e2408265a78e738a356c08bfb43464fbc6e6375d8cdc9e4701280db0b21f73a1302b2792f9474c6dc5c7808c977a29aab2047a80caebfc
25
26 diff --git a/www-apps/ampache/ampache-3.8.8.ebuild b/www-apps/ampache/ampache-3.8.8.ebuild
27 new file mode 100644
28 index 00000000000..448fc8754f3
29 --- /dev/null
30 +++ b/www-apps/ampache/ampache-3.8.8.ebuild
31 @@ -0,0 +1,48 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit webapp
38 +
39 +DESCRIPTION="PHP-based tool for managing,updating and playing audio files via a web interface"
40 +HOMEPAGE="http://www.ampache.org/"
41 +SRC_URI="https://github.com/ampache/ampache/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
45 +IUSE="aac flac mp3 ogg transcode"
46 +
47 +RDEPEND="dev-lang/php[gd,hash,iconv,mysql,pdo,session,unicode,xml,zlib]
48 + transcode? ( media-sound/lame
49 + aac? ( || ( media-libs/faad2 media-sound/alac_decoder ) )
50 + flac? ( media-libs/flac )
51 + mp3? ( media-sound/mp3splt )
52 + ogg? ( media-sound/mp3splt media-sound/vorbis-tools )
53 + )"
54 +DEPEND=""
55 +
56 +need_httpd_cgi
57 +
58 +src_install() {
59 + webapp_src_preinst
60 +
61 + doman docs/man/man1/ampache.1
62 + rm -rf docs/man || die "Unable to remove local man dir"
63 +
64 + dodoc docs/*
65 + rm -rf docs/ || die "Unable to remove local docs dir"
66 +
67 + insinto "${MY_HTDOCSDIR}"
68 + doins -r .
69 +
70 + webapp_postinst_txt en "${FILESDIR}"/installdoc.txt
71 + webapp_src_install
72 +}
73 +
74 +pkg_postinst() {
75 + elog "Install and upgrade instructions can be found here:"
76 + elog " /usr/share/doc/${P}/INSTALL.bz2"
77 + elog " /usr/share/doc/${P}/MIGRATION.bz2"
78 + webapp_pkg_postinst
79 +}