commit:     a555daf01f98455306328acc5f908e3dac4c77ef
Author:     Brayan M. Salazar <this.brayan <AT> proton <DOT> me>
AuthorDate: Wed May 21 19:55:20 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Wed May 21 19:55:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a555daf0

media-sound/qbitmplayer: add 2.9.0

Signed-off-by: Brayan M. Salazar <this.brayan <AT> proton.me>

 media-sound/qbitmplayer/Manifest                 |  1 +
 media-sound/qbitmplayer/qbitmplayer-2.9.0.ebuild | 53 ++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/media-sound/qbitmplayer/Manifest b/media-sound/qbitmplayer/Manifest
index fc2d51e49..38912eec6 100644
--- a/media-sound/qbitmplayer/Manifest
+++ b/media-sound/qbitmplayer/Manifest
@@ -1,2 +1,3 @@
 DIST QBitMPlayer-2.7.0.tar.gz 28591 BLAKE2B 
e7e3b8244502b81f70250dea75f004c7ae2bae5e2b272b99ed3081a8945e72d405a66f968f8e7f16305556b115c8f534b59dddc6a2e71f0f4e549b586994fff9
 SHA512 
5264f5ac9f1f289c80a49479786dae96f740f802bc50b0b821dee6bf3ddcc10e4ba9780e8d09a36269c13d341867832c19166d5ce53292f5c87190bd69855605
 DIST QBitMPlayer-2.8.0.tar.gz 30101 BLAKE2B 
a6ac09bb87ca6e3671eb740f286206aa5c0c2770e281b0ed660ae1baea6d05aba83e6c8012d3e6485f8bb9b7f1c53cc0f62d311f80ca0c31228e560e3c4c084e
 SHA512 
61d426a59835aa39f79fd6c81709c37e14a02a77761d6285d1609fbdef549775cd01420d2efec2084101e38cf89a86ac9a4c73b4dfa92f75373edec73edad8ea
+DIST QBitMPlayer-2.9.0.tar.gz 32527 BLAKE2B 
0d57d08bb9ec5540aadda6a8458dbbbea17b0a1895b4ef0bacad433e0bf92e175f01b4983f55ed2a18aff7c49c2d2a2b652baa047b1e1c9e9ffd030d2c81e576
 SHA512 
70e36c3392b8d2fca73f8f9806a56004c41d12cd62a1d67b09e4d6e995a9c43d03ae9e9ef8da70dbab87fa582364c24e1504d3e61ded3a297c2fe2b386a782e4

diff --git a/media-sound/qbitmplayer/qbitmplayer-2.9.0.ebuild 
b/media-sound/qbitmplayer/qbitmplayer-2.9.0.ebuild
new file mode 100644
index 000000000..bab70d161
--- /dev/null
+++ b/media-sound/qbitmplayer/qbitmplayer-2.9.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2024-2025 Brayan M. Salazar <[email protected]>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="Music Player written in C++ & Qt."
+HOMEPAGE="https://github.com/brookiestein/QBitMPlayer";
+SRC_URI="https://github.com/brookiestein/QBitMPlayer/archive/refs/tags/${PV}.tar.gz
 -> QBitMPlayer-${PV}.tar.gz"
+S="${WORKDIR}/QBitMPlayer-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="dbus +libnotify"
+
+DEPEND="
+       dev-qt/qtmultimedia:6
+       dev-qt/qtbase:6[widgets]
+       dbus? ( dev-qt/qtbase:6[dbus] )
+       libnotify? ( x11-libs/libnotify )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       >=dev-build/cmake-3.28
+       dev-qt/qttools:6[linguist]
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       cmake_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DQT_VERSION_MAJOR=6
+       )
+
+       if use dbus; then
+               mycmakeargs+=(
+                       -DUSE_IPC=1
+               )
+       fi
+
+       if use libnotify; then
+               mycmakeargs+=(
+                       -DUSE_NOTIFICATIONS=1
+               )
+       fi
+
+       cmake_src_configure
+}

Reply via email to