mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
*/*: Switch m-n packages to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user