Skip to content

Commit

Permalink
Convert manifest to JSON for easier Builder building
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidyjames committed Sep 8, 2022
1 parent f158503 commit de37b25
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 80 deletions.
134 changes: 134 additions & 0 deletions com.cassidyjames.plausible.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"app-id" : "com.cassidyjames.plausible",
"runtime" : "org.gnome.Platform",
"runtime-version" : "42",
"base" : "io.elementary.BaseApp",
"base-version" : "juno-21.08",
"sdk" : "org.gnome.Sdk",
"command" : "com.cassidyjames.plausible",
"finish-args" : [
"--socket=wayland",
"--socket=fallback-x11",
"--share=network",
"--device=dri"
],
"modules" : [
{
"name" : "granite",
"buildsystem" : "meson",
"cleanup" : [
"/bin",
"/share/applications"
],
"sources" : [
{
"type" : "git",
"url" : "https://github.com/elementary/granite.git",
"tag" : "6.2.0",
"commit" : "4ab145c28bb3db6372fe519e8bd79c645edfcda3"
}
]
},
{
"name" : "elementary-stylesheet",
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "https://github.com/elementary/stylesheet.git",
"tag" : "7.0.0",
"commit" : "15363725675baf2e8284a48c4d82022624c24969"
}
],
"modules" : [
{
"name" : "sassc",
"cleanup" : [
"*"
],
"sources" : [
{
"type" : "git",
"url" : "https://github.com/sass/sassc.git",
"tag" : "3.6.2",
"commit" : "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0"
},
{
"type" : "script",
"dest-filename" : "autogen.sh",
"commands" : [
"autoreconf -si"
]
}
],
"modules" : [
{
"name" : "libsass",
"cleanup" : [
"*"
],
"sources" : [
{
"type" : "git",
"url" : "https://github.com/sass/libsass.git",
"tag" : "3.6.5",
"commit" : "f6afdbb9288d20d1257122e71d88e53348a53af3"
},
{
"type" : "script",
"dest-filename" : "autogen.sh",
"commands" : [
"autoreconf -si"
]
}
]
}
]
}
]
},
{
"name" : "elementary-icons",
"buildsystem" : "meson",
"config-opts" : [
"-Dpalettes=false"
],
"sources" : [
{
"type" : "git",
"url" : "https://github.com/elementary/icons.git",
"tag" : "7.0.0",
"commit" : "c52a16f4c5bb7b756db6ae965fe4b3d03b1003f6"
}
],
"modules" : [
{
"name" : "xcursorgen",
"cleanup" : [
"*"
],
"sources" : [
{
"type" : "archive",
"url" : "https://gitlab.freedesktop.org/xorg/app/xcursorgen/-/archive/xcursorgen-1.0.7/xcursorgen-xcursorgen-1.0.7.tar.gz",
"sha256" : "7fb30a052b63e3ed02c9e43bd70fe1bf8189f2f3d702ab43b5b0726a2dbafccd"
}
]
}
]
},
{
"name" : "plausible",
"buildsystem" : "meson",
"sources" : [
{
"type" : "dir",
"path" : "."
}
]
}
],
"build-options" : {
"env" : { }
}
}
78 changes: 0 additions & 78 deletions com.cassidyjames.plausible.yml

This file was deleted.

5 changes: 3 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ executable(
join_paths('src', 'Widgets', 'WebView.vala'),
asresources,
dependencies: [
dependency('granite', version: '>= 6.0'),
dependency('granite', version: '>= 6.2.0'),
dependency('gtk+-3.0', version: '>= 3.24'),
dependency('libhandy-1', version: '>= 1.0.0'),
dependency('libhandy-1', version: '>= 1.5.0'),
dependency('webkit2gtk-4.0', version: '>= 2.30'),
],
install: true
Expand All @@ -33,3 +33,4 @@ executable(
subdir('data')

meson.add_install_script(join_paths('meson', 'post_install.py'))

0 comments on commit de37b25

Please sign in to comment.