diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-14 17:30:48 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-10-14 17:50:03 +0200 |
commit | c543544e52effacf305b7ae3390f42c5b65965d7 (patch) | |
tree | 13558b51e0c71b4514ab4662fa4d87a69abe45c4 | |
parent | media-libs/portmidi: Sort DEPENDs, CDEPEND -> COMMON_DEPEND (diff) | |
download | gentoo-c543544e52effacf305b7ae3390f42c5b65965d7.tar.gz gentoo-c543544e52effacf305b7ae3390f42c5b65965d7.tar.bz2 gentoo-c543544e52effacf305b7ae3390f42c5b65965d7.zip |
media-libs/portmidi: EAPI-6 bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r-- | media-libs/portmidi/portmidi-217-r1.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/media-libs/portmidi/portmidi-217-r1.ebuild b/media-libs/portmidi/portmidi-217-r1.ebuild index 4096932f872b..0adb4d32f4bc 100644 --- a/media-libs/portmidi/portmidi-217-r1.ebuild +++ b/media-libs/portmidi/portmidi-217-r1.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=6 PYTHON_COMPAT=( python2_7 ) DISTUTILS_OPTIONAL=1 -inherit cmake-utils distutils-r1 eutils multilib java-pkg-opt-2 +inherit cmake-utils desktop distutils-r1 java-pkg-opt-2 -DESCRIPTION="A library for real time MIDI input and output" +DESCRIPTION="Library for real time MIDI input and output" HOMEPAGE="http://portmedia.sourceforge.net/" SRC_URI="mirror://sourceforge/portmedia/${PN}-src-${PV}.zip" @@ -16,6 +16,8 @@ SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~sparc x86" IUSE="debug doc java python static-libs test-programs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + COMMON_DEPEND=" media-libs/alsa-lib python? ( ${PYTHON_DEPS} )" @@ -34,9 +36,7 @@ DEPEND="${COMMON_DEPEND} python? ( >=dev-python/cython-0.12.1[${PYTHON_USEDEP}] ) " -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -S=${WORKDIR}/${PN} +S="${WORKDIR}/${PN}" PATCHES=( # fix parallel make failures, fix java support, and allow optional @@ -73,9 +73,9 @@ src_configure() { fi local mycmakeargs=( - $(cmake-utils_use java PORTMIDI_ENABLE_JAVA) - $(cmake-utils_use static-libs PORTMIDI_ENABLE_STATIC) - $(cmake-utils_use test-programs PORTMIDI_ENABLE_TEST) + -DPORTMIDI_ENABLE_JAVA=$(usex java) + -DPORTMIDI_ENABLE_STATIC=$(usex static-libs) + -DPORTMIDI_ENABLE_TEST=$(usex test-programs) ) if use java ; then |