aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2024-03-31 13:45:16 -0400
committerJulien Roy <julien@jroy.ca>2024-03-31 13:47:07 -0400
commit990e79f81ba1d6432af7ac835cf3cdde2fcbd052 (patch)
treebea6a7d48a7cf38901e484fbc49116cf9c5f0889 /www-apps/invidious
parentwww-apps/invidious: add 2024.03.31 (diff)
downloadguru-990e79f81ba1d6432af7ac835cf3cdde2fcbd052.tar.gz
guru-990e79f81ba1d6432af7ac835cf3cdde2fcbd052.tar.bz2
guru-990e79f81ba1d6432af7ac835cf3cdde2fcbd052.zip
www-apps/invidious: drop 2024.02.18
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'www-apps/invidious')
-rw-r--r--www-apps/invidious/Manifest1
-rw-r--r--www-apps/invidious/invidious-2024.02.18.ebuild162
2 files changed, 0 insertions, 163 deletions
diff --git a/www-apps/invidious/Manifest b/www-apps/invidious/Manifest
index 420b57bb0..7f814bde4 100644
--- a/www-apps/invidious/Manifest
+++ b/www-apps/invidious/Manifest
@@ -1,4 +1,3 @@
-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-2024.03.31.tar.gz 3293940 BLAKE2B 1d9ae4f2b3fc77db3351a383800984b15e2e619543b52484bd12aeb844c6655e23bb95b1fa0fb7d4b389a84bc986ec17de51821cfe9be5d32aab20e7f7422513 SHA512 5b3630cfbbc01f5967bcd24fd6b5c680854c4abdeb87fcbf4b181f8149e49b21f54b5140e3af0218a72f11917c813171945acfa2a16211b7697e70134e6aa65b
DIST invidious-mocks-11ec372.tar.gz 180392 BLAKE2B 899db54d4efdfc231d588155d52784d70a364c7382bd1652a3c384dc618435d646a50e957c1407f6ac7ade410e811438b23a16d9949e63f7791e34960bba1fc6 SHA512 7bc1aa17f555babaceca15fe51061400a6c8a9cb01ad15c5d22c155f3164aca7c6e49c8dcdbd894e1593c2c69d3ddaa201544b068510281e910b90a11a407e59
diff --git a/www-apps/invidious/invidious-2024.02.18.ebuild b/www-apps/invidious/invidious-2024.02.18.ebuild
deleted file mode 100644
index 418fca067..000000000
--- a/www-apps/invidious/invidious-2024.02.18.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit check-reqs shards systemd
-
-COMMIT="e8a36985aff1a5b33ddf9abea85dd2c23422c2f7"
-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}
-}