aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2024-03-17 12:12:53 -0400
committerJulien Roy <julien@jroy.ca>2024-03-17 12:13:25 -0400
commit58ba967c5f11d6fa18b6b116d9e88e272bad1715 (patch)
tree568388bcbc6b869abeba5ff662b7b1360c3f57d9 /www-apps
parentwww-apps/invidious: add 2024.03.08 (diff)
downloadguru-58ba967c5f11d6fa18b6b116d9e88e272bad1715.tar.gz
guru-58ba967c5f11d6fa18b6b116d9e88e272bad1715.tar.bz2
guru-58ba967c5f11d6fa18b6b116d9e88e272bad1715.zip
www-apps/invidious: drop 2023.12.02
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/invidious/Manifest1
-rw-r--r--www-apps/invidious/invidious-2023.12.02.ebuild162
2 files changed, 0 insertions, 163 deletions
diff --git a/www-apps/invidious/Manifest b/www-apps/invidious/Manifest
index b577e8571..6614e9460 100644
--- a/www-apps/invidious/Manifest
+++ b/www-apps/invidious/Manifest
@@ -1,4 +1,3 @@
-DIST invidious-2023.12.02.tar.gz 3292203 BLAKE2B 78d0ff6aafea64808a656ca6f34ef7dcac53d31deebc51972d0becc45f911f70d64daf51f45b3848689833cfd3cefb650eacfc143469112d345ba3404beff04d SHA512 b6fc3916d2e6c3024d5c5ce123f868fe05950d8ef019e71d42c5f73793a2996a6a168ba0eaef94d20e0ed25714046ba582561eeaad6c4a3942ffe8fda01a6c45
DIST invidious-2024.02.18.tar.gz 3293879 BLAKE2B 470c60c36122c188f8371484c85401504789fdfa97570bcf1dea7c280831bcea3b40f54d4a7674746dfac6a3a571b1e7782189b3f32cf18d8aa372344fa5bf08 SHA512 ca11ce337368e3c18298c119a44395a0b95d30660dcf81d5f09bd1ec6c754b97f1e6aeaa940f0da1f12405583b23b00a7f8800193b6b12ec1f7f3ea3e66baffb
DIST invidious-2024.03.08.tar.gz 3293907 BLAKE2B 3e4b8650d57452ce0a6d1265cd391a74fbefeecdea4911126f37aec0bd3ee3e7167b086cf204858906e52cfd700e1b04d598bf9ee990a830932cb38466c1a04e SHA512 543dee1e8af07969be06589616198ece6cccace8833eeb1929c902d57ba5e7ebd13dc0cef5e1774ed98f8d85352547fc444690879a377e2f64b2781ea848f011
DIST invidious-mocks-11ec372.tar.gz 180392 BLAKE2B 899db54d4efdfc231d588155d52784d70a364c7382bd1652a3c384dc618435d646a50e957c1407f6ac7ade410e811438b23a16d9949e63f7791e34960bba1fc6 SHA512 7bc1aa17f555babaceca15fe51061400a6c8a9cb01ad15c5d22c155f3164aca7c6e49c8dcdbd894e1593c2c69d3ddaa201544b068510281e910b90a11a407e59
diff --git a/www-apps/invidious/invidious-2023.12.02.ebuild b/www-apps/invidious/invidious-2023.12.02.ebuild
deleted file mode 100644
index 325fbd23c..000000000
--- a/www-apps/invidious/invidious-2023.12.02.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit check-reqs shards systemd
-
-COMMIT="438467f69a20007cace4f300d03138b7d2d7e79a"
-MOCKS_COMMIT="11ec372f72747c09d48ffef04843f72be67d5b54"
-MOCKS_P="${PN}-mocks-${MOCKS_COMMIT:0:7}"
-DESCRIPTION="Invidious is an alternative front-end to YouTube"
-HOMEPAGE="
- https://invidious.io/
- https://github.com/iv-org/invidious
-"
-IV_ORG="https://github.com/iv-org"
-NPM="https://registry.npmjs.org"
-SRC_URI="
- ${IV_ORG}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
- ${NPM}/video.js/-/video.js-7.12.1.tgz
- ${NPM}/videojs-contrib-quality-levels/-/videojs-contrib-quality-levels-2.1.0.tgz
- ${NPM}/videojs-http-source-selector/-/videojs-http-source-selector-1.1.6.tgz
- ${NPM}/videojs-markers/-/videojs-markers-1.0.1.tgz
- ${NPM}/videojs-mobile-ui/-/videojs-mobile-ui-0.6.1.tgz
- ${NPM}/videojs-overlay/-/videojs-overlay-2.1.4.tgz
- ${NPM}/videojs-share/-/videojs-share-3.2.1.tgz
- ${NPM}/videojs-vr/-/videojs-vr-1.8.0.tgz
- ${NPM}/videojs-vtt-thumbnails/-/videojs-vtt-thumbnails-0.0.13.tgz
- test? (
- ${IV_ORG}/mocks/archive/${MOCKS_COMMIT}.tar.gz -> ${MOCKS_P}.tar.gz
- )
-"
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-LICENSE="AGPL-3 Apache-2.0 MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
- dev-db/sqlite:3
- dev-libs/boehm-gc
- dev-libs/libevent:=
- dev-libs/libpcre2:=
- dev-libs/libxml2:2
- dev-libs/libyaml
- dev-libs/openssl:=
- sys-libs/zlib:=
-"
-RDEPEND="${COMMON_DEPEND}
- acct-user/invidious
- gnome-base/librsvg
-"
-DEPEND="${COMMON_DEPEND}
- dev-crystal/athena-negotiation
- <dev-crystal/crystal-db-0.12.0
- <dev-crystal/crystal-pg-0.27.0
- dev-crystal/crystal-sqlite3
- ~dev-crystal/kemal-1.1.2
- dev-crystal/kilt
- >=dev-crystal/protodec-0.1.5
- test? (
- dev-crystal/spectator
- )
-"
-
-DOCS=( {CHANGELOG,README}.md TRANSLATION )
-
-CHECKREQS_MEMORY="2G"
-
-CRYSTAL_DEFINES=(
- -Dskip_videojs_download
- -Ddisable_quic
-)
-
-src_unpack() {
- local src depname destname js css
-
- for src in ${A}; do
- if [[ ${src} == "${P}.tar.gz" ]]; then
- unpack ${src}
- elif [[ ${src} == "${MOCKS_P}.tar.gz" ]]; then
- unpack "${src}"
- mkdir -p "${S}"/mocks || die
- rmdir "${S}"/mocks || die
- mv mocks-${MOCKS_COMMIT} "${S}"/mocks || die
- else
- depname="${src%-*}"
-
- case ${depname} in
- video.js)
- js="video.js" ;;
- *)
- js="${depname}.js" ;;
- esac
-
- case ${depname} in
- video.js)
- css="video-js.css" ;;
- videojs-markers)
- css="videojs.markers.css" ;;
- *)
- css="${depname}.css" ;;
- esac
-
- # Create the destination directory
- destname="${S}/assets/videojs/${depname}"
- mkdir -p "${destname}" || die
-
- # Create a temporary directory
- mkdir -p "${WORKDIR}"/${depname} || die
- cd "${WORKDIR}"/${depname} || die
-
- # Copy assets
- unpack ${src}
- cd package/dist || die
- mv ${js} ${destname} || die
- if [[ -f ${css} ]]; then
- mv ${css} ${destname} || die
- fi
-
- cd "${WORKDIR}" || die
- fi
- done
-}
-
-src_prepare() {
- default
-
- local datadir="${EPREFIX}/usr/share/invidious"
- sed -i src/invidious.cr \
- -e 's/\(CURRENT_BRANCH \) = .*/\1 = "master"/' \
- -e "s/\(CURRENT_COMMIT \) = .*/\1 = \"${COMMIT:0:7}\"/" \
- -e "s/\(CURRENT_VERSION\) = .*/\1 = \"${PV}\"/" \
- -e "s/\(ASSET_COMMIT\) = .*/\1 = \"${COMMIT:0:7}\"/" || die
-
- # fix paths
- sed -i src/invidious.cr \
- -e "s|\(public_folder\) \"assets\"|\1 \"${datadir}/assets\"|" || die
- sed -i src/invidious/helpers/i18n.cr \
- -e "s|File.read(\"locales/|File.read(\"${datadir}/locales/|" || die
- sed -i src/invidious/database/base.cr \
- -e "s|config/sql|${datadir}/\0|g" || die
-
- rm shard.lock || die
-}
-
-src_install() {
- dobin invidious
- einstalldocs
-
- insinto /usr/share/invidious
- doins -r assets config locales
-
- insinto /etc/invidious
- newins config/config.example.yml config.yml
-
- systemd_dounit "${FILESDIR}"/invidious.service
- newinitd "${FILESDIR}"/invidious.initd ${PN}
- newconfd "${FILESDIR}"/invidious.confd ${PN}
-}