tis-openshot-video icon

OpenShot Video Editor

Paquet d’installation silencieuse pour OpenShot Video Editor

3.3.0-9

  • package: tis-openshot-video
  • name: OpenShot Video Editor
  • version: 3.3.0-9
  • categories: Media
  • maintainer: WAPT Team,Tranquil IT,Kenan KILICARSLAN,Jimmy PELÉ,Jordan ARNAUD
  • editor: Jonathan Thomas,Andy Finch,Helen McCall,Olivier Girard,Karlinux,TJ,Maël Lavault
  • licence: GPL
  • locale: all
  • target_os: darwin
  • impacted_process: openshot-qt,openshot-qt-cli
  • architecture: x64
  • signature_date:
  • size: 260.79 Mo
  • homepage : https://www.openshot.org

package           : tis-openshot-video
version           : 3.3.0-9
architecture      : x64
section           : base
priority          : optional
name              : OpenShot Video Editor
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Kenan KILICARSLAN,Jimmy PELÉ,Jordan ARNAUD
description       : OpenShot Video Editor is a free and open-source video editor for Linux, macOS, and Windows.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.3
sources           : https://www.openshot.org/fr/download/
installed_size    : 
impacted_process  : openshot-qt,openshot-qt-cli
description_fr    : OpenShot Video Editor est un éditeur vidéo non linéaire libre pour GNU/Linux, OS X et Windows.
description_pl    : OpenShot Video Editor to darmowy i open-source'owy edytor wideo dla systemów Linux, macOS i Windows
description_de    : OpenShot Video Editor ist ein freier und quelloffener Videoeditor für Linux, macOS und Windows
description_es    : OpenShot Video Editor es un editor de vídeo gratuito y de código abierto para Linux, macOS y Windows
description_pt    : OpenShot Video Editor é um editor de vídeo gratuito e de código aberto para Linux, MacOS, e Windows
description_it    : OpenShot Video Editor è un editor video gratuito e open-source per Linux, macOS e Windows
description_nl    : OpenShot Video Editor is een gratis en open-source video-editor voor Linux, macOS en Windows
description_ru    : OpenShot Video Editor - это бесплатный видеоредактор с открытым исходным кодом для Linux, macOS и Windows
audit_schedule    : 
editor            : Jonathan Thomas,Andy Finch,Helen McCall,Olivier Girard,Karlinux,TJ,Maël Lavault
keywords          : video,editor,shot
licence           : GPL
homepage          : https://www.openshot.org
package_uuid      : 9dd59d7d-2a3c-4352-97b4-a176c21a0104
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 03c2c6e4bd5a1df4788186ec58b62561f2766030d75504c288a17f181625d467
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-12-28T01:09: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         : Zcfl+W7zNUVCYwW5DZ4ET1q0kHPPGOIZuLsBzopd0HVlUhkneg0aCmI09RXnhtMtWacLybXF8K1zA+I53r3tohBH53DyDPNqzNO0MOu88rQ4kIvDElPJddsDG8aqb3sAmyRXHcPNiQlgxuLStoW9ZPcE371GHyGBUO8uSeIEGIdVxeuaqqGhPGUD9UZz7VugfLtSzsu9/jf0D4x5OXbGkz0CclfbEsQVa3IUBViNyA9aGI39WlhIQ1mf65bnNO+dwAj0ecod2Ed6+SoLCesnutjfKoP/qxhz8155XLt4IZeLY9R7eNQzMb1XloB4Psc0q0eqp9QYALsk1fxUXhlcdA==

# -*- 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("OpenShot-*-x86_64.dmg")[0])


def uninstall():
    remove_tree(r"/Applications/OpenShot Video Editor.app")

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


def update_package():
    # Initializing variables
    proxies = get_proxies()
    bin_name_string = "OpenShot-%s-x86_64.dmg"
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url_api = "https://api.github.com/repos/OpenShot/openshot-qt/releases/latest"
    bin_end = "-x86_64.dmg"

    # Getting latest version from official sources
    print("API used is: " + url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(bin_end):
            url_dl = download["browser_download_url"]
            break

    version = (json_load["tag_name"]).replace("v", "")
    latest_bin = bin_name_string % version

    print("Latest %s version is: %s" % (app_name, version))
    print("Download url is: %s" % url_dl)

    # Deleting outdated binaries
    remove_outdated_binaries(version)
    
    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Changing version of the package
        control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
        control.save_control_to_wapt()
        print("Changing package version to: %s in WAPT\\control" % control.version)


bfa2dfbf5e3208ceebaf268e3bb8896e6dcbeb7af6d2c56d7f48c2fd849a3d1e : OpenShot-3.3.0-x86_64.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
6384ef300a59d28cd50b50b141ac13b0548f1cf36515761307cffb48452712eb : WAPT/control
03c2c6e4bd5a1df4788186ec58b62561f2766030d75504c288a17f181625d467 : WAPT/icon.png
f80772496715770923ed4e7c137f8f351aca99519b102d44fbd51abf7375afa1 : luti.json
df74b509dbc14077579324de1e642c6ebe0fbb8d95e856c0f19d5977d2055e8f : setup.py
76120ecb04e32dcd7db206ad45b0ecfd7a1728ce4c637b1fa65e410c581baef9 : update_package.py