Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-11-21 15:16:43 +00:00
28 changed files with 1162 additions and 25 deletions

View File

@@ -1 +1 @@
DIST pass-audit-1.2.tar.gz 56581 BLAKE2B f57a38c8343b27c05c6e8e371b421c7d5bc7381f51f3b4daf97227ffe437a930922f6deff8126f32e705e5e965774c6aeef6676dbc67594f1bead46326b4c478 SHA512 3036340b31612a52826c13ea558def3a3ca49164eb9b3c516f4923d99126cbe5e85150bca9f8ca26d70375bf92e1b06d606f39a3679de60770ab14f6f24a8267
DIST pass-audit-1.2.tar.gz 25832 BLAKE2B e12807d893f8702bf72f1e570821f54e10c1b4ca63bc5c9e8973d475e85b68ca8c28410d2ed4efa9af9366a5ae9e6f7ecafef1909a03e42553431c6e4d956341 SHA512 d417dd0357b8657fe353bff461f24d45bb18dd305f2d1894b637ebf3042a3aaf0e0625de0fd575f850bd1b1cf7a6921ce4ab9e783e8cf0574d30d6b5a503871f

View File

@@ -15,12 +15,11 @@ HOMEPAGE="https://github.com/roddhjav/pass-audit"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
# No test on PYPI
# Tests seems broken
RESTRICT="test"
DEPEND="app-admin/pass"
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
distutils-r1_src_install

View File

@@ -1,2 +1,3 @@
DIST pulumi-v3.91.1-linux-x64.tar.gz 154427644 BLAKE2B 95d6ff946d6a1b74d293f6774329cc1f770f68f78e2f166320ffb2c2146fbda30521704cd32f4b8e1fc8d193aa9a6006c46819b53e2e123a2546435bf8008f0e SHA512 b954c2d627f67043b9e39227f7da9392afdb1621ac6c44fb0d7a58e3c6653b5e2bff0b858a40ebb7adabc4181f6aeaae81fc2284966906f24dbb531065b4dd5e
DIST pulumi-v3.92.0-linux-x64.tar.gz 154831161 BLAKE2B 105f6d814b2832ec0cec7592e67fc9daf60302179bdc150f3387c07750433e7c24b7e68e1925649907b45fb7496bf056622b080d2f300188559cd08a12235656 SHA512 c42071df519559515acdc18318bc4cfbe38ef99935cad5ffae3b4c17fe1ca77bd23181762e7a00186f296c2ff107e3d42f63053d23db8391b50b5e605f083fda
DIST pulumi-v3.94.2-linux-x64.tar.gz 154811460 BLAKE2B 0250c9c9606e12fe28abca61417796c47075b3991c426dac6eff3e8b13904e9fa487e7ccd994680a5b400692cd3259b63093e6f27f45f7dd1c6ccc1b597f5b05 SHA512 42886c8ea8c3f0ffeed62bb853b6130ac57de6ef66fafccd766277acea88f4edea3f5bff4f93f1887b5da28bbfa6d7b08e27bdf9102333b94d3faae7fab776ab

View File

@@ -0,0 +1,34 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1
DESCRIPTION="Infrastructure as code in any programming language"
HOMEPAGE="
https://www.pulumi.com/
https://github.com/pulumi/pulumi
"
SRC_URI="
amd64? ( https://github.com/pulumi/pulumi/releases/download/v${PV}/pulumi-v${PV}-linux-x64.tar.gz )
"
S="${WORKDIR}/pulumi"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
QA_PREBUILT="*"
src_install() {
dobin pulumi*
./pulumi gen-completion bash > pulumi.bash-completion || die "Cannot generate bash completions"
newbashcomp pulumi.bash-completion pulumi
./pulumi gen-completion zsh > pulumi.zsh-completion || die "Cannot generate zsh completions"
insinto /usr/share/zsh/site-functions
newins pulumi.zsh-completion _pulumi
}

View File

@@ -1,2 +1,5 @@
DIST certbot-2.5.0.gh.tar.gz 1333903 BLAKE2B 2d30764616d2253fe320ad94182e64cc3e1ce75bd90322fcf7c303a52e32420a57cf84a3acf3f8f4825e058d6fe1e59438b728dacdf9032c4d8797312903825e SHA512 92313e352409d543f260fedee3f376c4750d9428cd39fde3518b162091667173ba6d582b4e91477f7122cf198f24119ecf34b2dce12734afbfc0ebedc395a49e
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
DIST certbot-2.7.1.gh.tar.gz 1336424 BLAKE2B 46351af6c6ec918cdfdcfd44009bc878ea4599f0bafc5c61b6385bdba8ba4f47bc7ef20d11bbfb1fc5fef435336e7c7a3de1c7f302047744fb283779d0366033 SHA512 01b4ca4455408bffddb6d8c49fc97a72692995a9c7e887ef3b4b259e1ebb11f5e3651ebb9a53b0a30c81457b3c49c28b5250493070c2c3cb3caa5ed4f707d149
DIST certbot-2.7.2.gh.tar.gz 1343827 BLAKE2B 83fade55e9ea348b5a0fb10ab425f1d23ef6f4e8d43e7c762e363230548ede061ace66cbc49212cca1262809bcf046703859b80a93d698b7ffc545ff16f56bf5 SHA512 bb82a6f6f8d4042e598f9b4b583fd3ea3128026f41acbacb9ee932b195522e565eaddf7ae8d6a661cab5e2f15a436e234f36e0388c730844bff40a3f982a45ee
DIST certbot-2.7.3.gh.tar.gz 1344285 BLAKE2B b32a57c5a13cb1dac474f291eba17c51abe11455455d9831d88c77e0559e9c76b78da2e4dc14165dc892c61b901713687e72657504947ca810c9c139038fe4f0 SHA512 6251f7c3062fcac5b13df94d70c5bcf72e541da4f1dd73a3cc3198fbab050cc3e584fc8ccae9819435896c1d2d2df372ce7465ef571592896afcfee473148f0c
DIST certbot-2.7.4.gh.tar.gz 1345476 BLAKE2B 9050765a345ab1195edbf6f0194b9442f64d468f34d26a6ec780901850835ce488d235b72d0a4d5079f29b433454b2bd24e1c0b2001e136216734e353f3627d9 SHA512 4363a2b9cc0d80692c26b6e4e82d7b2f1b57145f82603d33591cc6d00f08a920a2f9b963268c9a24211492e570fc8a91a1c64ccbcd4a44068e30590ce0a1d369

View File

@@ -0,0 +1,70 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
PARENT_PN="${PN%-dns-rfc2136}"
PARENT_P="${PARENT_PN}-${PV}"
if [[ "${PV}" == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
EGIT_SUBMODULES=()
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
else
SRC_URI="
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
-> ${PARENT_P}.gh.tar.gz
"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
fi
DESCRIPTION="RFC 2136 DNS Authenticator plugin for Certbot (Lets Encrypt client)"
HOMEPAGE="
https://github.com/certbot/certbot
https://letsencrypt.org/
"
LICENSE="Apache-2.0"
SLOT="0"
S="${WORKDIR}/${PARENT_P}/${PN}"
BDEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
RDEPEND="
${PYTHON_DEPS}
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
>=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
>=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}]
"
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
distutils_enable_tests pytest
# Same than PATCHES but from repository's root directory,
# please see function `python_prepare_all` below.
# Simplier for users IMHO.
PARENT_PATCHES=(
)
# Here for patches within "${PN}" subdirectory.
PATCHES=(
)
python_prepare_all() {
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
[[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
eapply_user
popd > /dev/null || die
distutils-r1_python_prepare_all
}

View File

@@ -0,0 +1,70 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
PARENT_PN="${PN%-dns-rfc2136}"
PARENT_P="${PARENT_PN}-${PV}"
if [[ "${PV}" == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
EGIT_SUBMODULES=()
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
else
SRC_URI="
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
-> ${PARENT_P}.gh.tar.gz
"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
fi
DESCRIPTION="RFC 2136 DNS Authenticator plugin for Certbot (Lets Encrypt client)"
HOMEPAGE="
https://github.com/certbot/certbot
https://letsencrypt.org/
"
LICENSE="Apache-2.0"
SLOT="0"
S="${WORKDIR}/${PARENT_P}/${PN}"
BDEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
RDEPEND="
${PYTHON_DEPS}
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
>=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
>=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}]
"
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
distutils_enable_tests pytest
# Same than PATCHES but from repository's root directory,
# please see function `python_prepare_all` below.
# Simplier for users IMHO.
PARENT_PATCHES=(
)
# Here for patches within "${PN}" subdirectory.
PATCHES=(
)
python_prepare_all() {
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
[[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
eapply_user
popd > /dev/null || die
distutils-r1_python_prepare_all
}

View File

@@ -0,0 +1,70 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
PARENT_PN="${PN%-dns-rfc2136}"
PARENT_P="${PARENT_PN}-${PV}"
if [[ "${PV}" == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
EGIT_SUBMODULES=()
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
else
SRC_URI="
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
-> ${PARENT_P}.gh.tar.gz
"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
fi
DESCRIPTION="RFC 2136 DNS Authenticator plugin for Certbot (Lets Encrypt client)"
HOMEPAGE="
https://github.com/certbot/certbot
https://letsencrypt.org/
"
LICENSE="Apache-2.0"
SLOT="0"
S="${WORKDIR}/${PARENT_P}/${PN}"
BDEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
RDEPEND="
${PYTHON_DEPS}
>=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
>=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
>=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}]
"
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
distutils_enable_tests pytest
# Same than PATCHES but from repository's root directory,
# please see function `python_prepare_all` below.
# Simplier for users IMHO.
PARENT_PATCHES=(
)
# Here for patches within "${PN}" subdirectory.
PATCHES=(
)
python_prepare_all() {
pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
[[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
eapply_user
popd > /dev/null || die
distutils-r1_python_prepare_all
}

View File

@@ -0,0 +1 @@
DIST qschematic-1.5.0.tar.gz 1509508 BLAKE2B b2850e0b31e1d44f750488b94d47beaf606981d77bfbb070b44beb235c531bf190d1e3edcafb214737dc376d74d5e08405a8b3844c9746f9dce9731484685ca8 SHA512 a5ad0a5068c0bed1307c89134814c68192e4af19067d221d27086585f93360307a1293ee7c63021b21c0348f3859a18d6dcd50b3e2e0fe19fd32bf4928942cd4

View File

@@ -0,0 +1,128 @@
From 9beb6fcc19a27bd7a280420bdac8a95b650316ed Mon Sep 17 00:00:00 2001
From: Huang Rui <vowstar@gmail.com>
Date: Tue, 21 Nov 2023 10:25:53 +0800
Subject: [PATCH] build: add build options for gentoo
Signed-off-by: Huang Rui <vowstar@gmail.com>
---
CMakeLists.txt | 2 ++
demo/CMakeLists.txt | 2 ++
qschematic/CMakeLists.txt | 10 ++++++----
qschematic/external.cmake | 2 ++
qschematic/qschematic-config.cmake.in | 3 +++
5 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7a265d7e523f..bfe5cfe8d8bf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,6 +11,8 @@ project(
# User options
option(QSCHEMATIC_BUILD_DEMO "Whether to build the demo project" ON)
option(QSCHEMATIC_DEPENDENCY_GPDS_DOWNLOAD "Whether to pull the GPDS dependency via FetchContent" ON)
+option(QSCHEMATIC_BUILD_QT6 "Whether to build with QT6" ON)
+option(QSCHEMATIC_BUILD_STATIC "Whether to build static library" ON)
# User settings
set(QSCHEMATIC_DEPENDENCY_GPDS_TARGET "gpds::gpds-static" CACHE STRING "The CMake target of the GPDS library to use")
diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt
index 6c315c2894b2..db206dd156ac 100644
--- a/demo/CMakeLists.txt
+++ b/demo/CMakeLists.txt
@@ -2,11 +2,13 @@
include(../qschematic/external.cmake)
# Qt
+if (QSCHEMATIC_BUILD_QT6)
find_package(
Qt6
COMPONENTS
PrintSupport
)
+endif()
if (NOT Qt6_FOUND)
find_package(
Qt5
diff --git a/qschematic/CMakeLists.txt b/qschematic/CMakeLists.txt
index ec56b33ad264..6b4d353127bc 100644
--- a/qschematic/CMakeLists.txt
+++ b/qschematic/CMakeLists.txt
@@ -150,7 +150,6 @@ setup_target_common(${TARGET_SHARED})
################################################################################
# Static library #
################################################################################
-
add_library(${TARGET_STATIC} STATIC)
setup_target_common(${TARGET_STATIC})
@@ -160,7 +159,6 @@ target_compile_definitions(
QSCHEMATIC_STATIC_DEFINE
)
-
################################################################################
# Install #
################################################################################
@@ -171,10 +169,14 @@ include(CMakePackageConfigHelpers)
set(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/cmake/qschematic)
# Targets
+if (QSCHEMATIC_BUILD_STATIC)
+ set(INSTALL_TARGETS ${INSTALL_TARGETS} ${TARGET_STATIC} ${TARGET_SHARED})
+else()
+ set(INSTALL_TARGETS ${INSTALL_TARGETS} ${TARGET_SHARED})
+endif()
install(
TARGETS
- ${TARGET_STATIC}
- ${TARGET_SHARED}
+ ${INSTALL_TARGETS}
EXPORT qschematic-targets
FILE_SET
HEADERS
diff --git a/qschematic/external.cmake b/qschematic/external.cmake
index 80aae6c29b94..7e57f0852ac5 100644
--- a/qschematic/external.cmake
+++ b/qschematic/external.cmake
@@ -35,6 +35,7 @@ endif()
########################################################################################################################
# Try to find Qt6
+if (QSCHEMATIC_BUILD_QT6)
find_package(
Qt6
COMPONENTS
@@ -42,6 +43,7 @@ find_package(
Gui
Widgets
)
+endif()
# If Qt6 was not found, fallback to Qt5
# Require minimum Qt 5.15 for versionless cmake targets. This can be relaxed down to Qt 5.6 (?) if needed by modifying
diff --git a/qschematic/qschematic-config.cmake.in b/qschematic/qschematic-config.cmake.in
index 7452408bcd09..5b2a14a4c9c2 100644
--- a/qschematic/qschematic-config.cmake.in
+++ b/qschematic/qschematic-config.cmake.in
@@ -6,8 +6,10 @@ include(CMakeFindDependencyMacro)
set(QSCHEMATIC_DEPENDENCY_GPDS_DOWNLOAD @QSCHEMATIC_DEPENDENCY_GPDS_DOWNLOAD@)
set(QSCHEMATIC_DEPENDENCY_GPDS_MINIMUM_VERSION @QSCHEMATIC_DEPENDENCY_GPDS_MINIMUM_VERSION@)
+set(QSCHEMATIC_BUILD_QT6 @QSCHEMATIC_BUILD_QT6@)
# Qt
+if (QSCHEMATIC_BUILD_QT6)
find_dependency(
Qt6
COMPONENTS
@@ -15,6 +17,7 @@ find_dependency(
Gui
Widgets
)
+endif()
if (NOT Qt6_FOUND)
find_dependency(
Qt5 5.15
--
2.42.1

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>vowstar@gmail.com</email>
<name>Huang Rui</name>
</maintainer>
<use>
<flag name="qt6">Build with Qt6 support</flag>
</use>
<upstream>
<remote-id type="github">simulton/QSchematic</remote-id>
<bugs-to>https://github.com/simulton/QSchematic/issues</bugs-to>
<changelog>https://github.com/simulton/QSchematic/releases</changelog>
</upstream>
<longdescription lang="en">
QSchematic is a library to draw diagrams and schematics with Qt. It uses
Qt's graphics view framework.
The library provides base classes for objects such as nodes and wires
and implements logic to move objects around while keeping the wires
connected, generating netlists and so on. A typical application would
include this library and subclass the Item class to implement custom
items.
</longdescription>
<longdescription lang="zh">
QSchematic 是一个基于 Qt 的图形视图框架的绘制图表和原理图的库。
该库为节点和连线等对象提供基类,并实现在保持连线连接的同时移动对象的逻
辑、生成网表等。典型的应用程序包含此库,并允许继承 Item 类以实现自定义
项。
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,67 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="QSchematic"
inherit cmake
DESCRIPTION="Library for creating flowcharts and engineering diagrams"
HOMEPAGE="https://github.com/simulton/QSchematic"
if [[ "${PV}" == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/simulton/QSchematic/${MY_PN}.git"
else
SRC_URI="https://github.com/simulton/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
S="${WORKDIR}/${MY_PN}-${PV}"
fi
LICENSE="MIT"
SLOT="0"
IUSE="examples qt6 static-libs test wayland +X"
RESTRICT="!test? ( test )"
REQUIRED_USE="
examples? ( static-libs )
test? ( static-libs )
"
RDEPEND="
!qt6? (
>=dev-qt/qtcore-5.15:5=
>=dev-qt/qtgui-5.15:5=[jpeg,png,wayland?,X?]
>=dev-qt/qtsvg-5.15:5
>=dev-qt/qtwidgets-5.15:5[png,X?]
)
qt6? (
>=dev-qt/qtbase-6.5:6=[gui,wayland?,widgets,X?]
>=dev-qt/qtimageformats-6.5:6
>=dev-qt/qtsvg-6.5:6
)
>=dev-libs/gpds-1.6.0[static-libs?]
"
DEPEND="
${RDEPEND}
"
BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/${PN}-1.5.0-gentoo-cmake-option.patch"
)
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
-DQSCHEMATIC_DEPENDENCY_GPDS_TARGET:STRING="gpds::gpds-shared"
-DQSCHEMATIC_DEPENDENCY_GPDS_DOWNLOAD=OFF
-DQSCHEMATIC_BUILD_DEMO=$(usex examples)
-DQSCHEMATIC_BUILD_QT6=$(usex qt6)
-DQSCHEMATIC_BUILD_STATIC=$(usex static-libs)
)
cmake_src_configure
}

View File

@@ -1,2 +1,3 @@
DIST randomx-1.1.8.tar.gz 163477 BLAKE2B 482f38a7e9f7b03ec5bd40ff923a1a1e575ed0c30431dcbecfe1072cdb10ccc93b61cf9d2177f4549e284125e17386e0314cb39734b22dc150193bd5d28bb813 SHA512 f41f13ba7b979a969e9d60e6c44cf289802e7459d6d817a64377428c3e833ea2f71a8a1e6559682ecc0ec2a33f958bb5b727d7faa28cb6ff69a524d713969bce
DIST randomx-1.1.9.tar.gz 163669 BLAKE2B 41a665061c438c335825abfdf8fbde7f0c8a910fcca22e47babd015120b675378ad04afdc602f2b8e41cc6030ea6caa6298a27bce634034e95b5657d4ea06492 SHA512 89e0541bc849db270672acd7210a6c7109e4ca07765e6e656229ff8867792bfae933ee85b0aa4545dc3cf0c6515140ab782c8e231af17a82610718a80458c420
DIST randomx-1.2.1.tar.gz 181224 BLAKE2B 8090e40fd3fca72778ba0d1c7fec4284fde47d3f692f11ed5e8c176abc069a155f3a9c9556aa85e4c88f456aee20d6f4615ec6a2f5b6b4944c66351839e49e2d SHA512 61aea021dcc2e43360cf20e741401a0379cd9b16774cd6bc477b5f64c8c642e61a1a9e5ad17b734b5450a01ed66ef8297d675beb0f6a2461d89fac1930f35c16

View File

@@ -0,0 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake flag-o-matic
DESCRIPTION="Proof of work algorithm based on random code execution"
HOMEPAGE="https://github.com/tevador/RandomX"
SRC_URI="https://github.com/tevador/RandomX/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
S="${WORKDIR}"/RandomX-${PV}
src_configure() {
append-ldflags -Wl,-z,noexecstack
cmake_src_configure
}

View File

@@ -24,7 +24,7 @@ KEYWORDS="~amd64"
DEPEND="test? (
dev-python/mypy[${PYTHON_USEDEP}]
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/PyQt5[${PYTHON_USEDEP},widgets]
)
"

View File

@@ -30,7 +30,7 @@ DEPEND="
media-libs/cubeb
evdev? ( dev-libs/libevdev )
dbus? ( sys-apps/dbus )
gamepad? ( >=media-libs/libsdl2-2.28.2 )
gamepad? ( >=media-libs/libsdl2-2.28.5 )
gbm? ( x11-libs/libdrm )
qt6? (
dev-qt/qtbase:6[gui,network,widgets]

View File

@@ -0,0 +1,2 @@
DIST UDEVGothic_NF_v1.3.1.zip 58025634 BLAKE2B b6b1fadf74fa25abe5d9eed8f8d65a6f55a85571510b54d964561bb75e274adb75ac102e5a0844cf33166bcb2a4ab841a13a8c84cd3f47c1fe2f5b118bbb800e SHA512 cfce84d6249a84658e39d7d6d6012c1c3d92071dba2a1ebb9bebb797c836c91ad3dc52b266404f96acf233a1507d80f764538a479f1b2bbb6b9db7e1ffc2429e
DIST UDEVGothic_v1.3.1.zip 61976387 BLAKE2B 86efbdcb417efef9890fe1810b001c9308c8325d2014a92394504a3860492b677a303a850d207c19ec30f40a5f0015880573ac0694df5e7dea3bf7646bfaa57d SHA512 ff6c6ea48b84dee58b2b31f087a72efc7ab7740bd9d8a2f3485cc107ec20d37b55734b2adca6ca5c236b4508c8af41c3aec75598565b240dbbd1e47dcae5ee94

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dev@dyama.net</email>
<name>Daichi Yamamoto</name>
</maintainer>
<stabilize-allarches />
<use>
<flag name="nerdfonts">Install composite variations of Nerd Fonts</flag>
</use>
<upstream>
<remote-id type="github">yuru7/udev-gothic</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,35 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
MY_PN="UDEVGothic"
MY_PV="v${PV}"
MY_P="${MY_PN}_${MY_PV}"
MY_P_NF="${MY_PN}_NF_${MY_PV}"
DESCRIPTION="UDEV Gothic is a font that combines BIZ UD Gothic and JetBrains Mono."
HOMEPAGE="https://github.com/yuru7/udev-gothic"
SRC_URI="https://github.com/yuru7/udev-gothic/releases/download/${MY_PV}/${MY_P}.zip
nerdfonts? ( https://github.com/yuru7/udev-gothic/releases/download/${MY_PV}/${MY_P_NF}.zip )
"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="nerdfonts"
BDEPEND="app-arch/unzip"
S="${WORKDIR}"
FONT_SUFFIX="ttf"
src_unpack() {
default
mv ${MY_P}/*.${FONT_SUFFIX} . || die
if use nerdfonts; then
mv ${MY_P_NF}/*.${FONT_SUFFIX} . || die
fi
}

View File

@@ -0,0 +1 @@
DIST mediaelch-2.10.4.tar.gz 3280636 BLAKE2B 432f24a874f0843232e10909ba08393604acd75e0c49ea0ca660a64a7ec7ea55e8f79f21074bdac64d8e3815370f31978db8de25e79939682818aacad7aaeb76 SHA512 725b03cd179e2c14f94a5744675ac2cc570da1a2fa6818dcd1854542b354eb83f10c5653d92b946308740d7964cb91855f7d57ec314d784c1cbacd96b4c22aeb

View File

@@ -0,0 +1,52 @@
# Copyright 2021-223 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Video metadata scraper"
HOMEPAGE="https://www.mediaelch.de/"
MY_PN=MediaElch
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/Komet/$MY_PN"
EGIT_BRANCH="master"
EGIT_SUBMODULES=()
inherit git-r3
S="${WORKDIR}/${PN}-9999"
else
RESTRICT="mirror"
SRC_URI="https://github.com/Komet/$MY_PN/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S=$WORKDIR/${MY_PN}-${PV}
fi
LICENSE="LGPL-3"
SLOT="0"
IUSE="debug"
DEPEND="dev-libs/quazip
dev-qt/qtconcurrent:5
dev-qt/qtmultimedia:5[widgets]
dev-qt/qtsql:5
dev-qt/qtsvg:5
dev-qt/qtxmlpatterns:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-util/cmake
media-video/mediainfo
media-libs/libzen
media-libs/phonon"
src_configure() {
local mycmakeargs=("-DUSE_EXTERN_QUAZIP=ON")
if use debug; then
CMAKE_BUILD_TYPE=Debug
mycmakeargs+=("-DSANITIZE_ADDRESS=on")
CXXFLAGS+=("-fsanitize=address")
fi
cmake_src_configure
}

View File

@@ -0,0 +1,52 @@
# Copyright 2021-223 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Video metadata scraper"
HOMEPAGE="https://www.mediaelch.de/"
MY_PN=MediaElch
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/Komet/$MY_PN"
EGIT_BRANCH="master"
EGIT_SUBMODULES=()
inherit git-r3
S="${WORKDIR}/${PN}-9999"
else
RESTRICT="mirror"
SRC_URI="https://github.com/Komet/$MY_PN/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S=$WORKDIR/${MY_PN}-${PV}
fi
LICENSE="LGPL-3"
SLOT="0"
IUSE="debug"
DEPEND="dev-libs/quazip
dev-qt/qtconcurrent:5
dev-qt/qtmultimedia:5[widgets]
dev-qt/qtsql:5
dev-qt/qtsvg:5
dev-qt/qtxmlpatterns:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-util/cmake
media-video/mediainfo
media-libs/libzen
media-libs/phonon"
src_configure() {
local mycmakeargs=("-DUSE_EXTERN_QUAZIP=ON")
if use debug; then
CMAKE_BUILD_TYPE=Debug
mycmakeargs+=("-DSANITIZE_ADDRESS=on")
CXXFLAGS+=("-fsanitize=address")
fi
cmake_src_configure
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>web.alexander@web.de</email>
<name>Alexander Weber</name>
</maintainer>
<upstream>
<remote-id type="github">Komet/MediaElch</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -38,6 +38,7 @@ DIST clap_derive-4.3.2.crate 29053 BLAKE2B 9e578a78e92fcb90689c1327a41f446fac645
DIST clap_lex-0.5.0.crate 11792 BLAKE2B 0409c9d957ea6a566eb8b50f4212702df038d04c4c38f7440d91cb4c58ec887940f0cf500c4c3949c2191399aac3f5cb1ce44868eac587cde90211d3e467b9a2 SHA512 0149ed7c2438a19b4857f895767550d783711078f07bfa9ac8ca531e06f51c7388110f4d558e30bf503536367cc370cb581e8deb6fe51f9b5460a334963daacd
DIST color_quant-1.1.0.crate 6649 BLAKE2B 9a2488dd00b7a33e15e05531ea49ef1961131f0be0922ba41e2d74d2b1a047daed483ac3a9dd87c847a81cce70a347395c557cad8228ab9a8dc5be7cc0f1bcaa SHA512 690c928bda4b7b57425f38ea68ac89cde2473b7a91b7e62c04a8f2c5a0fa3505e26b065d48b7ad0a8bb491f92f600f896fefdad3ce0e86e43cbf4f9a89e94201
DIST conduit-0.6.0.tar.bz2 214921 BLAKE2B 770c55ad8e4cc8d8c60b150fd227d365a5fd54e92a44537fb24a055d1ef11e0370bac4c604cc51b870fab2a6d83f86454c1b5206bd51ee200b300a5146481e87 SHA512 47a0b49d1ad0c34fa4c58b9c232a103456184cfabe2602dd3c5cbf26d30a90e52fce9368b8c808f9dcdf93ee67d53fe681fa697419d18cbfb1b92d701633c0b7
DIST conduit-v0.6.0.tar.bz2 215097 BLAKE2B dd9b7ed8e282d2ecc231c467dd399bd51aee5cef495c7d72cb86279db9eff9f63fc35c3f71da8535c677c244f2ddf2daf9bf7c7aa7fb6c849f994b7ca2bf9ccd SHA512 b2bc04eeed66244e8f803fa7fac3371c7e90d6228cddc46ecc614414eaa9b0101d2b3be6c888cacc1b0e5fadfb5a0da68cab7380efdfc563b7722b5a8b26c3b5
DIST const-oid-0.9.2.crate 44606 BLAKE2B d254b1d50d3d72a842e247fcf6cd0bd4ebb036db2a1580b2737ad9f0134288997ebc5f17b7b9f3c5bc532f8fedbb9aed0ae2a6a672dc23e66ed3902fd3c96f74 SHA512 ad75da209947af32b4020ef73a04c7ecc74600fe7ea70f33d1486f4346e7a3fb1d5e3a586b373f49b8b494215dfaff251b8d40181bd95e43373e8bd887fb6708
DIST const_panic-0.2.8.crate 48077 BLAKE2B c263ddd7488e7d67eac7e678cbd56f5904c51b290f20f80cd32439f4584006463ba266db6af2f975365feadd500b414eaa6a6639949ada782e8a81b3878f3a85 SHA512 302388c0a91193eabd94a8d92c48bf65a428540eda09915553a4ba53906ee8dc1590695f2cf617d7914ea044add684dc983b29281cc78e4849e6be93b6f46b9d
DIST constant_time_eq-0.1.5.crate 4936 BLAKE2B 882dbf33f20954205fcc5b6e39863db8969d184b697fd51ef462f6890c1a754e3fae67bcc7db685d8cc26abe6e3871d3b80aa542489ba9551a0c95a49f7a6dc2 SHA512 a4e0155a7ad72babcfd418d832d362b3fca7333aaaf36c246b00e948983837c3c93378b86e37c5fa7626fe137e3b6d77276ccc61624a7f4ab914605905a88a01

View File

@@ -0,0 +1,462 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Auto-Generated by cargo-ebuild 0.5.4
EAPI=8
CRATES="
adler@1.0.2
ahash@0.8.3
aho-corasick@1.0.2
allocator-api2@0.2.15
anstyle@1.0.1
arc-swap@1.6.0
arrayref@0.3.7
arrayvec@0.7.4
assign@1.1.1
async-trait@0.1.68
atomic@0.5.3
autocfg@1.1.0
axum@0.6.18
axum-core@0.3.4
axum-server@0.5.1
base64@0.13.1
base64@0.21.2
base64ct@1.6.0
bincode@1.3.3
bindgen@0.65.1
bitflags@1.3.2
bitflags@2.3.2
blake2b_simd@1.0.1
block-buffer@0.9.0
block-buffer@0.10.4
bumpalo@3.13.0
bytemuck@1.13.1
byteorder@1.4.3
bytes@1.4.0
bzip2-sys@0.1.11+1.0.8
cc@1.0.79
cexpr@0.6.0
cfg-if@1.0.0
clang-sys@1.6.1
clap@4.3.8
clap_builder@4.3.8
clap_derive@4.3.2
clap_lex@0.5.0
color_quant@1.1.0
const-oid@0.9.2
const_panic@0.2.8
constant_time_eq@0.1.5
constant_time_eq@0.2.6
core-foundation@0.9.3
core-foundation-sys@0.8.4
cpufeatures@0.2.8
crc@3.0.1
crc-catalog@2.2.0
crc32fast@1.3.2
crossbeam@0.8.2
crossbeam-channel@0.5.8
crossbeam-deque@0.8.3
crossbeam-epoch@0.9.15
crossbeam-queue@0.3.8
crossbeam-utils@0.8.16
crypto-common@0.1.6
curve25519-dalek@3.2.0
dashmap@5.4.0
data-encoding@2.4.0
der@0.6.1
digest@0.9.0
digest@0.10.7
directories@4.0.1
dirs-sys@0.3.7
ed25519@1.5.3
ed25519-dalek@1.0.1
either@1.8.1
encoding_rs@0.8.32
enum-as-inner@0.5.1
equivalent@1.0.0
fallible-iterator@0.2.0
fallible-streaming-iterator@0.1.9
fdeflate@0.3.0
figment@0.10.10
flate2@1.0.26
fnv@1.0.7
form_urlencoded@1.2.0
fs2@0.4.3
futures@0.3.28
futures-channel@0.3.28
futures-core@0.3.28
futures-executor@0.3.28
futures-io@0.3.28
futures-macro@0.3.28
futures-sink@0.3.28
futures-task@0.3.28
futures-util@0.3.28
generic-array@0.14.7
getrandom@0.1.16
getrandom@0.2.10
gif@0.12.0
glob@0.3.1
h2@0.3.19
hashbrown@0.12.3
hashbrown@0.14.0
hashlink@0.8.3
headers@0.3.8
headers-core@0.2.0
heck@0.4.1
hermit-abi@0.2.6
hmac@0.12.1
hostname@0.3.1
http@0.2.9
http-body@0.4.5
http-range-header@0.3.0
httparse@1.8.0
httpdate@1.0.2
hyper@0.14.26
hyper-rustls@0.23.2
idna@0.2.3
idna@0.4.0
image@0.24.6
indexmap@1.9.3
indexmap@2.0.0
inlinable_string@0.1.15
integer-encoding@3.0.4
ipconfig@0.3.2
ipnet@2.7.2
itertools@0.11.0
itoa@1.0.6
jobserver@0.1.26
jpeg-decoder@0.3.0
js-sys@0.3.64
js_int@0.2.2
js_option@0.1.1
jsonwebtoken@8.3.0
konst@0.3.5
konst_kernel@0.3.5
lazy_static@1.4.0
lazycell@1.3.0
libc@0.2.146
libloading@0.7.4
librocksdb-sys@0.11.0+8.1.1
libsqlite3-sys@0.26.0
libz-sys@1.1.9
linked-hash-map@0.5.6
lmdb-rkv-sys@0.11.2
lock_api@0.4.10
log@0.4.19
lru-cache@0.1.2
lz4-sys@1.9.4
maplit@1.0.2
match_cfg@0.1.0
matchers@0.1.0
matches@0.1.10
matchit@0.7.0
memchr@2.5.0
memoffset@0.7.1
memoffset@0.9.0
mime@0.3.17
minimal-lexical@0.2.1
miniz_oxide@0.7.1
mio@0.8.8
nix@0.26.2
nom@7.1.3
nu-ansi-term@0.46.0
num-bigint@0.4.3
num-integer@0.1.45
num-rational@0.4.1
num-traits@0.2.15
num_cpus@1.15.0
once_cell@1.18.0
opaque-debug@0.3.0
openssl-probe@0.1.5
opentelemetry@0.18.0
opentelemetry-jaeger@0.17.0
opentelemetry-semantic-conventions@0.10.0
opentelemetry_api@0.18.0
opentelemetry_sdk@0.18.0
ordered-float@1.1.1
overload@0.1.1
page_size@0.4.2
parking_lot@0.12.1
parking_lot_core@0.9.8
paste@1.0.12
pear@0.2.4
pear_codegen@0.2.4
peeking_take_while@0.1.2
pem@1.1.1
percent-encoding@2.3.0
persy@1.4.4
pin-project@1.1.0
pin-project-internal@1.1.0
pin-project-lite@0.2.9
pin-utils@0.1.0
pkcs8@0.9.0
pkg-config@0.3.27
png@0.17.9
ppv-lite86@0.2.17
prettyplease@0.2.9
proc-macro-crate@1.3.1
proc-macro2@1.0.61
proc-macro2-diagnostics@0.10.0
quick-error@1.2.3
quote@1.0.28
rand@0.7.3
rand@0.8.5
rand_chacha@0.2.2
rand_chacha@0.3.1
rand_core@0.5.1
rand_core@0.6.4
rand_hc@0.2.0
redox_syscall@0.2.16
redox_syscall@0.3.5
redox_users@0.4.3
regex@1.8.4
regex-automata@0.1.10
regex-syntax@0.6.29
regex-syntax@0.7.2
resolv-conf@0.7.0
ring@0.16.20
rocksdb@0.21.0
rusqlite@0.29.0
rust-argon2@1.0.0
rustc-hash@1.1.0
rustls@0.20.8
rustls@0.21.2
rustls-native-certs@0.6.3
rustls-pemfile@0.2.1
rustls-pemfile@1.0.2
rustls-webpki@0.100.1
rustversion@1.0.12
ryu@1.0.13
schannel@0.1.21
scopeguard@1.1.0
sct@0.7.0
sd-notify@0.4.1
security-framework@2.9.1
security-framework-sys@2.9.0
serde@1.0.164
serde_derive@1.0.164
serde_html_form@0.2.0
serde_json@1.0.99
serde_path_to_error@0.1.11
serde_spanned@0.6.3
serde_urlencoded@0.7.1
serde_yaml@0.9.22
sha-1@0.10.1
sha1@0.10.5
sha2@0.9.9
sha2@0.10.7
sharded-slab@0.1.4
shlex@1.1.0
signal-hook-registry@1.4.1
signature@1.6.4
simd-adler32@0.3.5
simple_asn1@0.6.2
slab@0.4.8
smallvec@1.10.0
socket2@0.4.9
socket2@0.5.3
spin@0.5.2
spki@0.6.0
static_assertions@1.1.0
subslice@0.2.3
subtle@2.5.0
syn@1.0.109
syn@2.0.21
sync_wrapper@0.1.2
synchronoise@1.0.1
thiserror@1.0.40
thiserror-impl@1.0.40
thread_local@1.1.7
threadpool@1.8.1
thrift@0.16.0
tikv-jemalloc-ctl@0.5.0
tikv-jemalloc-sys@0.5.3+5.3.0-patched
tikv-jemallocator@0.5.0
time@0.3.22
time-core@0.1.1
time-macros@0.2.9
tinyvec@1.6.0
tinyvec_macros@0.1.1
tokio@1.28.2
tokio-macros@2.1.0
tokio-rustls@0.23.4
tokio-rustls@0.24.1
tokio-socks@0.5.1
tokio-stream@0.1.14
tokio-util@0.7.8
toml@0.7.5
toml_datetime@0.6.3
toml_edit@0.19.11
tower@0.4.13
tower-http@0.4.1
tower-layer@0.3.2
tower-service@0.3.2
tracing@0.1.37
tracing-attributes@0.1.26
tracing-core@0.1.31
tracing-flame@0.2.0
tracing-log@0.1.3
tracing-opentelemetry@0.18.0
tracing-subscriber@0.3.17
trust-dns-proto@0.22.0
trust-dns-resolver@0.22.0
try-lock@0.2.4
typenum@1.16.0
typewit@1.4.0
uncased@0.9.9
unicode-bidi@0.3.13
unicode-ident@1.0.9
unicode-normalization@0.1.22
unsafe-libyaml@0.2.8
unsigned-varint@0.7.1
untrusted@0.7.1
url@2.4.0
uuid@1.3.4
valuable@0.1.0
vcpkg@0.2.15
version_check@0.9.4
want@0.3.1
wasi@0.9.0+wasi-snapshot-preview1
wasi@0.11.0+wasi-snapshot-preview1
wasm-bindgen@0.2.87
wasm-bindgen-backend@0.2.87
wasm-bindgen-futures@0.4.37
wasm-bindgen-macro@0.2.87
wasm-bindgen-macro-support@0.2.87
wasm-bindgen-shared@0.2.87
web-sys@0.3.64
webpki@0.22.0
weezl@0.1.7
widestring@1.0.2
wildmatch@2.1.1
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
windows-sys@0.42.0
windows-sys@0.48.0
windows-targets@0.48.0
windows_aarch64_gnullvm@0.42.2
windows_aarch64_gnullvm@0.48.0
windows_aarch64_msvc@0.42.2
windows_aarch64_msvc@0.48.0
windows_i686_gnu@0.42.2
windows_i686_gnu@0.48.0
windows_i686_msvc@0.42.2
windows_i686_msvc@0.48.0
windows_x86_64_gnu@0.42.2
windows_x86_64_gnu@0.48.0
windows_x86_64_gnullvm@0.42.2
windows_x86_64_gnullvm@0.48.0
windows_x86_64_msvc@0.42.2
windows_x86_64_msvc@0.48.0
winnow@0.4.7
winreg@0.7.0
winreg@0.50.0
yansi@0.5.1
zeroize@1.6.0
zeroize_derive@1.4.2
zigzag@0.1.0
zstd-sys@2.0.8+zstd.1.5.5
"
declare -A GIT_CRATES=(
[ruma]="https://github.com/ruma/ruma;3bd58e3c899457c2d55c45268dcb8a65ae682d54;ruma-%commit%/crates/ruma"
[reqwest]="https://github.com/timokoesters/reqwest;57b7cf4feb921573dfafad7d34b9ac6e44ead0bd"
[heed]="https://github.com/timokoesters/heed;f6f825da7fb2c758867e05ad973ef800a6fe1d5d;heed-%commit%/heed"
)
inherit cargo systemd toolchain-funcs
MY_P="${PN}-v${PV}"
DESCRIPTION="A Matrix homeserver written in Rust"
HOMEPAGE="
https://conduit.rs
https://gitlab.com/famedly/conduit
"
SRC_URI="https://gitlab.com/famedly/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2
${CARGO_CRATE_URIS}
"
S="${WORKDIR}/${MY_P}"
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0"
KEYWORDS="~amd64"
IUSE="jemalloc lmdb rocksdb system-rocksdb"
# Libraries that can't be unbundled right now:
# - app-arch/bzip2
# - app-arch/lz4
# - dev-db/sqlite:3
# - sys-libs/zlib
DEPEND="
jemalloc? ( dev-libs/jemalloc:= )
lmdb? ( dev-db/lmdb:= )
rocksdb? (
app-arch/snappy:=
app-arch/zstd:=
system-rocksdb? ( dev-libs/rocksdb )
)
"
RDEPEND="${DEPEND}
acct-user/conduit
app-misc/ca-certificates
"
BDEPEND="
>=virtual/rust-1.70.0
lmdb? ( virtual/pkgconfig )
rocksdb? (
sys-devel/clang
virtual/pkgconfig
)
"
DOCS=( {APPSERVICES,CODE_OF_CONDUCT,DEPLOY,README,TURN}.md )
QA_FLAGS_IGNORED="usr/bin/${PN}"
src_configure() {
tc-export AR CC
# Tracker bug for that Cargo nonsense:
# https://bugs.gentoo.org/709568
export PKG_CONFIG_ALLOW_CROSS=1
export ZSTD_SYS_USE_PKG_CONFIG=1
export SNAPPY_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)"
export JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)/libjemalloc.so"
if use system-rocksdb; then
export ROCKSDB_INCLUDE_DIR="${ESYSROOT}/usr/include"
export ROCKSDB_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)"
fi
local myfeatures=(
conduit_bin
systemd
$(usev jemalloc)
# database backends
backend_persy
backend_sqlite
$(usex lmdb backend_heed '')
$(usex rocksdb backend_rocksdb '')
)
cargo_src_configure --no-default-features
}
src_install() {
cargo_src_install
keepdir /var/lib/matrix-conduit
fowners conduit:conduit /var/lib/matrix-conduit
fperms 700 /var/lib/matrix-conduit
insinto /etc/conduit
newins conduit-example.toml conduit.toml
newinitd "${FILESDIR}"/conduit.initd conduit
newconfd "${FILESDIR}"/conduit.confd conduit
systemd_dounit "${FILESDIR}"/conduit.service
}

View File

@@ -1,24 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>julien@jroy.ca</email>
<name>Julien Roy</name>
</maintainer>
<longdescription>An efficient Matrix homeserver that's easy to set up and just works. You can install
it on a mini-computer like the Raspberry Pi to host Matrix for your family,
friends or company.</longdescription>
<upstream>
<maintainer>
<name>Timo Kösters</name>
<email>timo@koesters.xyz</email>
<maintainer type="person">
<email>julien@jroy.ca</email>
<name>Julien Roy</name>
</maintainer>
<changelog>https://gitlab.com/famedly/conduit/-/releases</changelog>
<doc>https://gitlab.com/famedly/conduit/-/blob/next/DEPLOY.md</doc>
<bugs-to>https://gitlab.com/famedly/conduit/-/issues</bugs-to>
<remote-id type="gitlab">famedly/conduit</remote-id>
<remote-id type="github">ruma/ruma</remote-id>
<remote-id type="github">timokoesters/reqwest</remote-id>
<remote-id type="github">timokoesters/heed</remote-id>
</upstream>
<longdescription>
A fast Matrix homeserver that is optimized for smaller, personal servers,
instead of a server that has high scalability.
</longdescription>
<use>
<flag name="lmdb">Add support for LMDB (Lightning Memory-Mapped Database)</flag>
<flag name="rocksdb">Add support for RocksDB; a key/value, LSM database</flag>
<flag name="system-rocksdb">Use the system-wide <pkg>dev-libs/rocksdb</pkg> installation</flag>
</use>
<upstream>
<maintainer>
<name>Timo Kösters</name>
<email>timo@koesters.xyz</email>
</maintainer>
<bugs-to>https://gitlab.com/famedly/conduit/-/issues</bugs-to>
<remote-id type="gitlab">famedly/conduit</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -3,6 +3,15 @@
# New entries go on top.
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-11-21)
# Build failure.
# https://gitlab.com/famedly/conduit/-/issues/385
net-im/conduit lmdb
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-11-21)
# Bindings are generated for RocksDB 8.1.1, which is not in the tree.
net-im/conduit system-rocksdb
# Leonardo Hernández Hernández <leohdz172@proton.me> (2023-11-01)
# Per the commiter (Benoît Dufour)
# "Disable qrcodegen by default. Only the ones who really want it should enable it."