*/*: Switch m-n packages to cmake.eclass

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2020-01-02 20:04:42 +01:00
parent ab41d97cb6
commit 87dba25ff5
19 changed files with 51 additions and 50 deletions
@@ -3,7 +3,7 @@
EAPI=7
inherit cmake-utils desktop xdg
inherit cmake desktop xdg
DESCRIPTION="SQLite Database Browser"
HOMEPAGE="https://sqlitebrowser.org"
@@ -41,7 +41,7 @@ RDEPEND="${DEPEND}
PATCHES=( "${FILESDIR}"/${PN}-3.11.1-unbundle.patch )
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
rm -r libs || die
sed -i 's#"src/qhexedit.h"#<qhexedit.h>#' src/EditDialog.cpp || die
#find libs/{antlr-2.7.7,qcustomplot-source,qscintilla} -delete || die
@@ -58,10 +58,10 @@ src_configure() {
local mycmakeargs=(
-DENABLE_TESTING=$(usex test)
)
cmake-utils_src_configure
cmake_src_configure
}
src_install() {
cmake-utils_src_install
cmake_src_install
doicon images/sqlitebrowser.svg
}