www-apps/piwigo: add 16.4.0

Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
Bernard Cafarelli
2026-05-03 21:48:28 +02:00
parent ca4f350b3e
commit 13956dd728
2 changed files with 43 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST piwigo-16.3.0.zip 19926580 BLAKE2B 8e9fcc708d10b25c8404d5396b8a742e9634307f33f6fcd0c65e36af6de22344e4791c35c3d24a0d951151da466cc6081f0d9415b32019ea4b48c46228b76b05 SHA512 9893ef4b528b7dc5eed0be0b774c99a1f2747f8d316a5065564feb1a3efe8fd8bf9110e5259c4fa6f29c9ff122563acd74b460c33240cad9be40ab9203ae21ea
DIST piwigo-16.4.0.zip 19943808 BLAKE2B 3c959f9e8956f0979d5b3fc144bd75f7fb7fa92409833053a231d03e6506f344f675f65964884011c9ca5faa496f65702beb86e8e50f812b50a4e6284837a71e SHA512 48824e0046bad4184700902bd6af258e0ba38ac327367429430b0a7e34b35046448599e24e777bae7d311a48d99f97fd406cb46721fca74184eb953ab3b8c153
+42
View File
@@ -0,0 +1,42 @@
# Copyright 1999-2026 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
}