tis-winff icon

WinFF

Paquet d’installation silencieuse pour WinFF

1.5.2-0

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

package           : tis-winff
version           : 1.5.2-0
architecture      : x86
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      : 9767a0e1-c1d3-4ffc-8e05-396608c75b72
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 829f463bf618d66759eac5ca4054150e227309b68c4ebff0c4c4b3bacee9df38
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : SXArFGIgTux+yCQkzRjdy0xp94B6XBOjo7Bd4/c8i9M2R/ZqTpgSYXlbNn3DjolGCq/jCU4YeqPl217izUKd3A7JJndZcMHKZAsAFAAEFucMmVxGOt5Idv7/m+MFgvvaAHixDtZ231bMb3NMEaVqZMLR9cYSv2kj4N63qJhNKdUYfFrC1MFhOa+lfXLX5NMkdzyq6EzKP02RPR4hOUWSzsGofQlO+L1gzh9eHBn2wG8TaqLXymTTbGyYcM6vYH3vTTYBKrHP9+Rec+2gcfXc2eRtx5dGWSro1SZCyV3sz+26laVtiVuG5N5rGOR2v8Rp2rU+lD6gcHNF3DLKIPNonA==
signature_date    : 2021-12-21T16:41:26.096327
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).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()

cf7abe1700012dadf7b4f5373070f24bcfbc1a35153dafaa7fe88a822d044842 : setup.py
16195c717009c564d75d77eaca05ac0c5fcaeef9b9e10df870d23ad6a07ea61e : WinFF-1.5.2-setup.exe
252b70e9f3a4939df417f84432ee839ac8069089be2041c45a7348db28fc2ea0 : WAPT/wapt.psproj
829f463bf618d66759eac5ca4054150e227309b68c4ebff0c4c4b3bacee9df38 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
2b7e45e693cb1c58730b4b2397c11d3d9883271544e1f305b91e005a96144fdb : WAPT/control