tis-winff icon

WinFF

Paquet d’installation silencieuse pour WinFF

1.5.5-0

  • package: tis-winff
  • name: WinFF
  • version: 1.5.5-0
  • categories: Media
  • maintainer: Simon Fonteneau, Tranquil IT
  • editor: Matthew Weatherford, Ian Stoffberg
  • licence: GPLv3
  • locale: all
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 20.96 Mo
  • homepage : http://winff.org/

package           : tis-winff
version           : 1.5.5-0
architecture      : x64
section           : base
priority          : optional
name              : WinFF
categories        : Media
maintainer        : Simon Fonteneau, Tranquil IT
description       : WinFF is a free and open source video conversion software
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 1.3.9.3
sources           : https://github.com/WinFF/winff
installed_size    : 
impacted_process  : 
description_fr    : WinFF est un logiciel libre et open source de conversion vidéo
description_pl    : WinFF jest darmowym i otwartym oprogramowaniem do konwersji wideo
description_de    : WinFF ist eine kostenlose und Open-Source-Video-Konvertierungssoftware
description_es    : WinFF es un software de conversión de vídeo gratuito y de código abierto
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Matthew Weatherford, Ian Stoffberg
keywords          : 
licence           : GPLv3
homepage          : http://winff.org/
package_uuid      : 4105ba3d-45dc-4584-acca-c2eeaf7f4c1f
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 829f463bf618d66759eac5ca4054150e227309b68c4ebff0c4c4b3bacee9df38
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : khISj89oqxxjH9PpGNAW2GZda6QpCzTqZ4E8k0MBtN4m+f5uM0FoPImp/7tDSnDkYOWGXFhMUrGhdp3YSzdZ5CpdSdu/NZjEgDyv4rvN25/q8N+HQf43ArCUvCpemMc9qH+097rrkK73LZgCC6Y/C3VzJ5HpamDcbGXJnOvHH//3YWtHPSkZa/4JdNszkNXgfPai+oeE4snPRxir30EXMckSChI0e0fQ+Gch3jto3BoZN5+0AeNCd69Uu0OSIl8jXvOBmxWLk+eqmRqceSarj0PuceUy0fmmzuLnk8RyRWRQ7oviDMfGo7idxfIr/iUP+h4rLSsOFxPny8hOQ2fduQ==
signature_date    : 2021-12-21T16:10:40.703973
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 *

uninstallkey = []

def install():

    def get_vers_winff(soft):
        if isfile(makepath(install_location(soft['key']),'winff.exe')):
            return get_file_properties(makepath(install_location(soft['key']),'winff.exe'))['FileVersion']

    versionpaquet = control['version'].split('-',1)[0]
    install_exe_if_needed('WinFF-%s-Setup.exe' % versionpaquet ,silentflags='/VERYSILENT /NORESTART',key='WinFF_is1',min_version=versionpaquet,get_version=get_vers_winff)


def update_package():
    import json

    proxies = {}
    if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}

#    dataversion = [i for i in json.loads(wgets('https://storage.googleapis.com/google-code-archive/v2/code.google.com/winff/downloads-page-1.json',proxies=proxies))['downloads'] if i['filename'].endswith('.exe') if not 'win64-setup' in i['filename'] ][0]
#    filename = dataversion['filename']
#    urldownload = 'https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/winff/' + filename

    lastversion = wgets('https://www.videohelp.com/software/WinFF',proxies=proxies).split('-Setup.exe')[0].split('-')[-1]
    filename = 'WinFF-%s-Setup.exe' % lastversion
    tmpurldownload = 'https://www.videohelp.com/software?d=WinFF-%s-Setup.exe' % lastversion
    iddownlaod = wgets(tmpurldownload,proxies=proxies).split('">Download')[0].split('.exe')[-1]
    urldownload = 'https://www.videohelp.com/download/%s' % (filename + iddownlaod)

    for exe in glob.glob('*.exe'):
        if exe != filename:
            remove_file(exe)

    if not isfile(filename):
        wget(urldownload,filename,proxies=proxies)
    else:
        print('Already up to date, skipped')

    pe = PackageEntry()
    pe.load_control_from_wapt(os.getcwd())

    pe.version = get_file_properties(filename)['ProductVersion'] + '-0'
    pe.save_control_to_wapt(os.getcwd())


if __name__ == '__main__':
    update_package()

532dcd70faaec3ee9c39702e50421a58844089fdd698d4a66d3b5cdb267c6c8e : setup.py
252b70e9f3a4939df417f84432ee839ac8069089be2041c45a7348db28fc2ea0 : WAPT/wapt.psproj
829f463bf618d66759eac5ca4054150e227309b68c4ebff0c4c4b3bacee9df38 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
09f17eeded4cb54ad8b85ba6c0bbb2ce681a15f27212c2c4bbc8fbd65768b43a : WinFF-1.5.5-Setup.exe
6a73a8c22688bec3d22b58b7be136c6673489f86a26c755569a106d032434387 : WAPT/control