tis-openshot-video icon

OpenShot Video Editor

Silent install package for OpenShot Video Editor

3.4.0-9
Media
Media

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-openshot-video
  • name: OpenShot Video Editor
  • version: 3.4.0-9
  • 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: debian_based
  • impacted_process: openshot-qt,openshot-qt-cli
  • architecture: x64
  • signature_date:
  • size: 262.36 Mo
  • homepage : https://www.openshot.org

package           : tis-openshot-video
version           : 3.4.0-9
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          : PREPROD
locale            : all
target_os         : debian_based
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      : 08aa06af-5bc0-4b12-8ee2-7b8e3f995eeb
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 03c2c6e4bd5a1df4788186ec58b62561f2766030d75504c288a17f181625d467
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-12-16T07:59:04.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         : RNckYyrzrb01rA676l3MDKysC1NfJdkXh4sm18h/rt4PhYIt6oo8W8Gpnj1SWyiZte1Zu774NZbqUZZ7ypqcv3+9BWPCQgog1YeQxKW0SYVwQvPUIZkxe1IzqKSdaT09edxc+mME1/06mWMMlVW6AU/VexhSxjFV+s4ERPqIf2AF4nR1C/gtcD1Py7lYXKyyXKZrRTnLCHeJM+GsEMxjcvrXbIbJFxv/LXOqWYWDsjASIWI7gA49qJrHuQajwRtJoNTXH0Ezx7KZB6U6l8ciF6T6C8SrYOOoEz3tm177gaKb9Cb7QtykEmWEGSKqKEcn5jHSN581XMqhZt4UBYdguA==

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

def install():
    appimage = glob.glob("*.AppImage")[0]
    install_dir = "/opt/OpenShot/"
    if not isdir(install_dir):
        mkdirs(install_dir)


    filecopyto(appimage, os.path.join(install_dir, appimage))
    run(f"chmod +x /opt/OpenShot/{appimage}")

    run(f"ln -sf /opt/OpenShot/{appimage} /usr/bin/openshot")
    
    icon = glob.glob("./WAPT/openshot-qt.png")[0]
    filecopyto(icon, os.path.join(install_dir, os.path.basename(icon)))
    filecopyto("org.openshot.OpenShot.desktop", "/usr/share/applications/org.openshot.OpenShot.desktop")
    run("chown root:root /usr/share/applications/org.openshot.OpenShot.desktop")


def uninstall():
    remove_file("/usr/bin/OpenShot")
    remove_file("/usr/share/applications/org.openshot.OpenShot.desktop")
    remove_tree("/opt/OpenShot")

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


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

2ef8bc773b2ad8a6811cfdfd6d7187dc7e95a284a9f39033eac6675cf78eef2c : OpenShot-3.4.0-x86_64.AppImage
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
1938e6d8a8bd213a49e8daf0916b950f5b4f6a58161a2f79b0648aeb5c63a969 : WAPT/control
03c2c6e4bd5a1df4788186ec58b62561f2766030d75504c288a17f181625d467 : WAPT/icon.png
f3cfe681657a358e7c9924f50cc4a961e5970bf1fa39912e011d6d256cdd19a6 : WAPT/openshot-qt.png
c3b3ec906828e1e691fe817b334fafb07076f2bd2a2b1e3291fa0bc9a020e19c : luti.json
3145f8c97337c290f68a731a8a131f919e4f84b6bc6bf715bcd0538f3599c337 : org.openshot.OpenShot.desktop
bc7d2efdc984cca9077f70f177d177a244c28111b97814e8cd390d763331cc97 : setup.py
b9c1066e3f819d604498827dd85872e9f30b013e0a7826639a11d96aef9efef7 : update_package.py