Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85948580
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/dev-cpp/vodozemac/Manifest b/dev-cpp/vodozemac/Manifest
index 1309580..9a42983 100644
--- a/dev-cpp/vodozemac/Manifest
+++ b/dev-cpp/vodozemac/Manifest
@@ -1 +1,2 @@
-EBUILD vodozemac-9999.ebuild 1073 BLAKE2B 225a4b6baeacb03a9a692e9ab682f96df3ff23ebd83e15e743e8713eb4e5ca8bc496dc6c800da1822a9119d2b2c3ef92f29d54c0f30796dcfee8e40eb036cf88 SHA512 bac11b04970fe579676bf8973bf6d16ff11e809a5163fe666a59e77f60dd2c35a94b9c08a87b528052c2422626cb8c47ec4060f89d35e91cd144cc0b3a3e9a65
+EBUILD vodozemac-9999.ebuild 908 BLAKE2B 5592fe4df90a8e393875d1fcc02589d7134b60de0a9cb0d5ef77aa8ab2773886467a5f42e5558337c3e86c72c3ed2d9a2331e1c19c8ba2aaf5498fc10dd7dd93 SHA512 36d063ace236f6afd57c3bf752c0a1f67e0ffba33fc8694301799b40aaeb672135e0bac751b9dd448b1c4ac2755bb0735298574f1ffa6b2b5d2b84cb9e4f89f0
+MISC 0002-Do-not-use-git-checkout-for-vodozemac.patch 1282 BLAKE2B 533bb5ead755cd0d3ed9701faa8a1272b4f2332443951a49ea0c6b9546508d269b3478aa782f85a077317df7488b310949f8fe0e7b0be2c6889b0ea20c00b15f SHA512 91bc03b0fa4e8ad61a7aa7a618ac4c76915e2244ab580122980aea7ff552dde75eea691d6bf0d623f2c0a4842d946518e6fd9944a6bcb9d59dbf61154240b70d
diff --git a/dev-cpp/vodozemac/vodozemac-9999.ebuild b/dev-cpp/vodozemac/vodozemac-9999.ebuild
index 2c14ac8..d469f95 100644
--- a/dev-cpp/vodozemac/vodozemac-9999.ebuild
+++ b/dev-cpp/vodozemac/vodozemac-9999.ebuild
@@ -1,47 +1,42 @@
# Take from @parona:matrix.org
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cargo git-r3
+inherit cargo git-r3 cmake
DESCRIPTION="Collection of language bindings for the vodozemac cryptographic library."
-HOMEPAGE="https://lily-is.land/kazv/vodozemac-bindings"
-EGIT_REPO_URI="https://lily-is.land/kazv/vodozemac-bindings.git"
+HOMEPAGE="https://r.lily-is.land/the-kazv-project/vodozemac-bindings"
+EGIT_REPO_URI="https://r.lily-is.land/the-kazv-project/vodozemac-bindings.git"
LICENSE="Apache-2.0"
SLOT="0/9999"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
test? (
- dev-cpp/gtest
+ >=dev-cpp/catch-3
dev-libs/boost
dev-libs/olm
)
"
+BDEPEND="
+ dev-build/corrosion
+ dev-lang/perl
+"
QA_FLAGS_IGNORED=".*"
-src_unpack() {
- git-r3_src_unpack
- emake TARGET_DIR="../$(cargo_target_dir)" -C "${S}/cpp" src/lib.rs
- cargo_live_src_unpack
-}
-
-src_compile() {
- cargo_src_compile
- emake TARGET_DIR="../$(cargo_target_dir)" -C cpp dynamic-lib
+src_configure() {
+ local mycmakeargs=(-DBUILD_TESTING=$(usex test 'ON' 'OFF'))
+ cmake_src_configure
}
-src_test() {
- cargo_src_test
- emake TARGET_DIR="../$(cargo_target_dir)" -C cpp test
-}
-src_install() {
- emake TARGET_DIR="../$(cargo_target_dir)" -C cpp PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" DESTDIR="${D}" install
- einstalldocs
+src_unpack() {
+ git-r3_src_unpack
+ "${S}"/cpp/inject-maybe < "${S}"/cpp/src/lib.rs.in > "${S}"/cpp/src/lib.rs
+ cargo_live_src_unpack
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Nov 17, 7:16 AM (58 m, 19 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1838469
Default Alt Text
(2 KB)
Attached To
Mode
R30 tusooa-overlay
Attached
Detach File
Event Timeline