tis-freetube icon

FreeTube

Paquet d'installation silencieuse pour FreeTube

0.25.2-1
Media
Media

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-freetube
  • name: FreeTube
  • version: 0.25.2-1
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Clément BAZIRET
  • licence: opensource_free,cpe:/a:gnu:agpl_v3,wapt_private
  • target_os: redhat_based
  • impacted_process: FreeTube
  • architecture: x64
  • signature_date:
  • size: 88.00 Mo
  • installed_size: 234.53 Mo
  • homepage : https://freetubeapp.io/

package           : tis-freetube
version           : 0.25.2-1
architecture      : x64
section           : base
priority          : optional
name              : FreeTube
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Clément BAZIRET
description       : FreeTube is an Open Source desktop application that allows you to browse YouTube more privately
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : redhat_based
min_wapt_version  : 2.3
sources           : https://github.com/FreeTubeApp/FreeTube/releases
installed_size    : 234527874
impacted_process  : FreeTube
description_fr    : FreeTube est une application de bureau Open Source qui vous permet de naviguer sur YouTube de manière plus privée
description_pl    : FreeTube to aplikacja desktopowa typu Open Source, która pozwala przeglądać YouTube bardziej prywatnie
description_de    : FreeTube ist eine Open-Source-Desktop-Anwendung, die es Ihnen ermöglicht, YouTube noch privater zu durchsuchen
description_es    : FreeTube es una aplicación de escritorio de código abierto que te permite navegar por YouTube de forma más privada
description_pt    : O FreeTube é uma aplicação de ambiente de trabalho de código aberto que lhe permite navegar no YouTube de forma mais privada
description_it    : FreeTube è un'applicazione desktop open source che consente di navigare su YouTube in modo più riservato
description_nl    : FreeTube is een Open Source bureaubladtoepassing waarmee je veiliger door YouTube kunt bladeren
description_ru    : FreeTube - это настольное приложение с открытым исходным кодом, которое позволяет просматривать YouTube в более приватном режиме
audit_schedule    : 
editor            : 
keywords          : freetube,browse,youtube,privately
licence           : opensource_free,cpe:/a:gnu:agpl_v3,wapt_private
homepage          : https://freetubeapp.io/
package_uuid      : 433774a2-6549-46e1-9be7-b22a9947320d
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/FreeTubeApp/FreeTube/releases
min_os_version    : 8
max_os_version    : 
icon_sha256sum    : 73690d9ca8dedea327ab056fc2f08fc5117581a030492aea0bb76604247c6cbf
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-08-11T23:49:03.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : BCDw0RsXZO7KBPpau2/ttopY9w0Pp6MT16bx5R9llVjE1YR8qvQ3/5IZr87NEtVXZOnEhlGDPA+Zno0WJiVtPfoYrQ0ApqBQ4oHXRvQLzMqaolckjo6gX8idsVqkTBjUMiaQQo6D0lUmK/tdDdjxlCY8z5TIO1Ki+Cq1v1pfvdgSWiIahhvQ5qgePxbP17UfeOp92UFggUViyafWlI1VUzmpCwjW6JhGZklCOU44CFyX1RAyWJ5A2FOCSkDPRcbl3czqo5lhiZWNm8otRLZquRGcTD8aKtK90GfhZwo7bEFVZHlWeKKzqp+LPWesbmJwOjiKdV0Lxa5rtovPE1/Q4w==

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    bin_name = glob.glob("freetube*amd64.rpm")[0]

    if get_distrib_linux() == "almalinux" and get_distrib_version().startswith("10"):   
        run('LANG=C yum install -y epel-release', timeout=900)

    if get_distrib_linux() == 'fedora':
        install_yum(bin_name)
    else:
        install_rpm(bin_name)

def uninstall():
    uninstall_yum("freetube")

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/FreeTubeApp/FreeTube/releases"  # not /latest because releases are all in "pre-release"
    download_dict = {
        "windows-x64": "-setup-x64.exe",
        "windows-arm64": "-setup-arm64.exe",
        "redhat_based-x64": "amd64.rpm",
        "redhat_based-arm64": "arm64.rpm",
        "debian_based-x64": "amd64.deb",
        "debian_based-arm64": "arm64.deb",
        "macos-x64": "-mac-x64.dmg",
    }

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)[0]
    version = json_load["tag_name"].replace("v", "").replace("-beta", "")
    for to_download in json_load["assets"]:
        if download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            break

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
        else:
            error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
0c6a2f1915c5fdfdea545a7ca3427c5370f35a27e902819db54a0d9d23817a82 : WAPT/control
73690d9ca8dedea327ab056fc2f08fc5117581a030492aea0bb76604247c6cbf : WAPT/icon.png
707a1f337ff99d0084aedc16cb2d481e78fc1479eb9a195686ca31b45040d5f5 : freetube-0.25.2-beta.amd64.rpm
c9310fc28390b052f3dd662e57542308414c02b837d5dbfd1c5cdbad9a0c5202 : luti.json
97c3e23ea81022e9876f0267718730679c39e156f412633f21fb9f5c7c617170 : setup.py
a8443fd9f8ff401b5a3989127c6e18215b57a4aa440c428b4c52ed1a3d35259e : update_package.py