www-apps/piwigo: add 14.4.0

Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
Bernard Cafarelli 2024-04-18 13:50:43 +02:00
parent 3950e0273a
commit 251e15b18b
No known key found for this signature in database
GPG Key ID: 00F7AB331B0F097F
2 changed files with 43 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST piwigo-14.3.0.zip 18497258 BLAKE2B 1ba04c81298c3de9edc3dd4f2c10feed9bb320ad0ed80fbc8edb36a8c590025b580684c4ce9cb0283d5b9580e32c44fe5673214a926e98335a3c69a18051a4c1 SHA512 80c34c150dc55f312c3ce4a694cae559e529375d657ce47c05c8650bbb452577f6ab6f41816ef37de5a34fc1d31bf152962fe20741403991d347bf2245dcd91c
DIST piwigo-14.4.0.zip 18500565 BLAKE2B c62dc0c5bfaae89d56cdc51aeef04d7e75dc25cd400918ac879f227e2f03028d5e4b556d8a3a79a2ae587b45b13cf7d192912a35c4cbc8029743eede20a07bd2 SHA512 2aecba41df2f39a864f58775cadecc8812647390c9b5cc0acfe67767de6130bc8166d65d76c8e59437494d52a4560554a94f8ba7beab44a9fb38997db430417e

View File

@ -0,0 +1,42 @@
# Copyright 1999-2024 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
}