Skip to content

Commit

Permalink
dev-libs/libcec: cmake-utils -> cmake
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Nov 6, 2020
1 parent d36aa4f commit 55d2858
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions dev-libs/libcec/libcec-4.0.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{3_6,3_7,3_8} )
MY_PV=${PV/_p/-}
MY_P=${PN}-${MY_PV}

inherit cmake-utils linux-info python-single-r1 toolchain-funcs
inherit cmake linux-info python-single-r1 toolchain-funcs

DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor"
HOMEPAGE="http://libcec.pulse-eight.com"
Expand Down Expand Up @@ -43,7 +43,7 @@ pkg_setup() {
}

src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare

# Do not hardcode the python libpath #577612
sed -i \
Expand All @@ -68,7 +68,7 @@ src_configure() {
-DRPI_LIB_DIR=$( $(tc-getPKG_CONFIG) --variable=libdir bcm_host)
)

cmake-utils_src_configure
cmake_src_configure
}

pkg_postinst() {
Expand Down
12 changes: 6 additions & 6 deletions dev-libs/libcec/libcec-4.0.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{3_6,3_7,3_8} )
MY_PV=${PV/_p/-}
MY_P=${PN}-${MY_PV}

inherit cmake-utils linux-info python-single-r1 toolchain-funcs
inherit cmake linux-info python-single-r1 toolchain-funcs

DESCRIPTION="Library for communicating with the Pulse-Eight USB HDMI-CEC Adaptor"
HOMEPAGE="http://libcec.pulse-eight.com"
Expand Down Expand Up @@ -51,7 +51,7 @@ pkg_setup() {
}

src_prepare() {
cmake-utils_src_prepare
cmake_src_prepare

# Do not hardcode the python libpath #577612
sed -i \
Expand Down Expand Up @@ -91,20 +91,20 @@ src_configure() {
-DRPI_LIB_DIR=$( $(tc-getPKG_CONFIG) --variable=libdir bcm_host)
)

cmake-utils_src_configure
cmake_src_configure
}

src_compile() {
cmake-utils_src_compile
cmake_src_compile

if use udev ; then
if use udev; then
cp "${S}/debian/pulse-eight-usb-cec.udev" \
"${BUILD_DIR}/65-pulse-eight-usb-cec.udev" || die
fi
}

src_install() {
cmake-utils_src_install
cmake_src_install

use python && python_optimize "${D}$(python_get_sitedir)"

Expand Down

0 comments on commit 55d2858

Please sign in to comment.