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-05-29 14:04:48
  • signer : Tranquil IT Systems
  • signature_date : 20170529-140443
  • 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/wapt.psproj", "557e60050809687d56525e6ac46df9c0e02ccae6"], ["setup.py", "db21016da8cb055e838f32db4af4b7b86202c43e"], ["vlc-2.2.6-win32.exe", "579cb7e475ef44d3abe35c483c1039f9f6442ae1"], ["WAPT/control", "f20c614225ac82ee455e9bbb5fd9b28ca2e06308"], ["WAPT/changelog.txt", "debf1a27f8b84c2b8c4bc9093a5455354f197129"]]