tis-audacity icon

Audacity

Paquet d'installation silencieuse pour Audacity

4.0.0-7
Media
Media

  • package: tis-audacity
  • name: Audacity
  • version: 4.0.0-7
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT
  • editor: Audacity Team
  • licence: GPLv2
  • locale: all
  • target_os: darwin
  • impacted_process: audacity
  • architecture: x64
  • signature_date:
  • size: 51.10 Mo
  • installed_size: 75.66 Mo
  • homepage : https://www.audacityteam.org

package           : tis-audacity
version           : 4.0.0-7
architecture      : x64
section           : base
priority          : optional
name              : Audacity
categories        : Media
maintainer        : WAPT Team,Tranquil IT
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         : darwin
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      : d6ca51b2-efea-4b78-acfd-c7820da1f8e0
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 5a2fa43efeba30731ba901f1df9159465faf6ca41a7060f46d1c632714f323d1
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-09-15T12:29:19.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         : jB9Hzkx4dE//YUCArYXxH10ghSX1WTnk8I/8WbVu0yGFfQUaOQXxmycsnmDkfPUpXxez/6yq3f27wvRdP2OZPzwsSO+AXGuM040/4pjWUPFNROSWdZw+8D5ClDwG7bsDYx6Uv79YVjdO6CQC8ymSZWJA2K5sWHhprFFa0r6DBwakiDkjFEBP1JjsyMm8ILRpr6EoLu8AS/61+qLGQPssC13okwwQuJVZ2K/QPcSPo8D/Dqlrs1v60hiUpTwpyCtkupYG3+lVgiFV7Vmz9mZiTd1lcA4MjpCyCPExGXGxvh7hd6wNfzX8YNhL1EMCy5cxuwCS6rbBfLnqp7AxjvoD/A==

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


def install():
    bin_name = glob.glob("*-x86_64.dmg")[0]
    install_dmg(bin_name)


def uninstall():
    for app_name in [
        "Audacity.app",
        "Audacity 4.app",
    ]:
        uninstall_app(app_name)

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


def install():
    bin_name = glob.glob("*-x86_64.dmg")[0]
    install_dmg(bin_name)


def uninstall():
    app_folders = [
        "/Applications/Audacity.app",
        f"/Applications/Audacity {str(Version(control.get_software_version(), 1))}.app",
        "/Applications/Audacity 4.app"
    ]

    for folder in app_folders:
        if isdir(folder):
            uninstall_app(folder)
'''

# -*- 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 = {
        "darwin-x64": f"audacity-macOS-{version}-x86_64.dmg",
        "darwin-arm": f"audacity-macOS-{version}-arm64.dmg",
    }

    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
c918787cd5d9d0b62f37fb65d3f181cef978abafaec6f49d4f33d0633c2e32f9 : WAPT/control
5a2fa43efeba30731ba901f1df9159465faf6ca41a7060f46d1c632714f323d1 : WAPT/icon.png
4a5edd087bd5078aa2cd4e93c085a1172c9d791533c96b416a36bd82838a868b : audacity-macOS-4.0.0-x86_64.dmg
20c11ffd92bcd0a917b67dd684da7d78ffd385839b3736ccfaba13c8947a6419 : luti.json
71221a06ad045a0bf26b7d6ec6d575fc8ae4dc97b7c8ff66fff9fc3518747679 : setup.py
3e5d0d090c32a2a852ab792d4b72fe9e2c1876b21fa7d38f292b58d5dc13091b : update_package.py