- package: tis-handbrake
- name: HandBrake
- version: 1.4.2-0
- categories: Media
- maintainer: TIS, Alexandre Gauvrit
- editor: Rodney Hester
- licence: GPLv2
- target_os: windows
- architecture: x64
- signature_date:
- size: 16.28 Mo
- installed_size: 58.21 Mo
- homepage : https://handbrake.fr/
- depends:
package : tis-handbrake
version : 1.4.2-0
architecture : x64
section : base
priority : optional
name : HandBrake
categories : Media
maintainer : TIS, Alexandre Gauvrit
description : HandBrake is a tool to convert video from almost any format to a selection of modern and widely supported codecs.
depends : tis-dotnetfx
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 1.0.7
sources :
installed_size : 58208256
impacted_process :
description_fr : HandBrake est un outil pour convertir la vidéo de presque n'importe quel format à une sélection de codecs modernes et largement pris en charge.
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor : Rodney Hester
keywords : handbrake,tool,video
licence : GPLv2
homepage : https://handbrake.fr/
package_uuid : 6d339e7e-f8c7-4137-8e10-422f1c970941
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 6.1
max_os_version :
icon_sha256sum : d46944b977198f5333feedd3bea127928607e7e886e53b01251284450e6a8385
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : vzQ2vUr4PGD54Pl8gvfGCjk/mAu3fXkr3ZSuk36GqyqlMBY0gPywzMja45nw4zsSNQnl5kGGYhfA4kSnMk3L1D5sNlExsLvtxOcfP0swiNaUM4/hhfYf8pxdznY0pduH7JX/Mqd+6acm6+Ia53Z6h0CB5slxwr0S5UfZ5vAu8hA7ztQuS6gh6SyLAHMD8qJqFqdq/e5P7FVDTGstN75Vt7y9TPdFXPLfDoFfypl6AcZ7lDwu5HIRdsUFO90202hQ5m3X6gzpkhqLrBpJq4D5hk0AjbkRoiYfcJaB51ukw5UdKMx14WqTw6UumI1oCR8yco0XmMvmbN57sB815NxG2w==
signature_date : 2021-10-08T12:11:57.356778
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 -*-
from setuphelpers import *
import json
# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []
def install():
version = control['version'].split('-',1)[0]
if iswin64():
if installed_softwares('HandBrake'):
key = WAPT.uninstall_cmd('HandBrake')
if r'C:\Program Files (x86)' in key[0]:
run(WAPT.uninstall_cmd('HandBrake'))
install_exe_if_needed('HandBrake-%s-x86_64-Win_GUI.exe' % version,silentflags='/S -',key='HandBrake',min_version=version,killbefore=['HandBrake.exe'])
remove_desktop_shortcut('HandBrake')
def update_package():
# Getting proxy informations from WAPT settings
proxy = {}
if isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxy = {'http':proxywapt,'https':proxywapt}
binaryfile,urlfile = [(str(p['name']),str(p['browser_download_url'])) for p in json.loads(wgets('https://api.github.com/repos/HandBrake/HandBrake/releases/latest',proxies=proxy))['assets'] if '-x86_64-Win_GUI.exe' in p['name']][0]
if not isfile(binaryfile):
wget(urlfile,binaryfile,proxies=proxy)
for f in glob.glob('*.exe'):
if f != binaryfile:
remove_file(f)
lastversion = binaryfile.split('-')[-3]
print('Last Version %s' % lastversion)
pe = PackageEntry()
pe.load_control_from_wapt(os.getcwd())
pe.version = lastversion + '-0'
pe.save_control_to_wapt(os.getcwd())
if __name__ == '__main__':
update_package()
8c5a719a2a6677b37641e39853f17ef6134345fa21fd89bac50566b132f48306 : HandBrake-1.4.2-x86_64-Win_GUI.exe
0c1b6533d17aaaa7a7a2f943b77fd8710e0de38939f1410fca33f9972059f77d : setup.py
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
d46944b977198f5333feedd3bea127928607e7e886e53b01251284450e6a8385 : WAPT/icon.png
6fa65e0c47b3d167d60186c8153c7f37ccb44696216fd4e067cbe3d5836f49bb : WAPT/wapt.psproj
8dcc6d91a76a562e489998e709b1b93bbf8103e6969b6de641fa637daee8c6fb : WAPT/control