www-apps/freshrss: add 1.24.0

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2024-06-07 19:09:01 -04:00
parent 53cecaffb8
commit bd6c1c5dd1
2 changed files with 49 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST freshrss-1.23.1.gh.tar.gz 4321975 BLAKE2B 583fe3895b2d7b82d77c202bed985de46214affc3e35f022e64a818954667f10b4838f1c25854394b9896f834b21b0af1265f32936110329202bd7dfd275ced2 SHA512 df4c7eedf3dc8c5c9d0de722e00e3846d1bb1b1605d53a9415b5fd49715b91d6cf22f7f64503a706af32dc6f96415e28d772f7442816e76e266b4aa908984e95
DIST freshrss-1.24.0.gh.tar.gz 4382010 BLAKE2B 947db723a9652f712358c5fd1e029464cbe1492677891dbdce77b65b737ff6641a0bb1c301a83cc55474161fb2814ff8b52833714eae70b17b81fea62c75779b SHA512 4a3f6085daf69a8c03596fd2b99e6b045bec67f7ccb1923ce3e7ed07fdebbeb86b6d14040e8a06eead2909471a9fe8306c016dffd44ffb26885946a886bd53b8

View File

@@ -0,0 +1,48 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit webapp
DESCRIPTION="A free, self-hostable news aggregator"
HOMEPAGE="
https://freshrss.org/
https://github.com/FreshRSS/FreshRSS
"
SRC_URI="https://github.com/FreshRSS/FreshRSS/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/FreshRSS-${PV}"
LICENSE="AGPL-3"
KEYWORDS="~amd64"
IUSE="mysql +postgres sqlite"
REQUIRED_USE="|| ( mysql postgres sqlite )"
RDEPEND="
dev-lang/php[ctype,curl,fileinfo,fpm,jit,mysql?,pdo,postgres?,sqlite?,unicode,xml,zip,zlib]
virtual/httpd-php
"
DEPEND="${RDEPEND}"
need_httpd_fastcgi
PATCHES=(
"${FILESDIR}"/disable-network-tests.patch
)
src_compile() {
:
}
src_install() {
webapp_src_preinst
insinto "${MY_HTDOCSDIR}"
doins -r .
webapp_serverowned "${MY_HTDOCSDIR}"/data
webapp_serverowned "${MY_HTDOCSDIR}"/data/{index.html,cache,favicons,fever,users,users/_,tokens}
webapp_serverowned "${MY_HTDOCSDIR}"/data/{cache,favicons,fever,users,users/_,tokens}/index.html
webapp_src_install
}