- package: tis-infrarecorder
- name: InfraRecorder
- version: 0.53-7
- categories: Media
- maintainer: WAPT Team, Tranquil IT, Jimmy PELÉ
- editor: Christian Kindahl
- licence: GPLv3
- locale: all
- target_os: windows
- impacted_process: infrarecorder
- architecture: x86
- signature_date:
- size: 4.13 Mo
- homepage : http://infrarecorder.org/
package : tis-infrarecorder
version : 0.53-7
architecture : x86
section : base
priority : optional
name : InfraRecorder
categories : Media
maintainer : WAPT Team, Tranquil IT, Jimmy PELÉ
description : InfraRecorder is an open-source CD and DVD writing program
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://www.fosshub.com/InfraRecorder.html
installed_size :
impacted_process : infrarecorder
description_fr : InfraRecorder est un logiciel libre de gravure de CD et DVD
description_pl : InfraRecorder to program do nagrywania płyt CD i DVD o otwartym kodzie źródłowym
description_de : InfraRecorder ist ein Open-Source-CD- und DVD-Brennprogramm
description_es : InfraRecorder es un programa de grabación de CD y DVD de código abierto
description_pt : InfraRecorder é um programa de gravação de CD e DVD de código aberto
description_it : InfraRecorder è un programma open-source per la scrittura di CD e DVD
description_nl : InfraRecorder is een open-source CD en DVD schrijfprogramma
description_ru : InfraRecorder - программа для записи CD и DVD с открытым исходным кодом
audit_schedule :
editor : Christian Kindahl
keywords :
licence : GPLv3
homepage : http://infrarecorder.org/
package_uuid : 0089118a-5e60-41f3-9402-4136dd0c1633
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : ce977e9627746bba4833ca683af7dbf7cae1d304115ce6d58159481efb6d9aaf
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : GyJ1non67AmmaOd7ZdsMKQffcUmIEDS9HLZhq6ASq1kwHm/7XP+gMrrmJLv6Yy4khEaBaMZ4zF0TQ75Xc2BXiHdolu5gZZKLj1VpUzTDQ8dbZ/TgqCjNYWVpChCZvlMh+7td5uTKCAthmjlw095zuZeqKOYGvijxiaY0tIxTFTMuzB204EwNZVNxNjTewQJ188yAnZNmdk5oaW1xc0tK75Q8m9TnOvSV/pU6cHqGtpb5m8NuFLkeETZDnY8vZk4ms/fKzodChbSkP2UmYOkICG7K5QrDXky1HJ6Q4FGuZCxkPYQVwLw75+CO7HWEBoHApevcWQWvPHIrXoC/B8YsEg==
signature_date : 2022-08-09T22:40:52.578324
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 *
def install():
# Initializing variables
package_version = control.get_software_version()
install_exe_if_needed(
"ir_%s.exe" % package_version,
silentflags="/S",
key="InfraRecorder",
min_version=package_version,
get_version=getversioninfra,
)
remove_desktop_shortcut("InfraRecorder")
def getversioninfra(key):
return get_file_properties(makepath(programfiles32, "InfraRecorder", "infrarecorder.exe"))["FileVersion"]
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
import requests
def update_package():
print("Downloading/Updating package content from upstream binary sources")
# Initializing variables
app_name = control.name
url = "https://www.fosshub.com/InfraRecorder.html"
bin_name_string = "ir_%s.exe"
# Getting proxy informations from WAPT settings
proxies = get_proxies()
version = bs_find(
url,
"dd",
"itemprop",
"softwareVersion",
proxies=proxies,
headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0"},
).text
url_dl = get_download_url_from_fosshub(url, file_type="32-bit Windows Installer", proxies=proxies)
latest_bin = bin_name_string % version
print("Latest %s version is: %s" % (app_name, version))
print("Download url is: %s" % url_dl)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_dl, latest_bin, proxies=proxies)
# Changing version of the package
control.version = "%s-%s" % (version, int(control.version.split("-")[-1]) + 1)
control.save_control_to_wapt()
print("Changing version to: %s in WAPT\\control" % control.version)
# Deleting outdated binaries
remove_outdated_binaries(version)
def get_download_url_from_fosshub(url, file_type="64-bit Windows Installer", proxies=None):
url_api_fosshub = "https://university.fosshub.com/projects.json"
for script in bs_find_all(
url, "script", proxies=proxies, headers={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0"}
):
if (len(script.contents) >= 1) and ("var settings" in script.contents[0]):
var_settings = script.contents[0].replace("\n var settings =", "").replace("\n", "")
break
for readapifosshub in json.loads(wgets(url_api_fosshub, proxies=proxies))["projects"]:
if readapifosshub["url"].endswith(url.split("//")[-1]):
for filename in readapifosshub["files"]:
if filename["type"] == file_type:
file_name = filename["name"]
settings = json.loads(var_settings)
apiUrl = "https://api." + settings["domain"]
downloadUrl = apiUrl + "/download/"
def forming_fosshub_url(a, b, c, d, e):
params = {"projectId": a, "releaseId": b, "projectUri": c, "fileName": d, "source": e}
r = requests.post(downloadUrl, data=params)
return r
pool = settings["pool"]
f = pool["f"]
for c in f:
r = forming_fosshub_url(pool["p"], c["r"], pool["u"], file_name, pool["c"])
r = forming_fosshub_url(pool["p"], c["r"], pool["u"], file_name, pool["c"])
rj = r.json()
return rj["data"]["url"]
4ab099199126c9adc01871de7917f78d0fb68d198bd2bdec458326089aeb7cd2 : setup.py
b0cbddebecea1de634e47e5dc966632d06d884c07d7f1b9ed2bbd7c6ed3850d7 : update_package.py
8cee83f7f489a6aef4218a953b87b1c22d6a93c966e79275c8cb2abe830d0731 : ir_0.53.exe
ce977e9627746bba4833ca683af7dbf7cae1d304115ce6d58159481efb6d9aaf : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
631607cbdaaa7bebb31878573956e1ffa6b83f9a366d7cfc67f7e3a9434f974c : luti.json
6b96917945a0aeab9d714d309de142b5587fd0c864a708fbbb9c744805e07cd9 : WAPT/control