tis-shotcut

24.10.29-15
Shotcut is a free, open source, cross-platform video editor
9883 downloads
Download
See build result See VirusTotal scan
tis-shotcut icon
  • package : tis-shotcut
  • name : Shotcut
  • version : 24.10.29-15
  • categories : Media
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau,Pierre COSSON,Clément BAZIRET,Jordan ARNAUD
  • editor :
  • licence : opensource_free,wapt_public
  • locale : all
  • target_os : darwin
  • impacted_process : shotcut
  • architecture : x64
  • signature_date : 2024-11-04 03:01
  • size : 357.89 Mo
  • installed_size : 416.69 Mo
  • homepage : https://www.shotcut.org/
package           : tis-shotcut
version           : 24.10.29-15
architecture      : x64
section           : base
priority          : optional
name              : Shotcut
categories        : Media
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau,Pierre COSSON,Clément BAZIRET,Jordan ARNAUD
description       : Shotcut is a free, open source, cross-platform video editor
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.3
sources           : https://www.shotcut.org/download/
installed_size    : 416687882
impacted_process  : shotcut
description_fr    : Shotcut est un logiciel libre de montage vidéo
description_pl    : Shotcut to darmowy, open source, wieloplatformowy edytor wideo
description_de    : Shotcut ist ein kostenloser, quelloffener, plattformübergreifender Video-Editor
description_es    : Shotcut es un editor de vídeo gratuito, de código abierto y multiplataforma
description_pt    : Shotcut é um editor de vídeo gratuito, de código aberto, multiplataforma
description_it    : Shotcut è un editor video gratuito, open source e multipiattaforma
description_nl    : Shotcut is een gratis, open source, cross-platform video editor
description_ru    : Shotcut - это бесплатный кроссплатформенный видеоредактор с открытым исходным кодом
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://www.shotcut.org/
package_uuid      : 425c7daa-fc56-40ad-ae0b-26af0f9dc6ad
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.shotcut.org/download/releasenotes/
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 92ffd46fdb4f06ce92ca5a54938896190a9f8f2d790cd800f68b7a7b6e7976e8
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2024-11-04T03:01:16.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         : OKN92Zoai6cQCLjUqhC6Cme1IiPXHUKGCbj01WHwvroCRAzJASFx56LuXORmO3tA4ISdQpEZR6Ebgthzw4YiJskPE/42Kdku4O57CpD8rBJcx//yEo0i9YTzwFsfMMxsed/3X4eYqVPy28UYpX3iqWHrLJT8MSv67+4qNjgxgse702ZlW9mKmWP2HIUm9nfsstBU66rRD/kw09uBxWBaaiCJHfKGdRWKv/L1q2me9f5L/ax7LCVGyd+sizSMnx06z5rXV8t1uMQpkd10A1lmqgkB8UvOjk/U4yx4BKEHKCnthUOjCLn9W2rATfvlRmo7VsG6yGBVQe27caGjdlUoMA==
# -*- 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("shotcut-*.dmg")[0])


def uninstall():
    remove_tree("/Applications/Shotcut.app")
# -*- 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()
    api_url = "https://api.github.com/repos/mltframework/shotcut/releases/latest"
    bin_contains = ".dmg"

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

    # Downloading latest binaries
    print("Latest %s version is: %s" % (control.name, version))
    print("Download URL is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Deleting outdated binaries
    remove_outdated_binaries(latest_bin)

    # Checking version from file
    if get_os_name() == "darwin" and "mac" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 4) == Version(version, 4):
            print(f"INFO: Binary file version ({version_from_file}) corresponds to online version ({version})")
        else:
            error(f"ERROR: Binary file version ({version_from_file}) do NOT corresponds to online version ({version})")

    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
3ed25f69617b7850f265f980258e4a6b3980baa5ca97d7a12f5685c8e7ec25ae : WAPT/control
92ffd46fdb4f06ce92ca5a54938896190a9f8f2d790cd800f68b7a7b6e7976e8 : WAPT/icon.png
38bbb32ad4e19884e84b6f15277c2a0ad843346741284104cdaecb12091e30e5 : luti.json
d1e40d08fb988f5d96d19b060ed92761dbd249f945f7f66d5005ee90e487e5a1 : setup.py
cc319a76531cb7c0e6a739463bd3e55619222c450c81135b1f3788bd0d22d13f : shotcut-macos-241029.dmg
0af0de62da0428fc8e7ee55c1dc26ebd5cf85bce5c708cfe92eba47d9e56b3f9 : update_package.py