summaryrefslogtreecommitdiff
path: root/media-sound/quimup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-28 06:30:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-28 06:30:54 +0000
commit72fd2b48b7154274a1d2009cdaab54e7f49fb3aa (patch)
tree9c6ce981e8f924eb5f24e71e13c91b37aafb8616 /media-sound/quimup
parent721e451ec418e1712f6962404e111f0ebd487389 (diff)
gentoo auto-resync : 28:12:2024 - 06:30:54
Diffstat (limited to 'media-sound/quimup')
-rw-r--r--media-sound/quimup/Manifest4
-rw-r--r--media-sound/quimup/files/quimup-1.4.4-fix-build-taglib2.patch50
-rw-r--r--media-sound/quimup/quimup-1.4.4-r1.ebuild42
-rw-r--r--media-sound/quimup/quimup-2.1.0.ebuild39
4 files changed, 135 insertions, 0 deletions
diff --git a/media-sound/quimup/Manifest b/media-sound/quimup/Manifest
index 604395fd6b6a..038da8e1c276 100644
--- a/media-sound/quimup/Manifest
+++ b/media-sound/quimup/Manifest
@@ -1,3 +1,7 @@
+AUX quimup-1.4.4-fix-build-taglib2.patch 2400 BLAKE2B cf8714c2a7b810ff83cfcc00d60f7bb96bbc2a6d84d928b9b1f83dd0077189e9be63bdbf6e66d1d239e6de445c5b37257164dca51cddadf19b9297ff7b6102a7 SHA512 78deda1fb599cd94227fcef12b673b76103aa9ff29e3515c09d4b12cd2282007ba114f7ef1a537fddeb3c0d8f6d934041a23da4a2ae1fcec85d0a2daf2b879a1
+DIST Quimup-2.1.0.source.tar.gz 697565 BLAKE2B 78b950d0134041becac0d2eb6786db90797127882279bd078da332df5cc3d1bfea8da256cfc49f6a83eefb8b25a3beb60af0d7bf3e1e8394b46956ba72fd6dc8 SHA512 c7d86deaa6483ea9467e2bc8dd7e413f67ebf271713cab939cda8c9689a52651b45724d99cdec7d72350273fb59e2542acf82ebc9da1cea8e0210f575351e686
DIST Quimup_1.4.4_source.tar.gz 240902 BLAKE2B a411653b1c5ced5dc7f4b9ebe6244380d23cd165eaf2b14760a3f87946094f7ffad3df73afe500c0f8ea8f6d77e690391e78a0403b9436485b4c670de3c3b0da SHA512 4fac921df6e7157952536e1cdda0e468b72f70f8f938ccfd5d1a7d286f4b7d7ac063ca2c6111f38fb76b2a6235a323858f2f898165c80702b2c0aaeaff8869c9
+EBUILD quimup-1.4.4-r1.ebuild 835 BLAKE2B 14d8180ea1c3e8d3669594a6d1a2f51e7527eb3ba44bf9c712d6789beb4b8004630914302511ea83b54942f68ce2c3b17ff5d369ba6d4bbcc05b2da96288a433 SHA512 9e8fbfbdb794f4548fe52f4759c37e4b7d76ed2196a64188a9984cf4a30e1f6181c40f37f95a4ab8132e97b12452fa0b1f03bde74931d5b93cc4270a618de820
EBUILD quimup-1.4.4.ebuild 781 BLAKE2B c20730b29e50e101ac3be6fb2f6c4c0d2dad2f01e058059b6ce76030a2d13298644e829e05fbcdffc6df76c50af65abed00ea991e9adf4b51bd9d865b269a095 SHA512 3e7f3c24ae8a74ea56f755b5328b1f739e9164d5a041963bf7458aa112ce62d1770a843bbd71b13b3b7e2ba571cb6fe38b3866dc9f04dd6cdd5143ace81db56c
+EBUILD quimup-2.1.0.ebuild 774 BLAKE2B 47ae5ef84e17adfe0fa011c441547d375a62e7954248202f0b0958dc52102c12639845219a6fedf7caa45f2118947864541c8c2024abe933d26d002ce6537655 SHA512 8ceb664eb536aa98d9014eeb7fea3254c388938088e8f66a5c247cc1d7092d61fe9f4117de82e7ebbdf2db9ed52a5831f9ab080332cfe0dc9dd5dee0214c7ec8
MISC metadata.xml 340 BLAKE2B 4dde137fc76457df7ae4756ce9e67c9bc6828fe5dfc77fa4f61e1ecb04805204cc227c4cff7b76f54541f73c46e05db111c3b2882df5e40512118092df182d1f SHA512 23e3cb8ae1ebe521e59122bc3c210483d0cef828d79187820c0c247386f5ff8e65dc2b41fd9d2b664efd21fb9ddcc2ef89f4f54696004d5d9319f9c8df7caff9
diff --git a/media-sound/quimup/files/quimup-1.4.4-fix-build-taglib2.patch b/media-sound/quimup/files/quimup-1.4.4-fix-build-taglib2.patch
new file mode 100644
index 000000000000..e3c56b090021
--- /dev/null
+++ b/media-sound/quimup/files/quimup-1.4.4-fix-build-taglib2.patch
@@ -0,0 +1,50 @@
+no upstream PR. It doesn't use anymore taglib for his 2.X
+--- a/src/qm_player.cpp
++++ b/src/qm_player.cpp
+@@ -2021,7 +2021,7 @@
+ {
+ const TagLib::ByteVector nullStringTerminator(1, 0);
+
+- TagLib::ByteVector item = listMap["COVER ART (FRONT)"].value();
++ TagLib::ByteVector item = listMap["COVER ART (FRONT)"].binaryData();
+ int pos = item.find(nullStringTerminator); // Skip the filename
+
+ if (++pos > 0)
+@@ -2166,8 +2166,8 @@
+ if (mp4file.tag()) // has MP4 tag
+ {
+ TagLib::MP4::Tag *tag = static_cast<TagLib::MP4::Tag *>(mp4file.tag());
+- TagLib::MP4::ItemListMap itemsListMap = tag->itemListMap();
+- if (tag->itemListMap().contains("covr"))
++ TagLib::MP4::ItemMap itemsListMap = tag->itemMap();
++ if (tag->itemMap().contains("covr"))
+ {
+ TagLib::MP4::Item coverItem = itemsListMap["covr"];
+ TagLib::MP4::CoverArtList coverArtList = coverItem.toCoverArtList();
+@@ -2197,7 +2197,7 @@
+ {
+ const TagLib::ByteVector nullStringTerminator(1, 0);
+
+- TagLib::ByteVector item = listMap["COVER ART (FRONT)"].value();
++ TagLib::ByteVector item = listMap["COVER ART (FRONT)"].binaryData();
+ int pos = item.find(nullStringTerminator); // Skip the filename
+
+ if (++pos > 0)
+@@ -2230,7 +2230,7 @@
+ printf ("APE tag COVER ART found\n");
+ const TagLib::ByteVector nullStringTerminator(1, 0);
+
+- TagLib::ByteVector item = listMap["COVER ART (FRONT)"].value();
++ TagLib::ByteVector item = listMap["COVER ART (FRONT)"].binaryData();
+ int pos = item.find(nullStringTerminator); // Skip the filename
+
+ if (++pos > 0)
+@@ -2270,7 +2270,7 @@
+ {
+ const TagLib::ByteVector nullStringTerminator(1, 0);
+
+- TagLib::ByteVector item = listMap["COVER ART (FRONT)"].value();
++ TagLib::ByteVector item = listMap["COVER ART (FRONT)"].binaryData();
+ int pos = item.find(nullStringTerminator); // Skip the filename
+
+ if (++pos > 0)
diff --git a/media-sound/quimup/quimup-1.4.4-r1.ebuild b/media-sound/quimup/quimup-1.4.4-r1.ebuild
new file mode 100644
index 000000000000..82130b3eed95
--- /dev/null
+++ b/media-sound/quimup/quimup-1.4.4-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop qmake-utils
+
+DESCRIPTION="Qt5 client for the music player daemon (MPD)"
+HOMEPAGE="https://sourceforge.net/projects/quimup/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${PN^}_${PV}_source.tar.gz"
+S="${WORKDIR}/${PN^}_${PV}_source"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ media-libs/libmpdclient
+ media-libs/taglib:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-fix-build-taglib2.patch )
+
+DOCS=( changelog FAQ.txt README )
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ default
+ dobin ${PN}
+
+ newicon src/resources/mn_icon.png ${PN}.png
+ make_desktop_entry ${PN} Quimup
+}
diff --git a/media-sound/quimup/quimup-2.1.0.ebuild b/media-sound/quimup/quimup-2.1.0.ebuild
new file mode 100644
index 000000000000..c697b0f774e2
--- /dev/null
+++ b/media-sound/quimup/quimup-2.1.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop qmake-utils xdg
+
+DESCRIPTION="Qt client for the music player daemon (MPD)"
+HOMEPAGE="https://quimup.sourceforge.io"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P^}.source.tar.gz"
+S="${WORKDIR}/${P^}.source"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-qt/qtbase:6[gui,network,widgets]
+ media-libs/libmpdclient
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( changelog faq readme )
+
+src_configure() {
+ eqmake6
+}
+
+src_install() {
+ default
+ dobin ${PN}
+
+ for x in 32 64 128 scalable; do
+ doicon -s ${x} RPM_DEB_build/share/icons/hicolor/${x}*/*
+ done
+
+ domenu RPM_DEB_build/share/applications/${PN^}.desktop
+}