Files
guru/www-apps/castopod/castopod-1.4.1.ebuild
Anna (cybertailor) Vyalkova 97c9793e95 www-apps/castopod: add 1.4.1, drop 1.4.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-06-22 23:19:54 +05:00

41 lines
924 B
Bash

# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature webapp
UPLOAD_HASH="a486871ac2e2787c90420001bf782c7a"
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
}