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 2C83615808B for ; Wed, 2 Oct 2024 17:54:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 158C2E29B4; Wed, 2 Oct 2024 17:54:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EEAD1E29B4 for ; Wed, 2 Oct 2024 17:54:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9B63343083 for ; Wed, 2 Oct 2024 17:54:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 106BFF32 for ; Wed, 2 Oct 2024 17:54:28 +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: <1727891654.d13d370fd7d60b23ca3f20a1bdc4b91e1bd5a11f.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/drumstick/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/drumstick/Manifest media-sound/drumstick/drumstick-2.9.1.ebuild X-VCS-Directories: media-sound/drumstick/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d13d370fd7d60b23ca3f20a1bdc4b91e1bd5a11f X-VCS-Branch: master Date: Wed, 2 Oct 2024 17:54:28 +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: 727c2ecb-65fa-4a97-86f6-a1a2b4305bfd X-Archives-Hash: 28c1e0edc3b444c9e5fa63a3c88ffef3 commit: d13d370fd7d60b23ca3f20a1bdc4b91e1bd5a11f Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Oct 2 17:48:56 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Oct 2 17:54:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d13d370f media-sound/drumstick: add 2.9.1 w/o Sonivox RT backend support Also unconditionally enable QtNetwork (previously IUSE network) to always satisfy BUILD_RT conditions, since it is cheap. Drop IUSE pulseaudio as it depends on Sonivox. Disable "preliminary" pipewire support which is only used in fluidsynth yet. Add IUSE alsa. Renable tests. Bug: https://bugs.gentoo.org/865259 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/drumstick/Manifest | 1 + media-sound/drumstick/drumstick-2.9.1.ebuild | 67 ++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest index f5a620127206..0884bd7c104b 100644 --- a/media-sound/drumstick/Manifest +++ b/media-sound/drumstick/Manifest @@ -1 +1,2 @@ DIST drumstick-2.6.1.tar.gz 1922869 BLAKE2B 5f1b9413c60d80ecb87f28f9a9eccd5cc418444664bdbd0fe9d47f698effc12956a3ddd2f45ae9e734486e94006883ed7264f8421a5989ce0b025ad85239e10b SHA512 ab858ee17aa957fe1c68935e2419798c50d4253b14dd0f31cafb46e087869986702c8a0d3ac1333d67b17618e7d5d75894aeb0e0f5bffb77762d0a56c242a811 +DIST drumstick-2.9.1.tar.gz 571028 BLAKE2B 6ec7459f77763fae354e4c64f4b2b208d28fb8e24bfe939b46456e20bf01ad1b6a7e57e7d8e847b6f594b7431792128cffde517b5d8714e951ec232bc07ef50f SHA512 72ab6062e94aa4e995e9f9c563dfb2cb7dd5fe47bb129ca9f58b8877e980e81611cb59c9964fe72847fccec4f7de3f4b884eaa8dc7b5384ce0cada2e721bebc3 diff --git a/media-sound/drumstick/drumstick-2.9.1.ebuild b/media-sound/drumstick/drumstick-2.9.1.ebuild new file mode 100644 index 000000000000..255774dc750b --- /dev/null +++ b/media-sound/drumstick/drumstick-2.9.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +QTMIN=6.7.2 +inherit cmake xdg + +DESCRIPTION="Qt/C++ wrapper for ALSA sequencer" +HOMEPAGE="https://drumstick.sourceforge.io/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa doc fluidsynth test" + +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-libs/libxslt + >=dev-qt/qttools-${QTMIN}:6[linguist] + virtual/pkgconfig + x11-misc/shared-mime-info + doc? ( + app-text/doxygen[dot] + app-text/docbook-xsl-stylesheets + ) +" +DEPEND=" + >=dev-qt/qt5compat-${QTMIN}:6 + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets] + >=dev-qt/qtsvg-${QTMIN}:6 + >=dev-qt/qttools-${QTMIN}:6[designer] + alsa? ( media-libs/alsa-lib ) + fluidsynth? ( media-sound/fluidsynth:= ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog NEWS readme.md TODO ) + +src_configure() { + local mycmakeargs=( + -DBUILD_RT=ON + -DUSE_NETWORK=ON # just to satisfy BUILD_RT w/o REQUIRED_USE + -DUSE_PIPEWIRE=OFF # only affects fluidsynth RT backend + -DUSE_DBUS=ON + -DUSE_QT5=OFF # bug 919682 + -DUSE_SONIVOX=OFF # not packaged, bug #865259 + -DUSE_PULSEAUDIO=OFF # requires Sonivox + -DBUILD_ALSA=$(usex alsa) + -DBUILD_DOCS=$(usex doc) + -DUSE_FLUIDSYNTH=$(usex fluidsynth) + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use doc && cmake_src_compile doxygen +} + +src_install() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) + cmake_src_install +}