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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2AB5415808B for ; Sun, 13 Feb 2022 08:43:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A9F2E0874; Sun, 13 Feb 2022 08:43:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47D83E0874 for ; Sun, 13 Feb 2022 08:43:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D309E343391 for ; Sun, 13 Feb 2022 08:43:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33A0F2A0 for ; Sun, 13 Feb 2022 08:42:55 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1644741773.48d3be28ea0f2b4c4b70545e2f3f0cb73e72d681.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/din/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/din/Manifest media-sound/din/din-53.ebuild X-VCS-Directories: media-sound/din/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 48d3be28ea0f2b4c4b70545e2f3f0cb73e72d681 X-VCS-Branch: master Date: Sun, 13 Feb 2022 08:42:55 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6cade90d-92d3-4d13-ae1c-ab8c08c87bbe X-Archives-Hash: 7d7916fc5acb078d1ea4ec4ff3e81fd9 commit: 48d3be28ea0f2b4c4b70545e2f3f0cb73e72d681 Author: Miroslav Šulc gentoo org> AuthorDate: Sun Feb 13 08:42:08 2022 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Sun Feb 13 08:42:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48d3be28 media-sound/din: bump to 53 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/din/Manifest | 1 + media-sound/din/din-53.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/media-sound/din/Manifest b/media-sound/din/Manifest index 8f02c0e2700d..ab97d8999b99 100644 --- a/media-sound/din/Manifest +++ b/media-sound/din/Manifest @@ -1 +1,2 @@ DIST din-52.tar.gz 3706694 BLAKE2B 054d3857bed1b4f4affbeffa0fc5c27ef356f200a60f9d6c5145327311accc5f0b1c8deaf425b745ea4cd2c1accee1195b2e840e9125d105edf67e09062b8574 SHA512 c2ec779746d07ad6579aeebadff45e218fd29715ac446f00840b513d3f9c8d1ef79f556a1f5c7d931adb3451b547f58fb58d6da699170755ae62f25d70b95158 +DIST din-53.tar.gz 3707794 BLAKE2B f1631c4b923a5f737181120c2a20dd4079e31b9fe02552a9895cab0f0913b2e4d8185404611795e9379178755168c1975c7520b0ae549708f4916a67631b922c SHA512 b359eb84085be80c13f5cf2a5af0c15903778fec677f91c9aa9029849df39d4bda95e537d7f85f290a8bb38932ef0da35c240921154788b5e89e347d7ac90a7e diff --git a/media-sound/din/din-53.ebuild b/media-sound/din/din-53.ebuild new file mode 100644 index 000000000000..1ff40dd5f7de --- /dev/null +++ b/media-sound/din/din-53.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools edos2unix xdg + +DESCRIPTION="a software musical instrument and audio synthesizer" +HOMEPAGE="https://dinisnoise.org/" +SRC_URI="https://archive.org/download/dinisnoise_source_code/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alsa jack" + +RDEPEND=" + dev-lang/tcl:0= + media-libs/libsdl:= + virtual/glu + virtual/opengl + alsa? ( media-libs/alsa-lib ) + jack? ( virtual/jack ) +" +DEPEND=" + ${RDEPEND} + dev-libs/boost +" +BDEPEND=" + virtual/pkgconfig +" + +REQUIRED_USE="|| ( alsa jack )" + +PATCHES=( + "${FILESDIR}/${PN}-52-makefile.patch" + "${FILESDIR}/${PN}-48-fix-random-constants.patch" +) + +src_prepare() { + default + + edos2unix pixmaps/${PN}.desktop + + use jack && (sed -i "s/-lasound/-ljack/g" src/Makefile.am || die "Failed to fix jack linking") + + eautoreconf +} + +src_configure() { + # Jack takes over alsa. + local sound_engine + + use jack && sound_engine="UNIX_JACK" || sound_engine="LINUX_ALSA" + + econf CXXFLAGS="${CXXFLAGS} -D__${sound_engine}__" +}