www-apps/piwigo: add 13.0.0

Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
Bernard Cafarelli
2022-10-12 11:06:51 +02:00
parent 5a1f6001c3
commit 72f1db8ca6
2 changed files with 45 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST piwigo-12.3.0.zip 17957384 BLAKE2B ad0adc0bef364a75152d75f4b4fb6f8a0731903e1a13b35442abba469ed23d3637ce5cfad20e0b399866d7d8b1be6aebc72645706fb4452d899a78dfecf47b07 SHA512 541447095deb7fed001b4ae09a292d9e8285363953a8660cba1630875584900bf0ec207358b70c479c882d2d69705c95357754a4074bdb94d54793583a28e8e2
DIST piwigo-13.0.0.zip 18262546 BLAKE2B 6e6a3d29669c04fec39ac39676b371d79cba7dd807051227dfb0c05f5f06bb3ceb5c2fe3ea19546663e745353282f59d649391bf54cf1803362119402fb87ce2 SHA512 a8dffb7a653c9423c920725c73ffa12d61ac33664179490c9c99cfe4ba2228ab6c5df491a7f8ac69392ac1eb9d143f20068d41a2e36ba6bc855a82ff0dbc13bb
+44
View File
@@ -0,0 +1,44 @@
# Copyright 1999-2022 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"
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
}