forked from saltstack/salt-winrepo-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
handbrake.sls
67 lines (67 loc) · 1.64 KB
/
handbrake.sls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Source: https://handbrake.fr
handbrake:
{% for version in [
'1.8.2',
'1.8.1',
'1.8.0',
'1.7.3',
'1.7.2',
'1.7.1',
'1.7.0',
'1.6.1',
'1.6.0',
'1.5.1',
'1.5.0',
'1.4.2',
'1.4.1',
'1.4.0',
'1.3.3',
'1.3.2',
'1.3.1',
'1.3.0',
'1.2.2',
'1.2.1',
'1.2.0',
'1.1.2',
'1.1.1',
'1.1.0',
'1.0.7',
'1.0.3',
'1.0.2',
'1.0.1',
'1.0.0'
] %}
'{{ version }}':
full_name: 'HandBrake {{ version }}'
# as of ver. 1.0 they only produce 64-bit installers.
# as of 1.3.2 downloads are on github.
{% if version <= '1.3.1' %}
installer: 'https://download.handbrake.fr/handbrake/releases/{{ version }}/HandBrake-{{ version }}-x86_64-Win_GUI.exe'
{% else %}
installer: 'https://github.com/HandBrake/HandBrake/releases/download/{{ version }}/HandBrake-{{ version }}-x86_64-Win_GUI.exe'
{% endif %}
install_flags: '/S'
uninstaller: '%ProgramFiles%\HandBrake\uninst.exe'
uninstall_flags: '/S'
msiexec: False
locale: en_US
reboot: False
{% endfor %}
#
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Below are versions of HandBrake that are pre ver 1.0 releases
# An uninstall only definition will remain here so the packages will show up
# correctly in `pkg.list_pkgs` and to allow for removal using `pkg.remove`
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
{% for version in ['0.10.5'] %}
'{{ version }}':
skip_urltest: True
full_name: 'HandBrake {{ version }}'
uninstaller: '%ProgramFiles%\HandBrake\uninst.exe'
uninstall_flags: '/S'
msiexec: False
locale: en_US
reboot: False
{% endfor %}