commit:     f2757ac2b191f5cce7b0e1530399f8962db8783f
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 20:01:22 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 20:01:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2757ac2

www-apps/piwigo: add 12.3.0

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 www-apps/piwigo/Manifest             |  1 +
 www-apps/piwigo/piwigo-12.3.0.ebuild | 44 ++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/www-apps/piwigo/Manifest b/www-apps/piwigo/Manifest
index befc393ff762..4ff5372e2ee9 100644
--- a/www-apps/piwigo/Manifest
+++ b/www-apps/piwigo/Manifest
@@ -1 +1,2 @@
 DIST piwigo-12.2.0.zip 17894607 BLAKE2B 
ebe6ad72e0a737fc1179cbf86a80d03a928877288843c76df77c2688d04ca25d6e54bcbce218d67c4dbb67a3a3ee3f95d3c4a834cb89b58ce64645ad38b77354
 SHA512 
5117bfc98ae9721cf654c7811816ad5b633128b01e98005e7b23f555c08a12ba7ae7651d678e5d3e173f738165af5784cccf37d491ab494ab34b2ac70a212f8c
+DIST piwigo-12.3.0.zip 17957384 BLAKE2B 
ad0adc0bef364a75152d75f4b4fb6f8a0731903e1a13b35442abba469ed23d3637ce5cfad20e0b399866d7d8b1be6aebc72645706fb4452d899a78dfecf47b07
 SHA512 
541447095deb7fed001b4ae09a292d9e8285363953a8660cba1630875584900bf0ec207358b70c479c882d2d69705c95357754a4074bdb94d54793583a28e8e2

diff --git a/www-apps/piwigo/piwigo-12.3.0.ebuild 
b/www-apps/piwigo/piwigo-12.3.0.ebuild
new file mode 100644
index 000000000000..5d7d1f3343b3
--- /dev/null
+++ b/www-apps/piwigo/piwigo-12.3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 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
+}

Reply via email to