app-admin/ananicy-cpp: Revbump and remove unused cmake variables

Signed-off-by: Alberto Gireud <agireud@protonmail.com>
This commit is contained in:
Alberto Gireud
2024-03-05 02:17:15 -06:00
parent 46bb0662cc
commit 1030d37141
2 changed files with 1 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+regex systemd +threads"
IUSE="systemd"
SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
S="${WORKDIR}/${PN}-v${PV}"
@@ -20,16 +20,13 @@ DEPEND="
>=dev-cpp/nlohmann_json-3.9
>=dev-libs/libfmt-8
>=dev-libs/spdlog-1.9
regex? ( >=dev-libs/libpcre2-8 )
systemd? ( sys-apps/systemd )
"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DENABLE_REGEX_SUPPORT=$(usex regex)
-DENABLE_SYSTEMD=$(usex systemd)
-DENABLE_THREADS=$(usex threads)
-DUSE_EXTERNAL_FMTLIB=ON
-DUSE_EXTERNAL_JSON=ON
-DUSE_EXTERNAL_SPDLOG=ON

View File

@@ -10,8 +10,4 @@
<remote-id type="gitlab">ananicy-cpp/ananicy-cpp</remote-id>
<remote-id type="github">kuche1/minq-ananicy</remote-id>
</upstream>
<use>
<flag name="regex">Enable regex support.</flag>
<flag name="threads">Enable threading support.</flag>
</use>
</pkgmetadata>