aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2023-06-22 05:42:39 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2023-06-22 05:42:39 +0500
commitc2aa572cbecce483b097ae8959935a70aad503ea (patch)
tree7124891335bf9605b0cf59ddae25707d61710b38
parentapp-vim/python-syntax: treeclean outdated (diff)
downloadguru-c2aa572cbecce483b097ae8959935a70aad503ea.tar.gz
guru-c2aa572cbecce483b097ae8959935a70aad503ea.tar.bz2
guru-c2aa572cbecce483b097ae8959935a70aad503ea.zip
www-apps/castopod: add 1.4.0
Closes: https://bugs.gentoo.org/907401 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
-rw-r--r--www-apps/castopod/Manifest1
-rw-r--r--www-apps/castopod/castopod-1.4.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/www-apps/castopod/Manifest b/www-apps/castopod/Manifest
index 8ac95380b..acdca6bae 100644
--- a/www-apps/castopod/Manifest
+++ b/www-apps/castopod/Manifest
@@ -1 +1,2 @@
DIST castopod-1.3.5.tar.gz 52956999 BLAKE2B 3cb72dcd18c5334969eadbbd2979967d4299c69e922f389f1f6689e9ce12ca7cb4d5e4ea0faaeeac7e6dc1d15dd4b63f8d348cbe8c3d9cb938d018f6b8abf697 SHA512 a9e702265edb9377958bed1d4694b04b1c76d0472c1a80e9af92f38058b24f511da364f2c9870e3be22bea3ed9292eb7c0607a98d3022b1229f316c76351a3dd
+DIST castopod-1.4.0.tar.gz 52376689 BLAKE2B 75c997c501b03d6089fd1d63d26d14ef95f96f3d1f82f470aa5cb3ef63930b3604b82de4776bd2636e5e20ebf3a55edde0d1c3b99955aa1d21d0744fe2d0f9b5 SHA512 448bf5d58ed47eb492cda183575102a24dc1858b758cd466728b26a765ab7772b7d533c4e2cc0e9b9a4a9e7db49fa3b4d00288f721c6887b6a043616e2f64092
diff --git a/www-apps/castopod/castopod-1.4.0.ebuild b/www-apps/castopod/castopod-1.4.0.ebuild
new file mode 100644
index 000000000..8ece9d1d7
--- /dev/null
+++ b/www-apps/castopod/castopod-1.4.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature webapp
+
+UPLOAD_HASH="f011d401810c4281b9487aa58af35835"
+DESCRIPTION="Open-source hosting platform made for podcasters"
+HOMEPAGE="
+ https://castopod.org
+ https://code.castopod.org/adaures/castopod
+"
+SRC_URI="https://code.castopod.org/adaures/${P}/uploads/${UPLOAD_HASH}/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="AGPL-3+ Apache-2.0 BSD-2 BSD GPL-1+ GPL-2 GPL-2+ GPL-3 LGPL-3 MIT MPL-2.0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-lang/php-8.1[curl,exif,gd,intl,mysqli,unicode,webp,xml]
+ virtual/httpd-php
+"
+
+# https://code.castopod.org/adaures/castopod/-/issues/345
+RESTRICT="fetch"
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/writable
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ optfeature "better cache perfomance" dev-db/redis
+ optfeature "video clips support" media-video/ffmpeg
+}