[librsvg/cargo-c: 12/14] Update to use cargo-c 0.9




commit f2fd37e72b986db10b579290f4bb930a7ac94cff
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 94506255..c21955fa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -38,8 +38,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]