summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2017-06-25 20:18:45 +0200
committerKristian Fiskerstrand <k_f@gentoo.org>2017-06-25 20:19:21 +0200
commit6e742115c483e4dcb2e2f53da27d4e87364cdc93 (patch)
treeffc607abdd4ff856023b455c8ce5861162f948fa /www-apps
parentnet-misc/networkmanager: add RDEPEND on arping (diff)
downloadgentoo-6e742115c483e4dcb2e2f53da27d4e87364cdc93.tar.gz
gentoo-6e742115c483e4dcb2e2f53da27d4e87364cdc93.tar.bz2
gentoo-6e742115c483e4dcb2e2f53da27d4e87364cdc93.zip
www-apps/ampache: New upstream version 3.8.3
Gentoo-Bug: 603766 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/ampache/Manifest1
-rw-r--r--www-apps/ampache/ampache-3.8.3.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/www-apps/ampache/Manifest b/www-apps/ampache/Manifest
index 26c9d81348f2..a88d47c3dcd6 100644
--- a/www-apps/ampache/Manifest
+++ b/www-apps/ampache/Manifest
@@ -1,2 +1,3 @@
DIST ampache-3.8.1.tar.gz 7938754 SHA256 2eff94b5674ceb3cfc3a53c1addb297b016f74b1e732f17e9d05920f2ed2a35a SHA512 70151a2f28ab8998fea9be2817bd9ba7e80eea1aa78867d69f0e250bea7e9f025825566a0b80d06de09c6d73352f6951922cc52da98370c3c341edabffbc6061 WHIRLPOOL f67fc41cf4d25512d2b0834e9903f59e230aeeb0ab9e92394ebc9ae938cabed3de47fae00e1595d3a402f94b7e8d9ed00e5215977f81a972e9e3cd8acc994d82
DIST ampache-3.8.2.tar.gz 8083716 SHA256 920509ed018695ac4698fc257b27a30eebb34e4199da2436954c6a30ba378fb9 SHA512 ed81ac0a3c052efc363104fc5f64c7ea6ee4db49c01473be763ef550c8c5c665d79f4a91fd2047332086b99fa09b1427a6e605055f62c693f42f95daf3b7bb98 WHIRLPOOL 3e338443bd17c2071bc291bb3e67c464ec06152d1e5838fbe5a39ddda3a0dad5d24697112ce81837caeeda79efc7938adef2f8bd5767a5463de6f600ac0c4696
+DIST ampache-3.8.3.tar.gz 8444610 SHA256 3d48c497dd75149d216123d1ff1f3344b7989bb2c5f1e0cc3a087d9fee398719 SHA512 35deb6bde949641bf39f58e033953bc0d79f1f56033d496e5a3d302d16c998da3468d1d82ac49e0702fada34a6dafb22ffa5bc931fe886e35c81ba2a5cf1233e WHIRLPOOL 94b419b41f3b13097195e9ad544303f0e73d0f002aa6ba59f638c1f709a546df636952deafe66e53aba555da63c11fcf3975f7d29a0b4bb632b497a16a836178
diff --git a/www-apps/ampache/ampache-3.8.3.ebuild b/www-apps/ampache/ampache-3.8.3.ebuild
new file mode 100644
index 000000000000..1ecb4ef84a6e
--- /dev/null
+++ b/www-apps/ampache/ampache-3.8.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 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
+}