Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/piwigo/
Date: Fri, 01 Jul 2022 20:01:41
Message-Id: 1656705695.f2757ac2b191f5cce7b0e1530399f8962db8783f.voyageur@gentoo
1 commit: f2757ac2b191f5cce7b0e1530399f8962db8783f
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 1 20:01:22 2022 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 1 20:01:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2757ac2
7
8 www-apps/piwigo: add 12.3.0
9
10 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
11
12 www-apps/piwigo/Manifest | 1 +
13 www-apps/piwigo/piwigo-12.3.0.ebuild | 44 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/www-apps/piwigo/Manifest b/www-apps/piwigo/Manifest
17 index befc393ff762..4ff5372e2ee9 100644
18 --- a/www-apps/piwigo/Manifest
19 +++ b/www-apps/piwigo/Manifest
20 @@ -1 +1,2 @@
21 DIST piwigo-12.2.0.zip 17894607 BLAKE2B ebe6ad72e0a737fc1179cbf86a80d03a928877288843c76df77c2688d04ca25d6e54bcbce218d67c4dbb67a3a3ee3f95d3c4a834cb89b58ce64645ad38b77354 SHA512 5117bfc98ae9721cf654c7811816ad5b633128b01e98005e7b23f555c08a12ba7ae7651d678e5d3e173f738165af5784cccf37d491ab494ab34b2ac70a212f8c
22 +DIST piwigo-12.3.0.zip 17957384 BLAKE2B ad0adc0bef364a75152d75f4b4fb6f8a0731903e1a13b35442abba469ed23d3637ce5cfad20e0b399866d7d8b1be6aebc72645706fb4452d899a78dfecf47b07 SHA512 541447095deb7fed001b4ae09a292d9e8285363953a8660cba1630875584900bf0ec207358b70c479c882d2d69705c95357754a4074bdb94d54793583a28e8e2
23
24 diff --git a/www-apps/piwigo/piwigo-12.3.0.ebuild b/www-apps/piwigo/piwigo-12.3.0.ebuild
25 new file mode 100644
26 index 000000000000..5d7d1f3343b3
27 --- /dev/null
28 +++ b/www-apps/piwigo/piwigo-12.3.0.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +inherit webapp
35 +
36 +DESCRIPTION="a photo gallery software for the web"
37 +HOMEPAGE="http://piwigo.org/"
38 +SRC_URI="http://piwigo.org/download/dlcounter.php?code=${PV} -> ${P}.zip"
39 +
40 +LICENSE="GPL-2"
41 +KEYWORDS="~amd64 ~x86"
42 +IUSE="+exif +gd imagemagick"
43 +
44 +DEPEND=""
45 +RDEPEND="
46 + imagemagick? ( virtual/imagemagick-tools )
47 + dev-lang/php[ctype,exif?,gd?,filter,iconv,json(+),mysqli]
48 + >=virtual/mysql-5.0
49 + virtual/httpd-php"
50 +BDEPEND="app-arch/unzip"
51 +
52 +REQUIRED_USE="|| ( gd imagemagick )"
53 +
54 +S=${WORKDIR}/${PN}
55 +
56 +src_install() {
57 + webapp_src_preinst
58 +
59 + insinto "${MY_HTDOCSDIR}"
60 + doins -r .
61 +
62 + # Local configuration, and parts that can be updated
63 + webapp_serverowned "${MY_HTDOCSDIR}"/_data
64 + webapp_serverowned -R "${MY_HTDOCSDIR}"/galleries
65 + webapp_serverowned -R "${MY_HTDOCSDIR}"/language
66 + webapp_serverowned -R "${MY_HTDOCSDIR}"/local
67 + webapp_serverowned -R "${MY_HTDOCSDIR}"/plugins
68 + webapp_serverowned -R "${MY_HTDOCSDIR}"/template-extension
69 + webapp_serverowned -R "${MY_HTDOCSDIR}"/themes
70 + webapp_serverowned "${MY_HTDOCSDIR}"/upload
71 +
72 + webapp_src_install
73 +}