commit:     72f1db8ca6f15b94dd4e36882b43c4f82dfdbfe8
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 12 09:06:36 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 09:06:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f1db8c

www-apps/piwigo: add 13.0.0

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 www-apps/piwigo/Manifest             |  1 +
 www-apps/piwigo/piwigo-13.0.0.ebuild | 44 ++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/www-apps/piwigo/Manifest b/www-apps/piwigo/Manifest
index e9c8da0241e9..f11c9e3169b8 100644
--- a/www-apps/piwigo/Manifest
+++ b/www-apps/piwigo/Manifest
@@ -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

diff --git a/www-apps/piwigo/piwigo-13.0.0.ebuild 
b/www-apps/piwigo/piwigo-13.0.0.ebuild
new file mode 100644
index 000000000000..646c95f17d2a
--- /dev/null
+++ b/www-apps/piwigo/piwigo-13.0.0.ebuild
@@ -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
+}

Reply via email to