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 D5E2015808B for ; Sun, 29 Sep 2024 18:00:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FA39E2A3E; Sun, 29 Sep 2024 18:00:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 184EAE2A3E for ; Sun, 29 Sep 2024 18:00:34 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5988C343025 for ; Sun, 29 Sep 2024 18:00:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 56B8E27F2 for ; Sun, 29 Sep 2024 18:00:30 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1727524891.f2db4c29874fb3f52889643972d6fc12e40cfe42.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/fooyin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/fooyin/Manifest media-sound/fooyin/fooyin-0.7.3.ebuild X-VCS-Directories: media-sound/fooyin/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: f2db4c29874fb3f52889643972d6fc12e40cfe42 X-VCS-Branch: master Date: Sun, 29 Sep 2024 18:00:30 +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: 3780f4e0-e18f-4361-b138-af64dc6a23ba X-Archives-Hash: 0a482c1341b95ff117802f082b9d450a commit: f2db4c29874fb3f52889643972d6fc12e40cfe42 Author: Sebastian Engel gmx de> AuthorDate: Sat Sep 28 12:01:31 2024 +0000 Commit: David Roman gmail com> CommitDate: Sat Sep 28 12:01:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f2db4c29 media-sound/fooyin: add 0.7.3 Signed-off-by: Sebastian Engel gmx.de> media-sound/fooyin/Manifest | 1 + media-sound/fooyin/fooyin-0.7.3.ebuild | 89 ++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/media-sound/fooyin/Manifest b/media-sound/fooyin/Manifest index 648657161..b40e46ee7 100644 --- a/media-sound/fooyin/Manifest +++ b/media-sound/fooyin/Manifest @@ -1,3 +1,4 @@ DIST fooyin-0.7.0.tar.gz 1575492 BLAKE2B 0c06fb301b43de3f718efba479159cb5be7182a1a60371a04da27ebd302fb500816b10b841184290a428e08f46034cb4fe71185dbabb408637080eb2fb99ebf9 SHA512 70220d0503e473b347633d1d602d95fed4b78f4f2b7caa3b4a75854e622182eecd622b9f92434030097f5ab0926f305a948d16c0f776536b4ab562f94fe5bd76 DIST fooyin-0.7.1.tar.gz 1584531 BLAKE2B e6ef313e45a5834eb4a0f331f45d803ae09a723acac08fc52bb77996c32fba38c4f7a49c8c3f6e96ecdcc30523a45d184217c59f4d1d7e8221fcd92f492c7c29 SHA512 0925f4f8db43446bdd62e2ad2df34f6e60dab5d27dd0423fd9d4ff6b50556bcebb658140303ae0697dbff97762e48a21ed2d5918f23782bd098161aefaddb248 DIST fooyin-0.7.2.tar.gz 1592767 BLAKE2B 548200ebf635f69c085cb6c1bb87dece374ce68173386f2fbfc0abe6b3594dfde35fc01beb542e6a90146a5e27c9e0ac58e319eb5a7a9d184d3a87f9ee185ecf SHA512 aed08bca5f8e56843fa844f874efa6d59d4213b7f3c2852a620518097c19fa5a68205d7234a3563e32fa383456648e4fb0719a2973b4ec9a55d4e14af56314eb +DIST fooyin-0.7.3.tar.gz 1602824 BLAKE2B d4b120ef3cf39e8598cb5b5e5c3bf17223e60f2fb7507fcfa8d4946f596e2e55c1e293835d29727ba7e4b3749982ffd4192d21e8583b34df124af5aa635cc2b4 SHA512 09edba0e9874ba204b6167222003d907c091df277b628cac3492f9647c3484afc3a61a3ac1bb3cf6d4f7b210e48541d8f5c865fde66039d098c4e90280e57f07 diff --git a/media-sound/fooyin/fooyin-0.7.3.ebuild b/media-sound/fooyin/fooyin-0.7.3.ebuild new file mode 100644 index 000000000..fb1680cf6 --- /dev/null +++ b/media-sound/fooyin/fooyin-0.7.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="A customizable music player, Qt clone of foobar2000" +HOMEPAGE="https://www.fooyin.org/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/fooyin/fooyin.git" +else + SRC_URI=" + https://github.com/fooyin/fooyin/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz + " + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" + +IUSE="alsa +archive openmpt pipewire sdl test" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + || ( alsa pipewire sdl ) +" + +RDEPEND=" + dev-libs/icu:= + dev-libs/kdsingleapplication + dev-qt/qtbase:6[concurrent,dbus,gui,network,sql,widgets] + dev-qt/qtsvg:6 + media-libs/taglib + media-video/ffmpeg:= + alsa? ( media-libs/alsa-lib ) + archive? ( app-arch/libarchive:= ) + openmpt? ( media-libs/libopenmpt ) + pipewire? ( media-video/pipewire:= ) + sdl? ( media-libs/libsdl2 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( dev-cpp/gtest ) +" + +src_prepare() { + sed -i CMakeLists.txt \ + -e "s|/doc/${PN}|/doc/${PF}|g" \ + -e '/option(BUILD_TESTING/aenable_testing()' \ + || die + + sed \ + -e "s#:/audio#data/audio#g" \ + -i \ + tests/tagwritertest.cpp \ + tests/tagreadertest.cpp \ + || die + + cmake_src_prepare +} + +# libvgm, sndfile and libgme dependencies can currently not be satisfied, +# so building their input plugins is unconditionally disabled for now. +src_configure() { + local mycmakeargs=( + -DBUILD_ALSA=$(usex alsa) + -DBUILD_TESTING=$(usex test) + -DBUILD_CCACHE=OFF + -DBUILD_LIBVGM=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_LIBGME=ON + -DCMAKE_DISABLE_FIND_PACKAGE_SndFile=ON + -DINSTALL_HEADERS=ON + $(cmake_use_find_package archive LibArchive) + $(cmake_use_find_package openmpt OpenMpt) + $(cmake_use_find_package pipewire PipeWire) + $(cmake_use_find_package sdl SDL2) + ) + + cmake_src_configure +} + +src_test() { + ln -sr "${CMAKE_USE_DIR}/tests/data/audio" "${BUILD_DIR}/tests/data/audio" || die + + cmake_src_test +}