Upstream removed Red_Panda_CPP.pro and builds with CMake only, so inherit cmake and set -DBUILD_TESTING=OFF to keep the previous behaviour of not running upstream tests. Upstream now defines isCompilerUsingUTF8 and isDebuggerUsingUTF8 on non-Windows targets and fixed the other two hunks, so drop redpanda-cpp-3.4-fix-linux-utf8.patch and files/. cmake_src_install runs einstalldocs, which already installs README* and NEWS.md, so drop dodoc. Signed-off-by: Zakk <zakk@gentoozh.org>
33 lines
740 B
Bash
33 lines
740 B
Bash
# Copyright 2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
inherit cmake xdg
|
|
DESCRIPTION="A lightweight yet powerful C/C++/GNU Assembly IDE"
|
|
HOMEPAGE="http://royqh.net/redpandacpp/"
|
|
SRC_URI="https://github.com/royqh1979/RedPanda-CPP/archive/refs/tags/v${PV}.tar.gz -> redpanda-cpp-${PV}.tar.gz"
|
|
S="${WORKDIR}/RedPanda-CPP-${PV}"
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64"
|
|
|
|
DEPEND="
|
|
dev-qt/qtbase:6[gui,network,widgets,xml]
|
|
dev-qt/qtsvg:6
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="
|
|
dev-qt/qttools:6[linguist]
|
|
dev-vcs/git
|
|
"
|
|
|
|
src_configure(){
|
|
local mycmakeargs=( -DBUILD_TESTING=OFF )
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install(){
|
|
cmake_src_install
|
|
rm -r "${ED}/usr/share/doc/RedPandaCPP" || die
|
|
}
|