Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/portmidi/
Date: Sun, 14 Oct 2018 15:50:22
Message-Id: 1539532203.c543544e52effacf305b7ae3390f42c5b65965d7.asturm@gentoo
1 commit: c543544e52effacf305b7ae3390f42c5b65965d7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 14 15:30:48 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 14 15:50:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c543544e
7
8 media-libs/portmidi: EAPI-6 bump
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 media-libs/portmidi/portmidi-217-r1.ebuild | 18 +++++++++---------
14 1 file changed, 9 insertions(+), 9 deletions(-)
15
16 diff --git a/media-libs/portmidi/portmidi-217-r1.ebuild b/media-libs/portmidi/portmidi-217-r1.ebuild
17 index 4096932f872..0adb4d32f4b 100644
18 --- a/media-libs/portmidi/portmidi-217-r1.ebuild
19 +++ b/media-libs/portmidi/portmidi-217-r1.ebuild
20 @@ -1,13 +1,13 @@
21 # Copyright 1999-2018 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI="5"
25 +EAPI=6
26
27 PYTHON_COMPAT=( python2_7 )
28 DISTUTILS_OPTIONAL=1
29 -inherit cmake-utils distutils-r1 eutils multilib java-pkg-opt-2
30 +inherit cmake-utils desktop distutils-r1 java-pkg-opt-2
31
32 -DESCRIPTION="A library for real time MIDI input and output"
33 +DESCRIPTION="Library for real time MIDI input and output"
34 HOMEPAGE="http://portmedia.sourceforge.net/"
35 SRC_URI="mirror://sourceforge/portmedia/${PN}-src-${PV}.zip"
36
37 @@ -16,6 +16,8 @@ SLOT="0"
38 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~sparc x86"
39 IUSE="debug doc java python static-libs test-programs"
40
41 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
42 +
43 COMMON_DEPEND="
44 media-libs/alsa-lib
45 python? ( ${PYTHON_DEPS} )"
46 @@ -34,9 +36,7 @@ DEPEND="${COMMON_DEPEND}
47 python? ( >=dev-python/cython-0.12.1[${PYTHON_USEDEP}] )
48 "
49
50 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
51 -
52 -S=${WORKDIR}/${PN}
53 +S="${WORKDIR}/${PN}"
54
55 PATCHES=(
56 # fix parallel make failures, fix java support, and allow optional
57 @@ -73,9 +73,9 @@ src_configure() {
58 fi
59
60 local mycmakeargs=(
61 - $(cmake-utils_use java PORTMIDI_ENABLE_JAVA)
62 - $(cmake-utils_use static-libs PORTMIDI_ENABLE_STATIC)
63 - $(cmake-utils_use test-programs PORTMIDI_ENABLE_TEST)
64 + -DPORTMIDI_ENABLE_JAVA=$(usex java)
65 + -DPORTMIDI_ENABLE_STATIC=$(usex static-libs)
66 + -DPORTMIDI_ENABLE_TEST=$(usex test-programs)
67 )
68
69 if use java ; then