www-apps/piwigo: add 15.6.0

Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
Bernard Cafarelli
2025-07-26 10:12:26 +02:00
parent bc0456e12a
commit a9ee024b35
2 changed files with 43 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST piwigo-15.5.0.zip 18694477 BLAKE2B 1c62a6897f7a7770127a2700dedef718010d4f56571f092912012b15035dc14e71bbfc546b80f0988148eb0c95d83d9653423893e1e62aa2ef829c3b992b3c61 SHA512 10ddbb57d2ce2833b2d612bbd151b528a5a1b8963209c497245ec9483a43e4418998ec7e83006932d863d5eb3eae92bbffeb6246a8ca36005c35f79a3c1292de
DIST piwigo-15.6.0.zip 18698794 BLAKE2B 9f9000ac9d13b7d512aada0a9f3a9b0c123905805d3e3d89e3d644c164fc0678f638ba6e5ed1e3b7c8f8a30c815d00154545f746a4b452974cf4b5a6b29e3993 SHA512 bb26d62f373217f6087f54166046884a7ed766146e9fa8dcb65ea05920b3c395bcdc6070eb0e9616c3137f8e9002b9854784239d5082807fcdc82cabb8ccf309

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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"
S=${WORKDIR}/${PN}
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="+exif +gd imagemagick"
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 )"
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
}