From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/portmidi/
Date: Sun, 8 Mar 2020 17:06:17 +0000 (UTC) [thread overview]
Message-ID: <1583687146.91654022cbc3a1f77011706d5c27733074b9405d.fordfrog@gentoo> (raw)
commit: 91654022cbc3a1f77011706d5c27733074b9405d
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 8 17:05:46 2020 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Mar 8 17:05:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91654022
media-libs/portmidi: removed obsolete 217-r2
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-libs/portmidi/portmidi-217-r2.ebuild | 131 -----------------------------
1 file changed, 131 deletions(-)
diff --git a/media-libs/portmidi/portmidi-217-r2.ebuild b/media-libs/portmidi/portmidi-217-r2.ebuild
deleted file mode 100644
index 52f70fb9e5b..00000000000
--- a/media-libs/portmidi/portmidi-217-r2.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-inherit cmake-utils desktop distutils-r1 java-pkg-opt-2
-
-DESCRIPTION="Library for real time MIDI input and output"
-HOMEPAGE="http://portmedia.sourceforge.net/"
-SRC_URI="mirror://sourceforge/portmedia/${PN}-src-${PV}.zip"
-
-LICENSE="MIT"
-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} )"
-RDEPEND="${COMMON_DEPEND}
- java? ( >=virtual/jre-1.6 )"
-DEPEND="${COMMON_DEPEND}
- app-arch/unzip
- doc? (
- app-doc/doxygen
- dev-texlive/texlive-fontsrecommended
- dev-texlive/texlive-latexextra
- virtual/latex-base
- )
- java? ( >=virtual/jdk-1.6 )
- python? ( >=dev-python/cython-0.12.1[${PYTHON_USEDEP}] )
-"
-
-S="${WORKDIR}/${PN}"
-
-PATCHES=(
- # fix parallel make failures, fix java support, and allow optional
- # components like test programs and static libs to be skipped
- "${FILESDIR}"/${P}-cmake.patch
-
- # add include directories and remove references to missing files
- "${FILESDIR}"/${P}-python.patch
-)
-
-pkg_setup() {
- use java && java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- cmake-utils_src_prepare
-
- # install wrapper for pmdefaults
- if use java ; then
- cat > pm_java/pmdefaults/pmdefaults <<-EOF
- #!/bin/sh
- java -Djava.library.path="${EPREFIX}/usr/$(get_libdir)/" \\
- -jar "${EPREFIX}/usr/share/${PN}/lib/pmdefaults.jar"
- EOF
- [[ $? -ne 0 ]] && die "cat pmdefaults failed"
- fi
-}
-
-src_configure() {
- if use debug ; then
- CMAKE_BUILD_TYPE=Debug
- else
- CMAKE_BUILD_TYPE=Release
- fi
-
- local mycmakeargs=(
- -DPORTMIDI_ENABLE_JAVA=$(usex java)
- -DPORTMIDI_ENABLE_STATIC=$(usex static-libs)
- -DPORTMIDI_ENABLE_TEST=$(usex test-programs)
- )
-
- if use java ; then
- mycmakeargs+=(-DJAR_INSTALL_DIR="${EPREFIX}/usr/share/${PN}/lib")
- fi
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-
- if use python ; then
- sed -i -e "/library_dirs=.*linux/s#./linux#${CMAKE_BUILD_DIR}#" pm_python/setup.py || die
- pushd pm_python > /dev/null
- distutils-r1_src_compile
- popd > /dev/null
- fi
-
- if use doc ; then
- doxygen || die "doxygen failed"
- pushd latex > /dev/null
- VARTEXFONTS="${T}"/fonts emake
- popd > /dev/null
- fi
-}
-
-src_install() {
- cmake-utils_src_install
-
- dodoc CHANGELOG.txt README.txt pm_linux/README_LINUX.txt
-
- use doc && dodoc latex/refman.pdf
-
- if use python ; then
- pushd pm_python > /dev/null
- distutils-r1_src_install
- popd > /dev/null
- fi
-
- if use java ; then
- newdoc pm_java/README.txt README_JAVA.txt
- newicon pm_java/pmdefaults/pmdefaults-icon.png pmdefaults.png
- make_desktop_entry pmdefaults Pmdefaults pmdefaults "AudioVideo;Audio;Midi;"
- fi
-
- if use test-programs ; then
- exeinto /usr/$(get_libdir)/${PN}
- local app
- for app in latency midiclock midithread midithru mm qtest sysex test ; do
- doexe "${CMAKE_BUILD_DIR}"/${app}
- done
- fi
-}
next reply other threads:[~2020-03-08 17:06 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-08 17:06 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-29 20:37 [gentoo-commits] repo/gentoo:master commit in: media-libs/portmidi/ Sam James
2023-05-29 12:57 Sam James
2023-05-29 11:05 Arthur Zamarin
2023-05-29 11:05 Arthur Zamarin
2023-05-29 11:05 Arthur Zamarin
2023-05-29 11:05 Arthur Zamarin
2023-05-29 11:05 Arthur Zamarin
2023-04-29 6:44 Sam James
2023-04-29 5:46 Sam James
2022-07-03 8:51 Agostino Sarubbo
2022-07-03 8:49 Agostino Sarubbo
2022-07-02 19:25 Sam James
2022-07-02 18:20 Sam James
2022-07-02 18:18 Sam James
2022-07-02 16:24 Jakov Smolić
2022-07-02 16:24 Jakov Smolić
2022-07-02 13:01 Sam James
2022-07-02 13:00 Sam James
2022-06-29 18:10 Miroslav Šulc
2022-06-29 7:52 Agostino Sarubbo
2022-06-29 0:11 Sam James
2022-06-28 19:34 Arthur Zamarin
2022-06-28 19:10 Arthur Zamarin
2022-06-28 16:26 Arthur Zamarin
2022-06-28 16:24 Arthur Zamarin
2022-06-28 16:23 Arthur Zamarin
2022-06-26 8:04 Miroslav Šulc
2022-02-01 18:51 Michał Górny
2021-09-22 14:30 Yixun Lan
2021-05-26 8:04 Sam James
2021-05-25 16:55 Sam James
2021-05-25 11:06 Sam James
2021-05-24 2:42 Sam James
2021-05-23 23:05 Agostino Sarubbo
2021-05-23 22:28 Agostino Sarubbo
2020-09-09 21:59 Sergei Trofimovich
2020-08-08 8:49 Sergei Trofimovich
2020-08-01 19:06 Sergei Trofimovich
2020-07-26 0:46 Sam James
2020-07-10 0:15 Sam James
2020-04-23 21:24 James Le Cuirot
2020-03-08 10:46 Agostino Sarubbo
2020-03-08 10:42 Agostino Sarubbo
2020-03-08 10:37 Agostino Sarubbo
2020-03-04 5:01 Michał Górny
2019-12-20 9:58 Miroslav Šulc
2019-12-19 20:02 Miroslav Šulc
2019-11-04 14:32 Mikle Kolyada
2018-10-14 15:50 Andreas Sturmlechner
2018-10-14 15:50 Andreas Sturmlechner
2018-06-27 21:54 Sergei Trofimovich
2017-12-06 22:44 Sergei Trofimovich
2017-11-23 22:31 Matt Turner
2017-11-19 9:12 David Seifert
2017-08-12 9:06 Sergei Trofimovich
2017-07-02 15:07 Sergei Trofimovich
2017-06-15 14:23 Anthony G. Basile
2017-05-04 20:17 Markus Meier
2017-04-30 8:31 Jeroen Roovers
2017-04-23 11:29 David Seifert
2016-12-20 15:34 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1583687146.91654022cbc3a1f77011706d5c27733074b9405d.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox