summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/piwigo')
-rw-r--r--www-apps/piwigo/Manifest1
-rw-r--r--www-apps/piwigo/piwigo-2.9.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/www-apps/piwigo/Manifest b/www-apps/piwigo/Manifest
index 1c6ce809bf59..7af272be08f5 100644
--- a/www-apps/piwigo/Manifest
+++ b/www-apps/piwigo/Manifest
@@ -1,2 +1,3 @@
DIST piwigo-2.8.6.zip 7608839 SHA256 74e400afd780642d19752a1f6ea5d864b97047cc525ed2abfff95e1eba44b565 SHA512 1f68daa77722d6d3f00b644a50fd0be7dfa39d6390f8b202f4a61e890bd721c62ba34764f2b1634166ff12dc9ccbee117bd24d82f690c16abf6c5f37cb1b639f WHIRLPOOL 45070d3685302f017b488f44e08a81ee5cb9de1151d2467b13a461d50fa207c5ca1a02f4414745e555630acd37624dfd3cd1f67cf24cd10b8ed055583679aaf2
DIST piwigo-2.9.0.zip 7763733 SHA256 5301b8bf83aaa6542430a701ed814e316f13878593e525be4d5730c9caf36f6f SHA512 13f91e9ccb348fbcde6540e589a068da1aeead643303fc374db4d4b6ad5e491eeb1bdc4eca2b2d8707e23b858b6b76577433e0e33f9911cabbaeb4ce3e171cdf WHIRLPOOL dae383c3748513086dd70afd7f469d43451960cd526ae7ad59888e49d3abcb43020078403a8240656b6aed439af109fd9d7f4375eb5b8175d8f958584d3356b5
+DIST piwigo-2.9.1.zip 7777925 SHA256 7ff2d936d5436d9883f318ac32c1a3b482b870abb7e825d7414ebb21b2ab147d SHA512 5fee3e96a5a9a4d70cc1528f40569b45c1898e71245ca7fcfdf529d39ee79ae0d419ef38b61c536dfb5150d1f9fe683ceabf8393455d51539253d0010ccc2fff WHIRLPOOL 63d22402e80e18d85d0bdd2a9ac65f1ebf6a3d9479d43b5e239a3ebdc10dc72ba6b21b22670f24bb1c9303fbf301f20a80dc61e2c058083329967cf1aab7ef69
diff --git a/www-apps/piwigo/piwigo-2.9.1.ebuild b/www-apps/piwigo/piwigo-2.9.1.ebuild
new file mode 100644
index 000000000000..5eabb1cb9062
--- /dev/null
+++ b/www-apps/piwigo/piwigo-2.9.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit webapp
+
+DESCRIPTION="a photo gallery software for the web"
+HOMEPAGE="http://piwigo.org/"
+SRC_URI="http://piwigo.org/download/dlcounter.php?code=${PV} -> ${P}.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="+exif +gd imagemagick"
+
+DEPEND=""
+RDEPEND="
+ imagemagick? ( virtual/imagemagick-tools )
+ dev-lang/php[ctype,exif?,gd?,filter,iconv,json,mysqli]
+ >=virtual/mysql-5.0
+ virtual/httpd-php"
+
+REQUIRED_USE="|| ( gd imagemagick )"
+
+S=${WORKDIR}/${PN}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # Local configuration, and parts that can be updated
+ webapp_serverowned "${MY_HTDOCSDIR}"/_data
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/galleries
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/language
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/local
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/plugins
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/template-extension
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/themes
+ webapp_serverowned "${MY_HTDOCSDIR}"/upload
+
+ webapp_src_install
+}