app-cdr/gcdemu: Port to cmake.eclass

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-06-08 10:31:35 +02:00
parent 0577e8dd41
commit c0806e2aaf

View File

@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit cmake-utils gnome2-utils python-single-r1 xdg-utils
inherit cmake gnome2-utils python-single-r1 xdg-utils
DESCRIPTION="Gtk+ GUI for controlling cdemu-daemon"
HOMEPAGE="https://cdemu.sourceforge.io"
@@ -36,13 +36,13 @@ BDEPEND="${PYTHON_DEPS}
DOCS=( AUTHORS README )
src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare
python_fix_shebang src/gcdemu
}
src_configure() {
local mycmakeargs=( -DPOST_INSTALL_HOOKS=OFF )
cmake-utils_src_configure
cmake_src_configure
}
pkg_postinst() {