tis-vlc 2.2.6-1

  • package : tis-vlc
  • version : 2.2.6-1
  • description : vlc media player
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2017-07-20 11:24:40
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-112440
  • min_os_version :
  • min_wapt_version :

setup.py

from setuphelpers import *
uninstallkey = ['VLC media player']

version = '2.2.6'
installer =  'vlc-%s-win32.exe' % version

def install():
    try:
        install_exe_if_needed(installer,'/S --no-qt-privacy-ask', 'VLC media player',min_version=version,killbefore='vlc.exe')
    except:
        killalltasks('vlc.exe')
        print("installing VLC exe")
        run('"%s" /S  --no-qt-privacy-ask' % installer)

def update_package():
    if not isfile(installer):
        wget('https://get.videolan.org/vlc/%(version)s/win32/vlc-%(version)s-win32.exe'%{'version':version},'.')
    for f in glob.glob('*.exe'):
        if f != installer:
            remove_file(f)

def update_control(control):
    control.version = "%s-%s" % (version,control.version.split('-')[1])

if __name__ == '__main__':
    update_package()
    

manifest

[["WAPT/icon.png", "d2b56c528bf5eb385e1e30368713f88ce6672872"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["WAPT/wapt.psproj", "557e60050809687d56525e6ac46df9c0e02ccae6"], ["setup.py", "db21016da8cb055e838f32db4af4b7b86202c43e"], ["vlc-2.2.6-win32.exe", "579cb7e475ef44d3abe35c483c1039f9f6442ae1"], ["WAPT/control", "a8657c0082e7e2974089366f5951b5907fd04262"], ["WAPT/changelog.txt", "debf1a27f8b84c2b8c4bc9093a5455354f197129"]]