tis-vlc
3.0.10-1
VLC media player (VLC) is a free and open-source portable cross-platform media player software and streaming media server developed by the VideoLAN project
26127 downloads

Description
- package : tis-vlc
- version : 3.0.10-1
- architecture : all
- categories : Media
- maintainer : Tranquil IT,Kevin Guerineau,Jimmy PELÉ
- description : VLC media player (VLC) is a free and open-source portable cross-platform media player software and streaming media server developed by the VideoLAN project
- locale : all
- target_os : darwin
- min_os_version :
- max_os_version :
- min_wapt_version : 1.8
- sources : https://store.wapt.fr/store/tis-vlc
- installed_size :
- impacted_process :
- description_fr : VLC media player (VLC) est un lecteur multimédia français libre issu du projet VideoLAN
- description_pl : VLC media player – odtwarzacz multimedialny rozwijany przez VideoLAN, rozpowszechniany na licencji GPL
- description_de : Der VLC media player ist eine freie Mediaplayer-Software
- description_es : VLC media player es un reproductor y framework multimedia, libre y de código abierto desarrollado por el proyecto VideoLAN
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor : VideoLAN
- licence : GPL-2.0
- signature_date : 2020-04-29T09:29:27.423000
- Homepage : https://www.videolan.org/
Setup.py
from setuphelpers import *
uninstallkey = []
bin_name_string = 'vlc-%s.dmg'
def install():
package_version = control.version.split('-',1)[0]
install_dmg('vlc-%s.dmg' % package_version)
def update_package():
print('Update package content from upstream binary sources')
from waptpackage import PackageEntry
# Get Proxy informations from WAPT settings
proxies = {}
if isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxies = {'http':proxywapt,'https':proxywapt}
htmlSource = wgets("https://www.videolan.org/vlc/download-macosx.html",proxies=proxies).splitlines()
for line in htmlSource :
if 'downloadOS' in line :
realversion = line[line.find("") + 12 :line.find("</span>")]
latest_bin = bin_name_string % realversion
# Deleting outdated binaries
for actual_bin in glob.glob('*.dmg'):
if actual_bin == latest_bin:
continue
print(actual_bin + ' Deleted')
remove_file(actual_bin)
# Downloading latest binaires
if not isfile(latest_bin):
print('Download ' + latest_bin)
wget('https://get.videolan.org/vlc/'+ realversion +'/macosx/' + latest_bin, latest_bin,proxies=proxies)
print ('Write ' + realversion + '-0 in WAPT\\control')
pe = PackageEntry()
pe.load_control_from_wapt(os.getcwd())
pe.version = realversion +'-0'
pe.save_control_to_wapt(os.getcwd())
print('The update is complete, you can now test and then launch a build upload.')
if __name__ == '__main__':
update_package()
[["WAPT/icon.png","caaf9fa15a3794cc95bd0b2a6000c37ef1cc84c866a5cb15fe5d3bf9f29eb054"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","fdd9db03cb28a75c9b2af4f5154e55cce7feaa098404f37d3fe5c6cdfb483729"],["vlc-3.0.10.dmg","ced90e1175c8dad83c8ff9172c19f52a2aea3e63b7ab752d4b412764e085c8ad"],["setup.py","9c306bed9ac0864cf994affe544d23952b254ef84cf673098e243fc8b85c9d51"],["vlcrc","cfa606189d8a7b44ae4478490c2c664698a0e41a3df1ac2daf4c2809ff675d09"],["WAPT/control","66f309581fbcd61cf600ed3fd216f518ff4971e11f394fdd03fb5ae408700a7d"],["WAPT/changelog.txt","19f50c0f42d1417eef50652bcd2bb5ba69f26a790ca0d3e9a8c683fb8a739a69"]]