2022-09-28 10:55:23 +00:00
|
|
|
- name: Install QCADesigner-E build deps
|
|
|
|
block:
|
|
|
|
- name: Install automake
|
|
|
|
apt:
|
|
|
|
name: automake
|
|
|
|
state: latest
|
|
|
|
- name: Install automake
|
|
|
|
apt:
|
|
|
|
name: libgtk2.0-dev
|
|
|
|
state: latest
|
|
|
|
- name: Create QCADesigner-E destination
|
2022-09-23 14:56:01 +00:00
|
|
|
file:
|
2022-09-28 10:55:23 +00:00
|
|
|
path: /opt/QCADesigner-E
|
2022-09-23 14:56:01 +00:00
|
|
|
state: directory
|
|
|
|
- name: Clone QCADesigner-E repo
|
|
|
|
#
|
|
|
|
ansible.builtin.git:
|
|
|
|
repo: https://github.com/FSillT/QCADesigner-E
|
2022-09-28 10:55:23 +00:00
|
|
|
force: yes
|
|
|
|
dest: /opt/QCADesigner-E
|
2022-09-23 14:56:01 +00:00
|
|
|
- name: Build QCADesigner-E
|
|
|
|
shell:
|
2022-09-28 10:55:23 +00:00
|
|
|
cmd: cd /opt/QCADesigner-E/QCADesignerE && chmod +x ./configure && ./configure && make
|
2022-09-23 14:56:01 +00:00
|
|
|
- name: Create QCADesigner-e symlink
|
|
|
|
file:
|
2022-09-28 10:55:23 +00:00
|
|
|
src: /opt/QCADesigner-E/QCADesignerE/src/QCADesigner
|
2022-09-23 14:56:01 +00:00
|
|
|
dest: /usr/local/bin/QCADesigner
|
|
|
|
state: link
|
|
|
|
# TODO create .desktop file
|
|
|
|
|