mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
app-admin/ananicy-cpp: drop 1.1.1, 1.1.1-r2
Revert changes from a6b3f15b1a
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage"
|
||||
HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="systemd"
|
||||
|
||||
SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
DEPEND="
|
||||
!app-admin/ananicy
|
||||
>=dev-cpp/nlohmann_json-3.9
|
||||
>=dev-libs/libfmt-8
|
||||
>=dev-libs/spdlog-1.9
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-remove-debug-flags.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_SYSTEMD=$(usex systemd)
|
||||
-DUSE_EXTERNAL_FMTLIB=ON
|
||||
-DUSE_EXTERNAL_JSON=ON
|
||||
-DUSE_EXTERNAL_SPDLOG=ON
|
||||
-DVERSION=${PV}
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if ! use systemd ; then
|
||||
doinitd "${FILESDIR}/${PN}.initd"
|
||||
fi
|
||||
|
||||
keepdir /etc/ananicy.d
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage"
|
||||
HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+regex systemd +threads"
|
||||
|
||||
SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
DEPEND="
|
||||
!app-admin/ananicy
|
||||
>=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
|
||||
-DVERSION=${PV}
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if ! use systemd ; then
|
||||
doinitd "${FILESDIR}/${PN}.initd"
|
||||
fi
|
||||
|
||||
keepdir /etc/ananicy.d
|
||||
}
|
||||
Reference in New Issue
Block a user