summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2024-01-09 06:43:42 +0100
committerSam James <sam@gentoo.org>2024-01-21 10:00:25 +0000
commit0d686c653b1eb6df7bcc597728ad7ed8d6566a08 (patch)
tree45a4d0ebf0b94a968f0e7ebdc4d895a93a6bf419 /app-misc/anki
parentapp-misc/anki: add 23.12.1 (diff)
downloadgentoo-0d686c653b1eb6df7bcc597728ad7ed8d6566a08.tar.gz
gentoo-0d686c653b1eb6df7bcc597728ad7ed8d6566a08.tar.bz2
gentoo-0d686c653b1eb6df7bcc597728ad7ed8d6566a08.zip
app-misc/anki: unbundle sqlite correctly
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/anki')
-rw-r--r--app-misc/anki/anki-23.12.1.ebuild2
-rw-r--r--app-misc/anki/files/23.12.1/unbundle-sqlite.patch14
2 files changed, 1 insertions, 15 deletions
diff --git a/app-misc/anki/anki-23.12.1.ebuild b/app-misc/anki/anki-23.12.1.ebuild
index 13e6cf187381..b79e79196831 100644
--- a/app-misc/anki/anki-23.12.1.ebuild
+++ b/app-misc/anki/anki-23.12.1.ebuild
@@ -683,7 +683,6 @@ PATCHES=(
"${FILESDIR}"/${PV}/ninja-gentoo-setup.patch
"${FILESDIR}"/${PV}/no-git-submodule-sync.patch
"${FILESDIR}"/${PV}/pseudo-venv.patch
- "${FILESDIR}"/${PV}/unbundle-sqlite.patch
"${FILESDIR}"/${PV}/use-system-nextest.patch
"${FILESDIR}"/${PV}/remove-formatter-dep.patch
"${FILESDIR}"/${PV}/remove-yarn-dep.patch
@@ -820,6 +819,7 @@ https://addon-docs.ankiweb.net/
pkg_setup() {
export PROTOC_BINARY="${BROOT}"/usr/bin/protoc
+ export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
export ZSTD_SYS_USE_PKG_CONFIG=1
if use gui; then
diff --git a/app-misc/anki/files/23.12.1/unbundle-sqlite.patch b/app-misc/anki/files/23.12.1/unbundle-sqlite.patch
deleted file mode 100644
index 496c4fad47a6..000000000000
--- a/app-misc/anki/files/23.12.1/unbundle-sqlite.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Use system dev-db/sqlite:3 instead of a bundled version.
-
-From: Lucio Sauer <watermanpaint@posteo.net>
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -108,7 +108,7 @@ pyo3 = { version = "0.20.0", features = ["extension-module", "abi3", "abi3-py39"
- rand = "0.8.5"
- regex = "1.10.2"
- reqwest = { version = "0.11.22", default-features = false, features = ["json", "socks", "stream", "multipart"] }
--rusqlite = { version = "0.30.0", features = ["trace", "functions", "collation", "bundled"] }
-+rusqlite = { version = "0.30.0", features = ["trace", "functions", "collation"] }
- scopeguard = "1.2.0"
- serde = { version = "1.0.193", features = ["derive"] }
- serde-aux = "4.2.0"