-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the FreeTube package to a precompiled one
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
Showing
5 changed files
with
32 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
freetube-bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.