tis-avidemux icon

Avidemux

Silent install package for Avidemux

2.8.1-6

  • package: tis-avidemux
  • name: Avidemux
  • version: 2.8.1-6
  • categories: Media,Utilities
  • maintainer: WAPT Team,Tranquil IT,Amelie LE JEUNE,Gaëtan SEGAT,Pierre COSSON
  • locale: all
  • target_os: darwin
  • impacted_process: avidemux
  • architecture: all
  • signature_date:
  • size: 45.37 Mo
  • installed_size: 162.49 Mo

package           : tis-avidemux
version           : 2.8.1-6
architecture      : all
section           : base
priority          : optional
name              : Avidemux
categories        : Media,Utilities
maintainer        : WAPT Team,Tranquil IT,Amelie LE JEUNE,Gaëtan SEGAT,Pierre COSSON
description       : Avidemux is a free video editor to cut, filter, and encode projects
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.3
sources           : https://github.com/mean00/avidemux2
installed_size    : 162488320
impacted_process  : avidemux
description_fr    : Avidemux est un éditeur vidéo gratuit pour couper, filtrer et encoder des projets
description_pl    : Avidemux to darmowy edytor wideo do cięcia, filtrowania i kodowania projektów
description_de    : Avidemux ist ein kostenloser Video-Editor zum Schneiden, Filtern und Kodieren von Projekten
description_es    : Avidemux es un editor de vídeo gratuito para cortar, filtrar y codificar proyectos
description_pt    : Avidemux é um editor de vídeo gratuito para cortar, filtrar e codificar projectos
description_it    : Avidemux è un editor video gratuito che consente di tagliare, filtrare e codificare i progetti
description_nl    : Avidemux is een gratis videobewerkingsprogramma voor het knippen, filteren en coderen van projecten
description_ru    : Avidemux - бесплатный видеоредактор для резки, фильтрации и кодирования проектов
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : f459823b-0661-4231-89fe-26106e534cf0
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : http://avidemux.sourceforge.net/news.html
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 60b98b130391a602f576ff48d22e85bb19fbfc13a9f96301d5cc335c266a272a
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : qwhPYLfkHfkFGfpEFLjzLc876hKE952UwsJXQWSOILigAdlb32koHikTaafVnhMwhwo6qFqxuJDm438Qg3ki3F3s6jTRZhVcHULi6PdHQb4qZU+Xxglw+PrDt0gRMUU8OVIZkjr1XMa7rVo1qp09efdo07Cj2JcKxPsNW5qQtqi1Nu4rmTj88trMDIyainGVfsQj/r3aZEFkRd4wXxzhvOHrFmer8CwA4A2qoaKt0QYSEnMofURyYYoQFLIQop3Q67VaZqTZklS/CKjiwVwWgH6Pu91Qf4ek7g1W6JBu+bEci8o2uy+fsqrpAtctMRjUAWz5SSd0cWimDZpUJqqxFA==
signature_date    : 2024-08-12T17:04:44.962148
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

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


def install():
    install_dmg(glob.glob("Avidemux*.dmg")[0])


def uninstall():
    ver = control.version.split("-")[0]

    remove_tree(f"/Applications/Avidemux_{ver}.app")

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


def update_package():
    # Declaring local variables
    bin_contains = ".dmg"
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://api.github.com/repos/mean00/avidemux2/releases/latest"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["assets"]:
        if bin_contains in download["name"]:
            download_url = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)


    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result

a994f267cd02af947900869f701b63306e83d3f67480d744d9b33014a26e12ef : setup.py
5d0e3220a2aed9cefb83e5b2372eeda6d44d4f47a6a122f5905df3f522c3db75 : update_package.py
60b98b130391a602f576ff48d22e85bb19fbfc13a9f96301d5cc335c266a272a : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
4f3673bd2aae3ecc0713aaa9c9578bc59991f6b9212f6735c6a349a83cdf256e : luti.json
b0b8890114172d531d138f6c1413f0393c0e5a87530168106a12d6b11ae44833 : Avidemux_2.8.1v2_Monterey_Qt6.dmg
00eece6777a49a9b4ff2330fb537f4cdbfc9605c5130930e3e6c24c1beaabc16 : WAPT/control