gentoo-overlay/net-news/news-flash/files/00_Cargo.toml-3.0.2.patch

39 lines
1.2 KiB
Diff
Raw Normal View History

2023-12-22 09:26:54 +01:00
diff --git a/Cargo.toml b/Cargo.toml
index cdbff82..be53c4e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -37,8 +37,9 @@ futures = { version = "0.3", features = ["thread-pool"] }
futures-util = "0.3"
regex = "1.9"
feedly_api = "0.5"
-news-flash = { git = "https://gitlab.com/news_flash/news_flash.git" }
-#news-flash = { path = "../news_flash_base/" }
+#news-flash = { git = "https://gitlab.com/news_flash/news_flash.git" }
+#news-flash = { path = "../news_flash-1e1ae1d7a8750ba23053de7bef84110bca805725/" }
+news-flash = "2.2.2"
clap = { version = "4.4", features = ["derive"] }
diffus = { version = "0.10", features = [ "derive" ] }
xmltree = "0.10"
diff --git a/src/meson.build b/src/meson.build
index 492b529..b579b26 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -31,8 +31,6 @@ else
message('Building in debug mode')
endif
-cargo_env = [ 'CARGO_HOME=' + meson.project_build_root() / 'cargo-home' ]
-
cargo_build = custom_target(
'cargo-build',
build_by_default: true,
@@ -42,8 +40,6 @@ cargo_build = custom_target(
install: true,
install_dir: bindir,
command: [
- 'env',
- cargo_env,
cargo, 'build',
cargo_options,
'&&',