Skip to content

Commit

Permalink
Change the FreeTube package to a precompiled one
Browse files Browse the repository at this point in the history
 FreeTube requires an Electron version that isn't available in Void repositories,
so the best approach to keep providing this package was to change it to one with
precompiled binaries.

For now only x86_64 is available, but it seems that 0.22.0 will provide a release
package for Alpine, so maybe we can use that for Musl? We'll see.
  • Loading branch information
KF-Art committed Oct 19, 2024
1 parent 1c16bb5 commit d70143c
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 54 deletions.
1 change: 1 addition & 0 deletions srcpkgs/freetube
31 changes: 31 additions & 0 deletions srcpkgs/freetube-bin/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Template file for 'freetube-bin'
pkgname=freetube-bin
version=0.21.3
revision=1
nostrip=yes
archs="x86_64"
create_wrksrc=yes
build_style=fetch
hostmakedepends="bsdtar"
depends="liberation-fonts-ttf"
repository="cereus-extra"
short_desc="An open source desktop YouTube player built with privacy in mind (precompiled binaries)"
maintainer="Kevin Figueroa <kfdevart@disroot.org>"
license="GPL-3.0"
homepage="https://freetubeapp.io"
changelog="https://github.com/FreeTubeApp/FreeTube/releases/tag/v${version}"
distfiles="https://github.com/FreeTubeApp/Freetube/releases/download/v${version}-beta/${pkgname%-bin}_${version}_amd64.deb"
checksum=bf8649c7b384cd50178d6c887371472916bfdacb9971e939c35ddbe4ab3adc08

do_install() {
ar x ${pkgname%-bin}_${version}_amd64.deb
bsdtar -xf data.tar.xz -C "${DESTDIR}"
vmkdir "usr/bin"
ln -s "/opt/FreeTube/${pkgname%-bin}" "${DESTDIR}/usr/bin/${pkgname%-bin}"
}

freetube_package() {
build_style=meta
depends="freetube-bin"
short_desc+=" - transitional dummy package"
}
12 changes: 0 additions & 12 deletions srcpkgs/freetube/files/freetube.desktop

This file was deleted.

2 changes: 0 additions & 2 deletions srcpkgs/freetube/files/freetube.sh

This file was deleted.

40 changes: 0 additions & 40 deletions srcpkgs/freetube/template

This file was deleted.

0 comments on commit d70143c

Please sign in to comment.