summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2018-06-30 15:21:04 +0200
committerKristian Fiskerstrand <k_f@gentoo.org>2018-06-30 15:57:55 +0200
commit0eddffc9c053d8a92e9098cb760e21a05a45a407 (patch)
tree124f621370f906210cba4be7ebbba3b97bc78cdb /www-apps
parentdev-ada/xmlada: Allow compiling with gnat_2016 (diff)
downloadgentoo-0eddffc9c053d8a92e9098cb760e21a05a45a407.tar.gz
gentoo-0eddffc9c053d8a92e9098cb760e21a05a45a407.tar.bz2
gentoo-0eddffc9c053d8a92e9098cb760e21a05a45a407.zip
www-apps/ampache: New upstream version 3.8.8
Amongst other thing fixes Qt5 issues for subsonic api Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/ampache/Manifest1
-rw-r--r--www-apps/ampache/ampache-3.8.8.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/www-apps/ampache/Manifest b/www-apps/ampache/Manifest
index 613f16dd39f6..5d9513989cd3 100644
--- a/www-apps/ampache/Manifest
+++ b/www-apps/ampache/Manifest
@@ -1 +1,2 @@
DIST ampache-3.8.3.tar.gz 8444610 BLAKE2B a08f49ee043ea8dbf89d7ac8a3bed892be389605f6d23aa1454166d7058ae227ec6f24cf397e4d7e9d93c9441a43df54824ece768980cbf7e98bd5a098648a5d SHA512 35deb6bde949641bf39f58e033953bc0d79f1f56033d496e5a3d302d16c998da3468d1d82ac49e0702fada34a6dafb22ffa5bc931fe886e35c81ba2a5cf1233e
+DIST ampache-3.8.8.tar.gz 8453616 BLAKE2B 4cfd19e90dda22012b6dd73d4540bb5252e514682b0e51be35456e7179f86123b6e8a7af8e3d936e53e0889da8927a9975ef07761415d019dc9668fc91461615 SHA512 4aa010b6bb42a192d6e2408265a78e738a356c08bfb43464fbc6e6375d8cdc9e4701280db0b21f73a1302b2792f9474c6dc5c7808c977a29aab2047a80caebfc
diff --git a/www-apps/ampache/ampache-3.8.8.ebuild b/www-apps/ampache/ampache-3.8.8.ebuild
new file mode 100644
index 000000000000..448fc8754f3e
--- /dev/null
+++ b/www-apps/ampache/ampache-3.8.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit webapp
+
+DESCRIPTION="PHP-based tool for managing,updating and playing audio files via a web interface"
+HOMEPAGE="http://www.ampache.org/"
+SRC_URI="https://github.com/ampache/ampache/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="aac flac mp3 ogg transcode"
+
+RDEPEND="dev-lang/php[gd,hash,iconv,mysql,pdo,session,unicode,xml,zlib]
+ transcode? ( media-sound/lame
+ aac? ( || ( media-libs/faad2 media-sound/alac_decoder ) )
+ flac? ( media-libs/flac )
+ mp3? ( media-sound/mp3splt )
+ ogg? ( media-sound/mp3splt media-sound/vorbis-tools )
+ )"
+DEPEND=""
+
+need_httpd_cgi
+
+src_install() {
+ webapp_src_preinst
+
+ doman docs/man/man1/ampache.1
+ rm -rf docs/man || die "Unable to remove local man dir"
+
+ dodoc docs/*
+ rm -rf docs/ || die "Unable to remove local docs dir"
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_postinst_txt en "${FILESDIR}"/installdoc.txt
+ webapp_src_install
+}
+
+pkg_postinst() {
+ elog "Install and upgrade instructions can be found here:"
+ elog " /usr/share/doc/${P}/INSTALL.bz2"
+ elog " /usr/share/doc/${P}/MIGRATION.bz2"
+ webapp_pkg_postinst
+}