summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/piwigo/Manifest1
-rw-r--r--www-apps/piwigo/piwigo-12.0.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/www-apps/piwigo/Manifest b/www-apps/piwigo/Manifest
index 613191c697a1..acc29d6a0202 100644
--- a/www-apps/piwigo/Manifest
+++ b/www-apps/piwigo/Manifest
@@ -1 +1,2 @@
DIST piwigo-11.5.0.zip 17742118 BLAKE2B f27bbe445cf93051196270ac1464400f1d74bc8ac2a05129e43065cd3fa60d8d82131ccf50e1d5c16fac9ceac06f1a888d10576857b8c9ede74e67cc61b2a805 SHA512 cc6a2f0dc745e2cd33884b5967a9077095f4848c11996edb73bcace53cf7f87c29e177777096e13d86a83f4e9296dc230fa4bef992ecc394ebbdba7fe0d5280c
+DIST piwigo-12.0.0.zip 17881368 BLAKE2B 9dad33074f763ff5c55f206c39eb1e4cc799bb6ec9d375a344a1e71a5a4d83bcd1363ae5d0a240535114874809b00df634a31df412a2f08d04a8bb09ae476e30 SHA512 07726d88538d62a73e15900971ecc0ac7b4d2dd70dd51eff8ab74d9d4b3c83784db574227ee7b0b68f11b0d5eca8dc5a9556dcc4ea47469126611883b9523606
diff --git a/www-apps/piwigo/piwigo-12.0.0.ebuild b/www-apps/piwigo/piwigo-12.0.0.ebuild
new file mode 100644
index 000000000000..71cbdf15e5c3
--- /dev/null
+++ b/www-apps/piwigo/piwigo-12.0.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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"
+BDEPEND="app-arch/unzip"
+
+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
+}