media-libs/portmidi: dropped obsolete 2.0.4-r1

Bug: https://bugs.gentoo.org/963390
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc 2025-09-28 08:09:03 +02:00
parent ad5c5ae4f4
commit c10e9aea99
No known key found for this signature in database
GPG Key ID: 65D0F770B26B469C
2 changed files with 0 additions and 63 deletions

View File

@ -1,2 +1 @@
DIST portmidi-2.0.4.tar.gz 263225 BLAKE2B fd8b002880ccfcff9f233e2fa5021fe4cf9da2f91b3ceaa36fe70f96818e174578f9a14b69bdbb58fab777c9a9e4ff939b86814a403860c7ec264dddc6f26e85 SHA512 d9f22d161e1dd9a4bde1971bb2b6e5352da51545f4fe5ecad11c55e7a535f0d88efce18d1c8fd91e93b70a7926150f86a0f53972ad92370e86556a8dd72dc194
DIST portmidi-2.0.6.tar.gz 193068 BLAKE2B 5ebb3815a0b57711962836e241fe02f657420d7b95f1241f3fb1bfa8ba7897bd28acbb9c05e352a0d42be45ce73ac43d59cfed9da1b392f593ff1a41d5e01367 SHA512 00d7cec97b58c074d484793b6097f4e60d061a9d680940bbcdb6670b287b78dbc099af378fb2e066c61f1c26e5060ded9c8f78c80fc03518b33e43f830e34a27

View File

@ -1,62 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="Library for real time MIDI input and output"
HOMEPAGE="https://github.com/PortMidi/portmidi"
SRC_URI="https://github.com/PortMidi/portmidi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
IUSE="debug test-programs"
# Per pm-test/README:
# "Because device numbers depend on the system, there is no automated
# script to run all tests on PortMidi."
RESTRICT="test"
RDEPEND="
media-libs/alsa-lib
"
DEPEND="
${RDEPEND}
"
BDEPEND="
app-arch/unzip
"
PATCHES=(
"${FILESDIR}"/${PN}-2.0.4-cmake.patch
)
src_configure() {
if use debug ; then
CMAKE_BUILD_TYPE=Debug
else
CMAKE_BUILD_TYPE=Release
fi
# Python bindings dropped b/c of bug #855077
local mycmakeargs=(
-DBUILD_PORTMIDI_TESTS=$(usex test-programs)
)
cmake_src_configure
}
src_install() {
cmake_src_install
dodoc CHANGELOG.txt README.txt pm_linux/README_LINUX.txt
if use test-programs ; then
exeinto /usr/$(get_libdir)/${PN}
local app
for app in latency midiclock midithread midithru mm qtest sysex ; do
doexe "${BUILD_DIR}"/pm_test/${app}
done
fi
}