tis-lmms

1.2.2-1
LMMS is a synthesizer and composer sequencer
2398 downloads
Download
default icon

  Description 

  • package : tis-lmms
  • version : 1.2.2-1
  • architecture : x86
  • categories : Media
  • maintainer : Simon Fonteneau
  • description : LMMS is a synthesizer and composer sequencer
  • locale :
  • target_os : windows
  • min_wapt_version :
  • sources :
  • installed_size : 99323904
  • impacted_process : lmms.exe
  • description_fr : LMMS est un sequenceur synthetiseur et composeur
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence : GPL-2.0
  • signature_date : 2020-07-15T11:01:19.128349
  • Homepage : https://lmms.io/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():
    print('installing LMMS')

    diskfreespacebefore = get_disk_free_space(programfiles)

    versionsoft = control['version'].split('-',1)[0]

    install_exe_if_needed('lmms-%s-win32.exe' % versionsoft,silentflags='/S',key='LMMS',min_version=versionsoft,killbefore=['lmms.exe'])

    diskfreespaceafter = get_disk_free_space(programfiles)

    difffreespace = diskfreespacebefore - diskfreespaceafter
    print(ur"Espace disque necessaire pour l'installation : " + str(difffreespace))


def update_package():

    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}

    import json
    binaryfile,urlfile  = [(str(p['name']),str(p['browser_download_url'])) for p in json.loads(wgets('https://api.github.com/repos/LMMS/lmms/releases/latest',proxies=proxies))['assets'] if 'win32.exe' in p['name']][0]

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

    if not isfile(binaryfile):
        wget(urlfile,binaryfile,proxies=proxies)

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

    pe.version = binaryfile.split('-')[1] + '-0'
    pe.save_control_to_wapt(os.getcwd())


if __name__ == '__main__':
    update_packages()
										

  Changelog 



No changelog.txt.
									
  manifest.sha256