tis-openshot-video icon

OpenShot Video Editor

Paquet d’installation silencieuse pour OpenShot Video Editor

3.3.0-8

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

package           : tis-openshot-video
version           : 3.3.0-8
architecture      : x64
section           : base
priority          : optional
name              : OpenShot Video Editor
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Kenan KILICARSLAN,Jimmy PELÉ
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         : windows
min_wapt_version  : 2.0
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      : 9a21950d-1fc0-4de0-9e6f-da51479b7d25
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:15:27.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         : kp3olVY/dYk8LSl5DRGQ7nimeTwtCD//n37cPh2eXWSjHIX52DQRPeFbNMXq30rRA+uv+dYq9nAcHbxyE/ny5w62cV2rrBzY71X2Kg+WTRaZ0d3uq+EoVzVe3bZd3cSBPe2cLFKUdzAs/5cJnW9/Xd2ET2jJ9MHYob6XTzKlO+dKEIVbONZZPG906j3358T2G6xAGnK7vpWu3/2YECV0ut0YE4RxYsGowRwhUba7gCUMk368x5SODIzNI5NsVEg1+iGfc5Si7xnGlTVrdNe733joBElVUrZ1T8N8vlCReQbhtGuscQExvS9I5akXxIhexXfm1oLiMJ81hxIFs8hNbA==

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


def install():
    # Initializing variables
    package_version = control.version.split("-", 1)[0]

    # Installing the package
    print("Installing: %s" % "OpenShot-%s-x86_64.exe" % package_version)
    install_exe_if_needed(
        "OpenShot-%s-x86_64.exe" % package_version,
        silentflags="/VERYSILENT",
        key="{4BB0DCDC-BC24-49EC-8937-72956C33A470}_is1",
        min_version=package_version,
    )

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


def update_package():
    # Initializing variables
    proxies = get_proxies()
    bin_name_string = "OpenShot-%s-x86_64.exe"
    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 = bin_name_string.split("-")[-1]

    # 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)

    # 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)

    # Deleting outdated binaries
    remove_outdated_binaries(version)

307b7b7bd760cbe3535f6d8f485ecd9eb4f877250d9c5e432c4790d7f1177d35 : OpenShot-3.3.0-x86_64.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
bf62aada9da6c8e7c00acaf09c03b047b1d2440870cb53ff8c6948b2cf3ba263 : WAPT/control
03c2c6e4bd5a1df4788186ec58b62561f2766030d75504c288a17f181625d467 : WAPT/icon.png
182db68961c19bcfa0377a734f670c16a6fd5be2b236db1160939617b41fe742 : luti.json
4c4cde7e282ce4e4749141e09d83e20ad4f58184e602f24c99072e758e8f01c6 : setup.py
f57913057c96051d14cbfcd290a13d0639f45a539e25c09359abe394cb3a353a : update_package.py