tis-tenacity icon

Tenacity

Silent install package for Tenacity

1.3.4-0

  • package: tis-tenacity
  • name: Tenacity
  • version: 1.3.4-0
  • categories: Utilities,Media
  • maintainer: WAPT Team,Tranquil IT,tisadmin,Clément BAZIRET
  • licence: opensource_free,cpe:/a:gnu:gpl_v2,wapt_private
  • locale: all
  • target_os: windows
  • impacted_process: tenacity
  • architecture: x64
  • signature_date:
  • size: 12.98 Mo
  • installed_size: 55.86 Mo
  • homepage : https://codeberg.org/tenacityteam/tenacity

package           : tis-tenacity
version           : 1.3.4-0
architecture      : x64
section           : base
priority          : optional
name              : Tenacity
categories        : Utilities,Media
maintainer        : WAPT Team,Tranquil IT,tisadmin,Clément BAZIRET
description       : Tenacity is a free, easy-to-use, multi-track audio editor and recorder
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://codeberg.org/tenacityteam/tenacity/releases
installed_size    : 55855903
impacted_process  : tenacity
description_fr    : Tenacity est un éditeur et enregistreur audio multipiste gratuit et facile à utiliser
description_pl    : Tenacity to darmowy, łatwy w użyciu, wielościeżkowy edytor i rejestrator dźwięku
description_de    : Tenacity ist ein kostenloser, einfach zu bedienender Mehrspur-Audio-Editor und -Recorder
description_es    : Tenacity es un editor y grabador de audio multipista gratuito y fácil de usar
description_pt    : O Tenacity é um editor e gravador de áudio multipista gratuito e fácil de utilizar
description_it    : Tenacity è un editor e registratore audio multitraccia gratuito e facile da usare
description_nl    : Tenacity is een gratis, gebruiksvriendelijke multi-track audiobewerker en recorder
description_ru    : Tenacity - бесплатный, простой в использовании, многодорожечный аудиоредактор и рекордер
audit_schedule    : 
editor            : 
keywords          : tenacity,track,audio,recorder
licence           : opensource_free,cpe:/a:gnu:gpl_v2,wapt_private
homepage          : https://codeberg.org/tenacityteam/tenacity
package_uuid      : 021a9672-66a5-4022-9eec-f5367519515f
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://codeberg.org/tenacityteam/tenacity/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 307e4dcf23e1b3f6384d6d002a64554854103f6f7e1b93012c30920a8f0bbfde
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-01-06T07:05:56.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         : SgAN4P4/y4cC6SmwFdQWi3Lwvyx6esE31L6zZFburXDLYEtWORj+jfxKfXbyyl133eah9CeqBITG1Fe1knV2nT6s3wWudMtXY2939rRzq0UxTN5wZtl1X5EPLsi9olRP5nQ2pebxkTMPQ+2wKNMpngkSZRsjjw8gwLIZS1TNIx+X71Ntxzq1xHVPv8bn8tNMf1lMrxKm+PD0EZ+QLadTUOKNBjOOn90afzD62B1jDDCW+ztKFAttW+UN4DmooiItV8gmL8fUIypTzu08ZYmTwAomQNAaWaYPKOaIsMG9xcZm9b2osTLI/mo7J4eG3e9gM360hma9iFogMj0/x1KyDw==

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


def install():
    bin_name = glob.glob("tenacity-win-*.exe")[0]

    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /ALLUSERS",
        key="Tenacity_is1",
        min_version=control.get_software_version(),
    )

# -*- 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://codeberg.org/api/v1/repos/tenacityteam/tenacity/releases/latest"
    download_dict = {
        "windows-x64": "-x64.exe",
        "windows-x86": "-x86.exe",
    }
    download_str = download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]]

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].replace("v", "").replace(".windows", "")
    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).replace(",", ".")
        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

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1f3fdc0c9aaf5ec6d20fb4f1b92d5d421329189b2c2838b11bf30da733fd4748 : WAPT/control
307e4dcf23e1b3f6384d6d002a64554854103f6f7e1b93012c30920a8f0bbfde : WAPT/icon.png
06a87b56f74d49f39c2e5f68e9fdfa7d43fe2ca7e851ce783f75760a47a11daf : luti.json
ca86e9ffd6f394907e43362bb53595271e646ebf3988d2699719a52229c58a19 : setup.py
1d85cc706752b9d0f39e72d1a84412addd2242ffad7580ebed488cd9cf758b72 : tenacity-win-1.3.4-x64.exe
e102ebfe08b35ab1ab9138af63654771766544ee3d7587e4e8e31a52c7362886 : update_package.py