mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Add unbuilt firefox to updater-firefox-147.0.2 * Adjust firefox deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust firefox deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Change all sommelier deps to => :logical deps Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix circular dependencies of docbook_xml and docbook_xml412. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Cleanup docbook circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix elogind, ffmpeg circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Cleanup more circular deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Mark packages from successful builds as automatically buildable. * updater-firefox-147.0.2: Package File Update Run on linux/386 container. * Add filelists and updated packages. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix gstreamer deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Handle missing dlist, update pipewire filelist Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add rsu_client filelist Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Suggested changes. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust elogind deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust docbook heredocs. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
38 lines
1.4 KiB
Ruby
38 lines
1.4 KiB
Ruby
require 'package'
|
|
|
|
class Freetube < Package
|
|
description 'The Private YouTube Client'
|
|
homepage 'https://freetubeapp.io/'
|
|
version '0.21.1'
|
|
license 'AGPL-3.0'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url({
|
|
aarch64: "https://github.com/FreeTubeApp/FreeTube/releases/download/v#{version}-beta/freetube-#{version}-linux-portable-armv7l.zip",
|
|
armv7l: "https://github.com/FreeTubeApp/FreeTube/releases/download/v#{version}-beta/freetube-#{version}-linux-portable-armv7l.zip",
|
|
x86_64: "https://github.com/FreeTubeApp/FreeTube/releases/download/v#{version}-beta/freetube-#{version}-linux-portable-x64.zip"
|
|
})
|
|
source_sha256({
|
|
aarch64: '0ba80c3a9bebbeffd8993a9916e1a0c89cf204db367c07d1c71d35de009b2fae',
|
|
armv7l: '0ba80c3a9bebbeffd8993a9916e1a0c89cf204db367c07d1c71d35de009b2fae',
|
|
x86_64: '7038609feef16f68f60a7258f421f4b7e0c21825ea8beb0c0a7aa47139698f29'
|
|
})
|
|
|
|
depends_on 'gtk3'
|
|
depends_on 'xdg_utils'
|
|
depends_on 'sommelier' => :logical
|
|
|
|
no_compile_needed
|
|
no_shrink
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/freetube"
|
|
FileUtils.mv Dir['*'], "#{CREW_DEST_PREFIX}/share/freetube"
|
|
FileUtils.ln_s "#{CREW_PREFIX}/share/freetube/freetube", "#{CREW_DEST_PREFIX}/bin/freetube"
|
|
end
|
|
|
|
def self.postinstall
|
|
ExitMessage.add "\nType 'freetube' to get started.\n"
|
|
end
|
|
end
|