Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build postgresql support #5

Merged
merged 3 commits into from
Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions modules/postgresql.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "postgresql",
"no-make-install": true,
"post-install": [
"make -C src/include install",
"make -C src/interfaces install",
"make -C src/bin/pg_config install"
],
"cleanup": [
"/bin",
"/share"
],
"sources": [
{
"type": "archive",
"url": "https://ftp.postgresql.org/pub/source/v15.3/postgresql-15.3.tar.bz2",
"sha256": "ffc7d4891f00ffbf5c3f4eab7fbbced8460b8c0ee63c5a5167133b9e6599d932"
}
]
}
24 changes: 21 additions & 3 deletions net.line72.campcounselor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app-id: net.line72.campcounselor
runtime: org.gnome.Platform
runtime-version: '44'
runtime-version: '45'
sdk: org.gnome.Sdk
command: campcounselor
finish-args:
Expand All @@ -12,6 +12,8 @@ finish-args:
- --device=dri
# Needs to talk to the network:
- --share=network
# libsecret for database password
- --talk-name=org.freedesktop.secrets
cleanup:
- /include
- /lib/pkgconfig
Expand All @@ -27,6 +29,22 @@ cleanup:
- /share/gir-1.0
modules:
- shared-modules/intltool/intltool-0.51.json
- modules/postgresql.json
- name: libsecret
buildsystem: meson
config-opts:
- "-Dmanpage=false"
- "-Dvapi=false"
- "-Dgtk_doc=false"
cleanup:
- "/bin"
- "/include"
- "/lib/pkgconfig"
- "/share/man"
sources:
- type: "archive"
url: "https://gitlab.gnome.org/GNOME/libsecret/-/archive/0.19.1/libsecret-0.19.1.tar.gz"
sha256: "303c6e8cf3e12534e885b0682cd6130716c6834397b76d3829321b6d83b2389c"
- name: libgda
buildsystem: meson
sources:
Expand All @@ -44,6 +62,6 @@ modules:
sources:
- type: git
url: https://github.com/line72/campcounselor.git
tag: 0.99.8
commit: 283c6adb4181c17c731334765436a53cc6c26c7c
tag: 0.99.9
commit: c79f832a200d1eeb781491c1b1d0e63e9969699d