From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: www-apps/invidious/
Date: Sun, 16 Jul 2023 06:18:38 +0000 (UTC) [thread overview]
Message-ID: <1689342216.c79926454313907d04d0a5e248102ba3f276fb82.lanodan@gentoo> (raw)
commit: c79926454313907d04d0a5e248102ba3f276fb82
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Jul 14 13:43:36 2023 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Jul 14 13:43:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7992645
www-apps/invidious: drop 2023.06.22
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
www-apps/invidious/Manifest | 1 -
www-apps/invidious/invidious-2023.06.22.ebuild | 161 -------------------------
2 files changed, 162 deletions(-)
diff --git a/www-apps/invidious/Manifest b/www-apps/invidious/Manifest
index 66f42105a..7f3b0c757 100644
--- a/www-apps/invidious/Manifest
+++ b/www-apps/invidious/Manifest
@@ -1,4 +1,3 @@
-DIST invidious-2023.06.22.tar.gz 3267178 BLAKE2B 7d6a13dd878c1ce1b52009990cd0be4762482b901bcf58806fa43ab750ed20d867d80075f24beabb8ac5c13039163d1b9953d1045c3af24901ecfe717cc3aa14 SHA512 4f996d39a5de2472327c31b01d2ac0d4e5af6d65e199786570ddb95f4643328dd7064af4d602d786e9b5d1b27f233a800ac7fbb05eea2c4f20705355749d6e5d
DIST invidious-2023.07.05.tar.gz 3267903 BLAKE2B a2b25c996c17151ace3a1ebea4ff34d746b84d640d04bd56b1ff34f03146a78550da976dac38c606072212ad9cc07016865128f276ab0039ed29b970f5d34616 SHA512 7b8f3b205721d021f1f0f9a32dbb466a4acbe2a6c231be77a5e0b19f20ac4c6e9884040fc65750b37a229e26f0ddf8a105fe0d0f0f56d77ba34deb00366c9a71
DIST invidious-mocks-11ec372.tar.gz 180392 BLAKE2B 899db54d4efdfc231d588155d52784d70a364c7382bd1652a3c384dc618435d646a50e957c1407f6ac7ade410e811438b23a16d9949e63f7791e34960bba1fc6 SHA512 7bc1aa17f555babaceca15fe51061400a6c8a9cb01ad15c5d22c155f3164aca7c6e49c8dcdbd894e1593c2c69d3ddaa201544b068510281e910b90a11a407e59
DIST video.js-7.12.1.tgz 3511060 BLAKE2B 9ae5b1f6a0afab918b7dc3555fff2708963d4abb6c7903e13145b2d5393fb80e4ab6302c423b0ba15c805a624a23c25dd3db7865f1510c44cfc5d1d5ab1dbf54 SHA512 d0ec25eeae196e6e981d7f783fd595a90daf9e97de3723ad4cdc2e4c41282a8bd9a20a2a57631c3949ac40633811db60e2f19388fef816fe8755ad55e857917e
diff --git a/www-apps/invidious/invidious-2023.06.22.ebuild b/www-apps/invidious/invidious-2023.06.22.ebuild
deleted file mode 100644
index 962b57d4c..000000000
--- a/www-apps/invidious/invidious-2023.06.22.ebuild
+++ /dev/null
@@ -1,161 +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="75c4c0b349cfa7bb9904824b268bc930911399da"
-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-pg
- 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}
-}
next reply other threads:[~2023-07-16 6:18 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-16 6:18 Haelwenn Monnier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-04 14:56 [gentoo-commits] repo/proj/guru:master commit in: www-apps/invidious/ David Roman
2024-12-04 14:56 David Roman
2024-12-04 14:56 David Roman
2024-12-04 14:56 David Roman
2024-08-27 9:57 David Roman
2024-04-27 11:10 David Roman
2024-03-31 17:57 Julien Roy
2024-03-31 17:57 Julien Roy
2024-03-17 18:02 Julien Roy
2024-03-17 16:13 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-17 18:02 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-02-24 21:31 Julien Roy
2023-09-28 10:01 David Roman
2023-06-26 11:24 Andrew Ammerlaan
2023-06-10 10:56 Florian Schmaus
2023-05-28 15:01 Viorel Munteanu
2023-05-22 5:17 Viorel Munteanu
2023-05-11 14:32 Andrew Ammerlaan
2023-04-04 7:48 Florian Schmaus
2022-12-14 16:46 Florian Schmaus
2022-12-14 16:46 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1689342216.c79926454313907d04d0a5e248102ba3f276fb82.lanodan@gentoo \
--to=contact@hacktivis.me \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox