Skip to content

Commit

Permalink
Merge pull request #25 from capsulecorplab/install-qownnotes-from-sou…
Browse files Browse the repository at this point in the history
…rce-tarball

Install QOwnNotes from source tarball
  • Loading branch information
capsulecorplab authored Dec 30, 2023
2 parents a9da662 + 7334987 commit a6ebab4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This repo provides an Immutable-Infrastructure-as-Code (IIaC) workspace for the
- [Jupyter Notebook](https://jupyter.org/)
- [Voilà](https://voila.readthedocs.io/en/stable/index.html)
- [Pint](https://pint.readthedocs.io/en/stable/)
- [QOwnNotes](https://www.qownnotes.org/)
- [QOwnNotes](https://www.qownnotes.org/) 23.12.5 (built from source)
- VS Code with the following extensions (note, auto-updates are disabled)
- [Python extension by Microsoft](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
- [Dendron](https://marketplace.visualstudio.com/items?itemName=dendron.dendron)
Expand Down
Binary file added install_files/qownnotes-23.12.5.tar.xz
Binary file not shown.
20 changes: 14 additions & 6 deletions playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,16 +301,24 @@
- install_doctools

vars:
qownnotes_version: "23.12.2"
qownnotes_version_to_install: "{{ qownnotes_version }}-1ubuntu3ppa1~jammy1"
qownnotes_version: "23.12.5"

tasks:
- name: Add qownnotes PPA
shell: add-apt-repository ppa:pbek/qownnotes
- name: Install QOwnNotes
- name: Install QMake tools
apt:
name: "qownnotes={{ qownnotes_version_to_install }}"
name: qt5-qmake, libqt5websockets5-dev, libqt5svg5*, qtdeclarative5-dev, libqt5x11extras5-dev
update_cache: yes
- name: Expand source files archive
unarchive:
src: /home/kasm-default-profile/install_files/qownnotes-{{ qownnotes_version }}.tar.xz
dest: /home/kasm-default-profile/install_files/
remote_src: yes
creates: /home/kasm-default-profile/install_files/qownnotes-{{ qownnotes_version }}/LICENSE
- name: Build QOwnNotes # as per https://www.qownnotes.org/installation/building.html
shell:
cmd: qmake && make
chdir: /home/kasm-default-profile/install_files/qownnotes-{{ qownnotes_version }}
executable: /bin/bash

-
# install sudo for the vs-code role below
Expand Down

0 comments on commit a6ebab4

Please sign in to comment.