www-apps/castopod: add 1.4.3

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-06-30 04:35:07 +05:00
parent e3f203f4b6
commit ebe3ef7cf9
2 changed files with 41 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST castopod-1.4.1.tar.gz 52379315 BLAKE2B 05c22be9f299112106da4c83cf601b9c4512199fdaa0861b2b730a1b9bc36bc2e55b98943a30af45d23a073e690d87cb7d282337d546e4916647c53597360982 SHA512 100f27a77f155aa13420b051cacd1e677178cbbb3e88b25ef31d828fc80c70f34fda52cc17d61126c01fc1f237e34310207efa85e421d3a51befda436832c10a
DIST castopod-1.4.3.tar.gz 52273984 BLAKE2B 2bd30d98b05172f851573b71c8503900805db20028554a67d11a0b8f8f9415421aaf018f7c872bac9c04d939197025432b1b06ff827d53705101138da6c6773e SHA512 f30feb71001d29dd14a96e51a06999356d7691f44da0eb0c96a28a14f4113d966e86ad1fde7583b5f2400bb764a2bc961c59b6b2ca233f15cb17edc805ea91e9

View File

@@ -0,0 +1,40 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature webapp
UPLOAD_HASH="192f3a3fb2abba24fee6990c46ff0e2b"
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/${PN}/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
"
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
}