tis-audacity icon

Audacity

Paquet d'installation silencieuse pour Audacity

4.0.1-4
Media
Media

  • package: tis-audacity
  • name: Audacity
  • version: 4.0.1-4
  • categories: Media
  • maintainer: Tranquil IT,Jimmy PELÉ
  • editor: Audacity Team
  • licence: GPLv2
  • locale: all
  • target_os: windows
  • impacted_process: audacity
  • architecture: x64
  • signature_date:
  • size: 49.80 Mo
  • installed_size: 75.66 Mo
  • homepage : https://www.audacityteam.org

package           : tis-audacity
version           : 4.0.1-4
architecture      : x64
section           : base
priority          : optional
name              : Audacity
categories        : Media
maintainer        : Tranquil IT,Jimmy PELÉ
description       : Audacity is an easy-to-use, multi-track audio editor and recorder for Windows, Mac OS X, GNU/Linux and other operating systems.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.audacityteam.org/download/
installed_size    : 75657216
impacted_process  : audacity
description_fr    : Audacity est un logiciel d'enregistrement de son numérique et d'édition de sources audionumériques sous différents formats (mp3, Wave, AIFF, Flac, Ogg...).
description_pl    : Audacity to łatwy w użyciu, wielościeżkowy edytor i rejestrator audio dla systemów operacyjnych Windows, Mac OS X, GNU/Linux i innych
description_de    : Audacity ist ein einfach zu bedienender, mehrspuriger Audio-Editor und Recorder für Windows, Mac OS X, GNU/Linux und andere Betriebssysteme
description_es    : Audacity es una aplicación informática multiplataforma libre, que se puede usar para grabación y edición de audio, distribuido bajo la licencia GPLv2+.
description_pt    : Audacity é um editor e gravador de áudio multi-faixa fácil de usar para Windows, Mac OS X, GNU/Linux e outros sistemas operativos
description_it    : Audacity è un editor e registratore audio multitraccia facile da usare per Windows, Mac OS X, GNU/Linux e altri sistemi operativi
description_nl    : Audacity is een eenvoudig te gebruiken multi-track audio-editor en recorder voor Windows, Mac OS X, GNU/Linux en andere besturingssystemen
description_ru    : Audacity - это простой в использовании многодорожечный аудиоредактор и рекордер для Windows, Mac OS X, GNU/Linux и других операционных систем
audit_schedule    : 
editor            : Audacity Team
keywords          : audio,editor,recorder,multi-track,multi,track
licence           : GPLv2
homepage          : https://www.audacityteam.org
package_uuid      : 4f41c5b1-b5b8-4c61-b09d-114c971c52f9
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 5a2fa43efeba30731ba901f1df9159465faf6ca41a7060f46d1c632714f323d1
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-10-05T15:19:00.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         : syGz3buzrAIK1/VGhB4mt12TrkGBeLBYkhCAJaHbU/Gv771bUO8lTYfHaPAc0yPScwgzBVVeFC+9NIErvg8zj4Tshy2+rIi3rmed5gxDEunt0RRtuPNFg5gjUU6OKrS/TMEYWB74Vr1Xqs7XFpZfuhc4m87PTUwBXTBKMg+oMwCF8bwIHDdbxt1whFtwXZWlAnzSDRti9jFZH3eZ1d/LqtcXjASsJqM7SA80xsfmoR+OiFkv7pcpC25uu8du0le9MZVtEs5CTIEw5ZUYYs6a0HfeLFuoxoejELGQVa6rgaW4AcnRYEogSKn4q9t4JgaBGzmCafMXdScchv4kXGvoiQ==

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

msi_properties = {'ALLUSERS': 1,}
def install():
    bin_name = glob.glob("audacity-win-*x86_64.msi")[0]

    # Uninstalling older versions of the software that can remain
    for to_uninstall in installed_softwares("Audacity_is1"):
      if Version(to_uninstall["version"]) < Version(control.get_software_version()):
        print(f"Removing: {to_uninstall['name']} ({to_uninstall['version']})")
        killalltasks(ensure_list(control.impacted_process))
        run(uninstall_cmd(to_uninstall["key"]))
        wait_uninstallkey_absent(to_uninstall["key"])

    install_msi_if_needed(
        bin_name,
        name=f"Audacity {str(Version(control.get_software_version(), 2))}",
        properties=msi_properties,
        min_version=control.get_software_version(),
    )
    
    remove_desktop_shortcut(f"Audacity {str(Version(control.get_software_version(), 2))}")

# -*- 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()
    app_name = control.name

    api_url = "https://api.github.com/repos/audacity/audacity/releases/latest"

    print("API used is: %s" % api_url)
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"].replace("Audacity-", "")

    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
    update_dict = {
        "windows-x64": f"audacity-win-{version}-x86_64.msi",
        "windows-arm64": f"audacity-win-{version}-arm64.msi",
    }

    print(f"Latest {app_name} version is: {version}")

    json_load = wgets(api_url, proxies=proxies, as_json=True)
    for to_download in json_load["assets"]:
        if update_dict[os_type] in to_download["name"]:
            download_url = to_download["browser_download_url"]
            latest_bin = to_download["name"]
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            break

    # Downloading latest binaries
    print(f"Download URL is: {download_url}")
    if isfile(latest_bin):
        remove_file(latest_bin)

    print(f"Downloading: {latest_bin}")
    wget(download_url, latest_bin, proxies=proxies)
    print(f"Binary is present: {latest_bin}")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({Version(version)})")

    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
41e991b3dd9b6ea1eae2ee024fe52709cc9542024699f1ba4562bc4685c994c8 : WAPT/control
5a2fa43efeba30731ba901f1df9159465faf6ca41a7060f46d1c632714f323d1 : WAPT/icon.png
efb652bf04168f5d4893f28b7cefaaf5ef385d9251544540ac774e3bf54793a3 : audacity-win-4.0.1-x86_64.msi
e6b27fecd4f350187eec0b3084fe4af07c951e1270d8f2cb06542f40fe197b4c : luti.json
d504418ae7820b9345d07aadf9fd6a86e5697325b92df86fbc7f508e77ce6aa8 : setup.py
d2270ff8a9728d8b6f62f451ff2114097697951052c87bf5acb5aba5f8f62ade : update_package.py