Create the basic boilerplate for the Meson build
This commit is contained in:
parent
b700e294b4
commit
63034431b9
5 changed files with 83 additions and 1 deletions
10
README.md
10
README.md
|
@ -1,3 +1,13 @@
|
||||||
# jot
|
# jot
|
||||||
|
|
||||||
Intuitive note taking for the elementary Desktop
|
Intuitive note taking for the elementary Desktop
|
||||||
|
|
||||||
|
# Building
|
||||||
|
Make sure you have the `elementary-sdk` package installed!
|
||||||
|
Get it done dirty with the normal Meson build commands:
|
||||||
|
`meson setup build` and
|
||||||
|
`meson compile -C build`, Or package with flatpak:
|
||||||
|
`flatpak-builder --user --install build-dir jot.flatpak.json`
|
||||||
|
|
||||||
|
# The license is the GNU GPL V3. I forgor to put it in so ill do it later hehe
|
||||||
|
|
||||||
|
|
20
data/app.hackclub.conzie.Jot.appdata.xml
Normal file
20
data/app.hackclub.conzie.Jot.appdata.xml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<component type="desktop">
|
||||||
|
<id>app.hackclub.conzie.Jot</id>
|
||||||
|
<name>Jot</name>
|
||||||
|
<summary>An elegant notes application</summary>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Jot is a lightweight and elegant notes application.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Features include:
|
||||||
|
<ul>
|
||||||
|
<li>Basic Text editing</li>
|
||||||
|
<li>Markdown support</li>
|
||||||
|
<li>Search and organization</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<launchable type="desktop-id">app.hackclub.conzie.Jot.desktop</launchable>
|
||||||
|
</component>
|
11
data/app.hackclub.conzie.Jot.desktop
Normal file
11
data/app.hackclub.conzie.Jot.desktop
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Jot
|
||||||
|
GenericName=Notes
|
||||||
|
Comment=Simple and elegant notes Application
|
||||||
|
Exec=Jot
|
||||||
|
Icon=app.hackclub.conzie.Jot
|
||||||
|
Terminal=false
|
||||||
|
Categories=Utility;
|
||||||
|
StartupNotify=true
|
27
jot.flatpak.json
Normal file
27
jot.flatpak.json
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"id": "app.hackclub.conzie.Jot",
|
||||||
|
"runtime": "org.gnome.Platform",
|
||||||
|
"runtime-version": "44",
|
||||||
|
"sdk": "org.gnome.Sdk",
|
||||||
|
"command": "jot",
|
||||||
|
"finish-args": [
|
||||||
|
"--share=network",
|
||||||
|
"--share=ipc",
|
||||||
|
"--filesystem=home"
|
||||||
|
],
|
||||||
|
"modules": [
|
||||||
|
{
|
||||||
|
"name": "jot",
|
||||||
|
"buildsystem": "meson",
|
||||||
|
"config-opts": ["-Dprefix=/app"],
|
||||||
|
"sources": [
|
||||||
|
{
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.hackclub.app/conzer12/jot.git",
|
||||||
|
"branch": "main"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
14
meson.build
Normal file
14
meson.build
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
project('jot', 'vala', version: '0.1')
|
||||||
|
|
||||||
|
gtk_dep = dependency('gtk4')
|
||||||
|
granite_dep = dependency('granite')
|
||||||
|
|
||||||
|
executable(
|
||||||
|
'jot',
|
||||||
|
['src/jot.vala', 'src/note_manager.vala'],
|
||||||
|
dependencies: [gtk_dep, granite_dep],
|
||||||
|
install: true
|
||||||
|
)
|
||||||
|
|
||||||
|
install_data('data/app.hackclub.conzie.Jot.desktop', install_dir: join_paths(datadir, 'applications'))
|
||||||
|
install_data('data/app.hackclub.conzie.Jot.appdata.xml', install_dir: join_paths(datadir, 'metainfo'))
|
Loading…
Reference in a new issue