www-apps/castopod: new package, add 1.3.5

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-05-29 12:02:31 +05:00
parent 8451489179
commit ef17ed456d
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST castopod-1.3.5.tar.gz 52956999 BLAKE2B 3cb72dcd18c5334969eadbbd2979967d4299c69e922f389f1f6689e9ce12ca7cb4d5e4ea0faaeeac7e6dc1d15dd4b63f8d348cbe8c3d9cb938d018f6b8abf697 SHA512 a9e702265edb9377958bed1d4694b04b1c76d0472c1a80e9af92f38058b24f511da364f2c9870e3be22bea3ed9292eb7c0607a98d3022b1229f316c76351a3dd

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="0071d5055a69176c706591649b1d725d"
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
"
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
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
</pkgmetadata>