From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50BA8138334 for ; Wed, 22 Aug 2018 21:06:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46B5BE0905; Wed, 22 Aug 2018 21:06:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0AF2BE0905 for ; Wed, 22 Aug 2018 21:06:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 433F3335CA9 for ; Wed, 22 Aug 2018 21:06:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E62DA3A7 for ; Wed, 22 Aug 2018 21:06:50 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1534971997.e7a6ad87c72f74317c6412384cfccd9dc2c085e4.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/wildmidi/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/wildmidi/Manifest media-sound/wildmidi/wildmidi-0.3.13.ebuild X-VCS-Directories: media-sound/wildmidi/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e7a6ad87c72f74317c6412384cfccd9dc2c085e4 X-VCS-Branch: master Date: Wed, 22 Aug 2018 21:06:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2309c6e3-f5ad-4f4f-8722-ea8f6bb4ea4b X-Archives-Hash: c303fb53895c6c70f02ae8cad9769806 commit: e7a6ad87c72f74317c6412384cfccd9dc2c085e4 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Aug 22 21:05:27 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Aug 22 21:06:37 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7a6ad87 media-sound/wildmidi: 0.3.13 version bump, multiple security fixes CVE-2017-11661, CVE-2017-11662, CVE-2017-11663, CVE-2017-11664 Bug: https://bugs.gentoo.org/627316 Package-Manager: Portage-2.3.48, Repoman-2.3.10 media-sound/wildmidi/Manifest | 1 + media-sound/wildmidi/wildmidi-0.3.13.ebuild | 75 +++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/media-sound/wildmidi/Manifest b/media-sound/wildmidi/Manifest index d9e1bbf6064..25252a2ab96 100644 --- a/media-sound/wildmidi/Manifest +++ b/media-sound/wildmidi/Manifest @@ -1,4 +1,5 @@ DIST wildmidi-0.2.3.5.tar.gz 375792 BLAKE2B d4f14df0e46ce59d18fc2949d5e3789831301fa86b3abe9d0d027e4beb15cfde871561851d49bcfe3784db16d1a4433a8b3a19a05e673215d84255e0caaa51d5 SHA512 20bce7c551239944d2f6cd27a0963628e13624e651aabfae62380fe953ac3fc67eb27551a427c41ef2b057ec00903128d6afeccfc2688aefd46709d1f941befc +DIST wildmidi-0.3.13.tar.gz 132407 BLAKE2B 5f603adb7583d47ca0595a48a385412d09ca8b19e99c93ba474d91076fa17a54e12e08bb39ea73d16c07addeab86e6c9d8b778d19045ef6b7d551d041bbc58fa SHA512 e9ede8a98c97e57a7bd34e63fc725a1b47bbff6b41f5dca101249917f0e7756ce4d93a84b8d5b6f592687fd3deed369c22c727873c9bdd1bea6e8c31fdbb4fdb DIST wildmidi-0.3.6.tar.gz 105534 BLAKE2B 4c2a62ec61333c3d9dc7f26e981389f22c6b2b611a548d6ff3fa9bc450490ece42f5b1c636dc53fc05c51b445a0ce8bc68fdfccdd440aa82bef36001049ce9d5 SHA512 e7efb9e9e67ee518dd0cdabbe8d701ec3c0762ea007e52533b82f4a4984e0600f7ba1cd9f9b79dda9e553fa04ca861b0b8d4b21ceb35ed0c8f5a4fe6de66d1d0 DIST wildmidi-0.3.7.tar.gz 121501 BLAKE2B bae856c00449564f9199f977a4881d51c19769da10bf554a8baf681454a50b67b70feeda19592be91beda65131d4f241e661524f9c65163fb95a8570fee7f779 SHA512 b4d40404891161cb55a71dd790e2dbd2c4ec21730c8aaa6f3a68eeacd36d939f859b55ab535bee2feb9ffed04337332ef1eedcffbff6ae02d7499fec97f7a42b DIST wildmidi-0.3.8.tar.gz 121690 BLAKE2B fd11315e930a30f89ca57af0819116f8385fa1a7ecaedf7df1decc39774fa0a98df6b12e47bc8254a6c856bf41083571effa3aa70a448c1fdbcc0bbc7e848178 SHA512 883c5b2db84bee85f14a98729496aa9e15f5c1414dbaed6108d07e649b34937cbd3e8a8823a2b6519fcc7fdd354219c0667615c7b31e8952e13f8635e5284f50 diff --git a/media-sound/wildmidi/wildmidi-0.3.13.ebuild b/media-sound/wildmidi/wildmidi-0.3.13.ebuild new file mode 100644 index 00000000000..74d51105286 --- /dev/null +++ b/media-sound/wildmidi/wildmidi-0.3.13.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils readme.gentoo-r1 + +DESCRIPTION="Midi processing library and a midi player using the gus patch set" +HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/" +SRC_URI="https://github.com/Mindwerks/${PN}/archive/${P}.tar.gz" + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="+alsa openal oss +player" + +DEPEND=" + player? ( + alsa? ( media-libs/alsa-lib ) + openal? ( media-libs/openal ) + ) +" +RDEPEND="${DEPEND} + media-sound/timidity-freepats +" + +REQUIRED_USE="player? ( ^^ ( alsa oss openal ) )" + +DOC_CONTENTS="${PN} is using timidity-freepats for midi playback. + A default configuration file was placed on /etc/${PN}/${PN}.cfg. + For more information please read the ${PN}.cfg manpage." + +S="${WORKDIR}"/${PN}-${P} + +src_prepare() { + # alsa openal oss only make sense if player is enabled. See CMakeLists.txt + if ! use player && (use alsa || use openal || use oss); then + ewarn "The 'alsa', 'openal' and 'oss' use flags only make sense if" + ewarn "the 'player' use flags is selected and as a result they will be" + ewarn "ignored in this build" + fi + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWANT_ALSA=$(usex alsa) + -DWANT_OPENAL=$(usex openal) + -DWANT_OSS=$(usex oss) + -DWANT_PLAYER=$(usex player) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + find "${D}" -name '*.la' -delete || die + + insinto /etc/${PN}/ + doins cfg/${PN}.cfg + + readme.gentoo_create_doc +} + +pkg_postinst() { + if [[ -e "${ROOT}"/etc/${PN}.cfg ]]; then + elog + elog "Old /etc/${PN}.cfg detected!" + elog "Please migrate your configuration file to" + elog "/etc/${PN}/ directory which is now the default" + elog "location for the ${PN} configuration file." + elog + fi +}