[gnome-build-meta/abderrahim/gi-docgen: 2/2] sdk: add gi-docgen
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/gi-docgen: 2/2] sdk: add gi-docgen
- Date: Fri, 26 Feb 2021 20:01:07 +0000 (UTC)
commit d1563874bbb957b7fb70f966e96a52689ed7ab90
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Fri Feb 26 20:59:13 2021 +0100
sdk: add gi-docgen
elements/sdk.bst | 1 +
elements/sdk/gi-docgen.bst | 19 +++++++++++++++++++
elements/sdk/python3-toml.bst | 12 ++++++++++++
elements/sdk/python3-typogrify.bst | 12 ++++++++++++
project.conf | 7 +++++++
5 files changed, 51 insertions(+)
---
diff --git a/elements/sdk.bst b/elements/sdk.bst
index 42fc22e7..a3fe33e1 100644
--- a/elements/sdk.bst
+++ b/elements/sdk.bst
@@ -1,6 +1,7 @@
kind: stack
depends:
- sdk-platform.bst
+- sdk/gi-docgen.bst
- sdk/gtk-doc.bst
- sdk/vala.bst
- sdk/yelp-tools.bst
diff --git a/elements/sdk/gi-docgen.bst b/elements/sdk/gi-docgen.bst
new file mode 100644
index 00000000..3a16db96
--- /dev/null
+++ b/elements/sdk/gi-docgen.bst
@@ -0,0 +1,19 @@
+kind: meson
+
+sources:
+- kind: git_tag
+ url: gitlab_gnome_org:ebassi/gi-docgen.git
+ track: master
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
+
+depends:
+- sdk/python3-typogrify.bst
+- sdk/python3-toml.bst
+- freedesktop-sdk.bst:components/python3-markdown.bst
+- freedesktop-sdk.bst:components/python3-jinja2.bst
+- freedesktop-sdk.bst:components/python3-markupsafe.bst
+- freedesktop-sdk.bst:components/python3-pygments.bst
+- freedesktop-sdk.bst:components/python3.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/sdk/python3-toml.bst b/elements/sdk/python3-toml.bst
new file mode 100644
index 00000000..bec47a97
--- /dev/null
+++ b/elements/sdk/python3-toml.bst
@@ -0,0 +1,12 @@
+kind: pip
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-pip.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/elements/sdk/python3-typogrify.bst b/elements/sdk/python3-typogrify.bst
new file mode 100644
index 00000000..515c6a01
--- /dev/null
+++ b/elements/sdk/python3-typogrify.bst
@@ -0,0 +1,12 @@
+kind: pip
+
+sources:
+- kind: tar
+ url:
https://files.pythonhosted.org/packages/8a/bf/64959d6187d42472acb846bcf462347c9124952c05bd57e5769d5f28f9a6/typogrify-2.0.7.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:components/python3-pip.bst
+
+depends:
+- freedesktop-sdk.bst:components/python3.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
diff --git a/project.conf b/project.conf
index 4bf36122..83651212 100644
--- a/project.conf
+++ b/project.conf
@@ -118,6 +118,12 @@ elements:
variables:
cmake-global: -DCMAKE_BUILD_TYPE=RelWithDebInfo
generator: Ninja
+
+ pip:
+ variables:
+ pip: pip3
+ fix-pyc-timestamps: ''
+
distutils:
variables:
python-install: '%{python} setup.py install --root "%{install-root}"'
@@ -131,6 +137,7 @@ elements:
mkdir -p %{install-root}/usr/%{lib}/
mv -f %{install-root}/usr/lib/pkgconfig/ %{install-root}/usr/%{lib}/
fi
+
meson:
variables:
meson-global: --buildtype=plain --auto-features=enabled
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]