summaryrefslogtreecommitdiff
path: root/www-apps/ampache
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/ampache
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/ampache')
-rw-r--r--www-apps/ampache/Manifest6
-rw-r--r--www-apps/ampache/ampache-3.8.3.ebuild48
-rw-r--r--www-apps/ampache/files/installdoc.txt6
-rw-r--r--www-apps/ampache/metadata.xml14
4 files changed, 74 insertions, 0 deletions
diff --git a/www-apps/ampache/Manifest b/www-apps/ampache/Manifest
new file mode 100644
index 000000000000..3c32ed0d94ce
--- /dev/null
+++ b/www-apps/ampache/Manifest
@@ -0,0 +1,6 @@
+AUX installdoc.txt 223 SHA256 ad163088081a596b3fb1b08ae1c606dbea558f839377d6a19268f4e958acf53e SHA512 07636e6b53e9f259e1195795d15e6dc88e3e5401a700553df55cf7c0a39997c8bdfc3f5a83b0bac2a2ef474bea11d71e442ce6e45ef88b0fac0cf9c3307732d2 WHIRLPOOL 09cbaffcf4a5b41c49aa30703a8d969628da54a38d51eec794b8ef742586e9d8db1266a75ce2a88bd4908320a8e76d3b81a0cc4eb2f3918bd6c6b1c9096d9da6
+DIST ampache-3.8.3.tar.gz 8444610 SHA256 3d48c497dd75149d216123d1ff1f3344b7989bb2c5f1e0cc3a087d9fee398719 SHA512 35deb6bde949641bf39f58e033953bc0d79f1f56033d496e5a3d302d16c998da3468d1d82ac49e0702fada34a6dafb22ffa5bc931fe886e35c81ba2a5cf1233e WHIRLPOOL 94b419b41f3b13097195e9ad544303f0e73d0f002aa6ba59f638c1f709a546df636952deafe66e53aba555da63c11fcf3975f7d29a0b4bb632b497a16a836178
+EBUILD ampache-3.8.3.ebuild 1235 SHA256 b0e059d25cf41af722f4a0a4195fe56fb792ed4905c5e4cedbd7ff377b8ef8f5 SHA512 3a8bbfe71415fe4f466ef9fc7c4b2769e61a4e9df7d260e98784cf0c8427ab4227c032d0dff62a54bd5af31bedae92355044370d8064e4eefa75c019bfc3aa4b WHIRLPOOL 1e4413f819a99001f626a49d898df97b730473164b12ecf46e7a7866d0112ca2072fbd4a439d2555823ef25d333e9dc06d60a81fa81e7b7135c52d0363f5348f
+MISC ChangeLog 4036 SHA256 717dfd4d1b823bc3545cff107a09157a17efce3bf14d5afc3af5cbafb652b525 SHA512 7ad75f599e31ea456ce14f43cb893b1513911f5f1104cb4bf592547ae0e1aca246ece8365d718b18769248645ad054623771c423681ff80e27dcdcbfcf5475a5 WHIRLPOOL 1e38147843f52d024ad89733dcaf9bd90131777296c1acb894a32c8403e588834e837e263f78831c167f8a9f1123cf36ce449babefcb89f92a3c7de1e5fb8c00
+MISC ChangeLog-2015 8619 SHA256 f3fe86a0f378ac72519004253efe8642256be9f61462200c8bbce30b80032175 SHA512 d0983e91673757efdd3a01390a46c9f1837d6349320a7d9d302a664b6accaa3c0f82600d639938fb9f63852c45d1cc4bf5c659feb4146abb65de74c4da2e518e WHIRLPOOL edf7bf083828df6bdcea75432634255d4d1516574e5dfef780260688059acaa88c39ac678475215ec7c146d4d15ea2556cb4fec5dffa8e9ec5447d37d9307a9c
+MISC metadata.xml 432 SHA256 4c37bb5baff559db8ec1f9ece0a7bf0c55c4b1e1abd754799ca992c8fc153f5b SHA512 a10625a3ee73dbea032a0e6389a140a32441ac32bb11adbb9c01dc122da44a625604854bce9d34bbeed4969b3fdbe2bd5cf10678e1d2c362a3db55351eccf2de WHIRLPOOL 21ad5547fd54ef7d4fa17a93a26810139903f01a8ea5b3d9d5531ee88fcc12c12089f0f365c02bd88cf88a8a4c2f7e406d34ac922085ba1a2508bb5d7da00560
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..346eeb744af8
--- /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
+}
diff --git a/www-apps/ampache/files/installdoc.txt b/www-apps/ampache/files/installdoc.txt
new file mode 100644
index 000000000000..cdd6e118238e
--- /dev/null
+++ b/www-apps/ampache/files/installdoc.txt
@@ -0,0 +1,6 @@
+Install and upgrade instructions can be found here:
+/usr/share/doc/ampache-<version>/INSTALL.gz
+/usr/share/doc/ampache-<version>/MIGRATION.gz
+
+For general information please read:
+/usr/share/doc/ampache-<version>/README.gz
diff --git a/www-apps/ampache/metadata.xml b/www-apps/ampache/metadata.xml
new file mode 100644
index 000000000000..a1f5854ec25e
--- /dev/null
+++ b/www-apps/ampache/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>k_f@gentoo.org</email>
+ <name>Kristian Fiskerstrand</name>
+ </maintainer>
+ <use>
+ <flag name="transcode">Install optional dependencies for transcoding support</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ampache/ampache</remote-id>
+ </upstream>
+</pkgmetadata>