summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-12-30 19:15:41 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-12-31 15:34:21 +0100
commit8f8c6827621d0aa475f92a2c19b9f530db3db114 (patch)
treecbda2aced505450fa95656af2fe1d3b265688de0 /media-libs/portmidi
parent*/*: Switch sound proj packages to cmake.eclass (diff)
downloadgentoo-8f8c6827621d0aa475f92a2c19b9f530db3db114.tar.gz
gentoo-8f8c6827621d0aa475f92a2c19b9f530db3db114.tar.bz2
gentoo-8f8c6827621d0aa475f92a2c19b9f530db3db114.zip
*/*: Switch proaudio proj packages to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/portmidi')
-rw-r--r--media-libs/portmidi/portmidi-217-r3.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/media-libs/portmidi/portmidi-217-r3.ebuild b/media-libs/portmidi/portmidi-217-r3.ebuild
index f50b4e526ed5..27dd06fd49d7 100644
--- a/media-libs/portmidi/portmidi-217-r3.ebuild
+++ b/media-libs/portmidi/portmidi-217-r3.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_OPTIONAL=1
# ninja: error: build.ninja:521: multiple rules generate pm_java/pmdefaults.jar [-w dupbuild=err]
CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake-utils desktop xdg distutils-r1 java-pkg-opt-2
+inherit cmake desktop xdg distutils-r1 java-pkg-opt-2
DESCRIPTION="Library for real time MIDI input and output"
HOMEPAGE="http://portmedia.sourceforge.net/"
@@ -58,7 +58,7 @@ pkg_setup() {
}
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
# install wrapper for pmdefaults
if use java ; then
@@ -88,11 +88,11 @@ src_configure() {
mycmakeargs+=(-DJAR_INSTALL_DIR="${EPREFIX}/usr/share/${PN}/lib")
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
+ cmake_src_compile
if use python ; then
sed -i -e "/library_dirs=.*linux/s#./linux#${CMAKE_BUILD_DIR}#" pm_python/setup.py || die
@@ -110,7 +110,7 @@ src_compile() {
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
dodoc CHANGELOG.txt README.txt pm_linux/README_LINUX.txt