mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-libs/libcharon: treeclean
Closes: https://bugs.gentoo.org/896710 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST libcharon-4.13.0.tar.gz 151775 BLAKE2B f8a8b59b361ffc9b54e0047e0cc3824e2a92cf341aa9664712d020e07e5f2facda6f2d1827998c4af0958a3b05070738a20d93d7723a2f3708e601b70474653c SHA512 cd6e4cd696bcbebe5aa6a53f5222fbb8f982ff21d165adcd8854769b19df2d15ea6287100ba09ddd85ac80d3f86dbfae9ac050ee50f082223bf0acb542413d8c
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
inherit cmake python-single-r1
|
||||
|
||||
MY_PN="libCharon"
|
||||
|
||||
DESCRIPTION="This library facilitates communication between Cura and its backend"
|
||||
HOMEPAGE="https://github.com/Ultimaker/libCharon"
|
||||
SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~x86"
|
||||
|
||||
IUSE="+client +dbus test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dbus? (
|
||||
acct-group/ultimaker
|
||||
acct-user/ultimaker
|
||||
sys-apps/dbus
|
||||
)"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
test? (
|
||||
$(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
# use current python version, not the latest installed
|
||||
# fix python install location
|
||||
sed -i \
|
||||
-e "s:find_package(Python3 3.4 REQUIRED:find_package(Python3 ${EPYTHON##python} EXACT REQUIRED:g" \
|
||||
-e "s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}\.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g" \
|
||||
CMakeLists.txt || die
|
||||
|
||||
sed -i -e "s:/usr/lib/python3/dist-packages/Charon/Service/main.py:$(python_get_sitedir)/Charon/Service/main.py:g" service/charon.service || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DINSTALL_CLIENT=$(usex client ON OFF)
|
||||
-DINSTALL_SERVICE=$(usex dbus ON OFF)
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use dbus ; then
|
||||
elog "To start the Charon File Metadata service at boot, add it to the default runlevel with:"
|
||||
elog " systemctl enable charon"
|
||||
fi
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>3dprint@gentoo.org</email>
|
||||
<name>Gentoo 3D Printer Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>mathy@vanvoorden.be</email>
|
||||
<name>Mathy Vanvoorden</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Library to read and write several 3D-printing related file formats including G-Code and Ultimaker File Package (UFP).
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="client">Install the charon client library</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/Ultimaker/libCharon/issues</bugs-to>
|
||||
<remote-id type="github">Ultimaker/libCharon</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -487,7 +487,6 @@ acct-group/ultimaker
|
||||
acct-user/ultimaker
|
||||
dev-libs/libarcus
|
||||
dev-libs/clipper
|
||||
dev-libs/libcharon
|
||||
|
||||
# Sam James <sam@gentoo.org> (2023-05-03)
|
||||
# Broken pkgconfig file, please upgrade to -r1.
|
||||
|
||||
Reference in New Issue
Block a user