[librsvg/cargo-c: 21/25] Update to use cargo-c 0.9
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/cargo-c: 21/25] Update to use cargo-c 0.9
- Date: Fri, 9 Jul 2021 22:57:17 +0000 (UTC)
commit e05623d9d1fb63d6d39933fba2e9c5ca8b30bdf1
Author: Luca Barbato <lu_zero gentoo org>
Date: Thu Jul 1 12:15:49 2021 +0200
Update to use cargo-c 0.9
Cargo.toml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/Cargo.toml b/Cargo.toml
index 52606e5d..dff35876 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -44,8 +44,12 @@ capi = []
[package.metadata.capi.header]
# This is so cargo-c will put the correct Cflags in the .pc file, otherwise it leaves them empty
enabled = true
-generation = false
+subdirectory = "librsvg-2.0"
# For now we have hand-written .h files, so disable generation of headers
+generation = false
+
+[package.metadata.capi.install.include]
+asset = [{from = "include/**/*.h"}]
[package.metadata.capi.pkg_config]
name = "librsvg"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]