Package Details: freetube-git 0.25.3.beta.r10801.efcd3ca-1

Git Clone URL: https://aur.archlinux.org/freetube-git.git (read-only, click to copy)
Package Base: freetube-git
Description: An open source desktop YouTube player built with privacy in mind - built from git source tree.
Upstream URL: https://freetubeapp.io
Licenses: AGPL-3.0-or-later
Conflicts: freetube
Provides: freetube
Submitter: picokan
Maintainer: picokan
Last Packager: picokan
Votes: 22
Popularity: 0.119824
First Submitted: 2020-10-01 22:23 (UTC)
Last Updated: 2026-09-20 09:18 (UTC)

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

no_gafam commented on 2026-09-19 09:08 (UTC) (edited on 2026-09-19 09:08 (UTC) by no_gafam)

pnpm still causes trouble ^^

they changed the head of pnpm-workspace.yaml...

so the sed-6i-lines in prepare() lead to an indent error:

[ERROR] bad indentation of a mapping entry (8:22)

 5 |   '@parcel/watcher': false # Only required when you w ...
 6 | minimumReleaseAge: 0
 7 | strictDepBuilds: false
 8 |   electron-winstaller: false # We build NSIS installe ...
--------------------------^
 9 |   lefthook: true # Installing git hooks
 10 |   unrs-resolver: false # Works around an npm specific ...
For help, run: pnpm help install

fixed it by letting sed attach the lines to the end of the file:

  sed -i '$a strictDepBuilds: false' "$srcdir/$_pkgname/pnpm-workspace.yaml"
  sed -i '$a minimumReleaseAge: 0' "$srcdir/$_pkgname/pnpm-workspace.yaml"

I have no idea if that may cause new issues in the future but for now the build runs without any errors

Leia commented on 2026-07-25 02:04 (UTC) (edited on 2026-07-25 02:13 (UTC) by Leia)

Fails to build with:

Lockfile failed supply-chain policy check (1157 entries in 6s)
[ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION] 5 lockfile entries failed verification:
@es-joy/jsdoccomment@0.90.0 was published at 2026-07-24T08:31:51.632Z, within the minimumReleaseAge cutoff (2026-07-24T01:03:19.079Z)
eslint-plugin-jsdoc@63.2.2 was published at 2026-07-24T08:39:45.000Z, within the minimumReleaseAge cutoff (2026-07-24T01:03:19.079Z)
jsdoc-type-pratt-parser@7.3.0 was published at 2026-07-24T08:25:32.000Z, within the minimumReleaseAge cutoff (2026-07-24T01:03:19.079Z)
undici@6.28.0 was published at 2026-07-24T12:55:21.000Z, within the minimumReleaseAge cutoff (2026-07-24T01:03:19.079Z)
undici@7.29.0 was published at 2026-07-24T12:52:46.000Z, within the minimumReleaseAge cutoff (2026-07-24T01:03:19.079Z)

Maybe the PKGBUILD could be updated to insert "6i minimumReleaseAge: 0"; as suggested by no_gafam. Seems like this is a recurring issue.

no_gafam commented on 2026-07-08 11:51 (UTC)

my bad, they fixed the problem a day later within the pnpm-workspace.yaml:

* * Update pnpm to add youtubei.js to minimumReleaseAgeExclude

picokan commented on 2026-07-05 09:08 (UTC)

Odd, I'm not getting that error when compiling with the current PKGBUILD and latest freetube commit.

no_gafam commented on 2026-07-01 09:30 (UTC)

strict pnpm v11 building policies strike again:

[ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION] 3 lockfile entries failed verification

Fixed it by adding this line to prepare():

sed -i "6i minimumReleaseAge: 0" "$srcdir/$_pkgname/pnpm-workspace.yaml"

no_gafam commented on 2026-06-03 11:29 (UTC) (edited on 2026-06-03 11:31 (UTC) by no_gafam)

seems like since pnpm v11 dependencies within build scripts are handled more strict and freetube uses more unapproved packages than just '@parcel/watcher'...

I deactivated the strict approval rule by adding this line to build():

export PNPM_CONFIG_STRICT_DEP_BUILDS=false

nathaniel7 commented on 2026-06-02 21:25 (UTC)

I found it necessary to add this line to build(): pnpm approve-builds @parcel/watcher

picokan commented on 2026-05-12 07:46 (UTC)

Thanks for the _electron idea, that'll help with forgetting to change all instances of it. We aren't developing freetube, so I'm not too bothered with running linters and making sure they pass.

Healing_Hands commented on 2026-05-11 22:40 (UTC)

Hi,

The freetube.sh file still contains "electron41", and so does in the sed command.

italoghost commented on 2026-05-11 13:48 (UTC) (edited on 2026-05-11 14:53 (UTC) by italoghost)

Hi!

I will explain in parts:

1) _electron: I've created this variable to make it easier to change `electron` versions;
2) depends: I checked the `namcap` errors and added the dependencies accordingly;
3) makedepends: with `pnpm` you don't need `npm` anymore;
4) prepare(): I've changed the `sed` commands a little bit, so it can conform with `pnpm run lint`;
5) build(): I've changed to `pnpm run ci`, `pnpm run lint` and `pnpm run build` so we could be as close to upstream as possible. See https://github.com/FreeTubeApp/FreeTube/blob/development/.github/workflows/build.yml

UPDATE: I've checked the namcap again and the dependencies are not necessary, only electron.