summaryrefslogtreecommitdiff
path: root/media-sound/mp3unicode
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/mp3unicode
parent721e451ec418e1712f6962404e111f0ebd487389 (diff)
gentoo auto-resync : 28:12:2024 - 06:30:54
Diffstat (limited to 'media-sound/mp3unicode')
-rw-r--r--media-sound/mp3unicode/Manifest3
-rw-r--r--media-sound/mp3unicode/files/mp3unicode-1.2.1-fix-build-taglib2.patch14
-rw-r--r--media-sound/mp3unicode/mp3unicode-1.2.1-r1.ebuild (renamed from media-sound/mp3unicode/mp3unicode-1.2.1.ebuild)12
3 files changed, 23 insertions, 6 deletions
diff --git a/media-sound/mp3unicode/Manifest b/media-sound/mp3unicode/Manifest
index 3ace1bf83c43..3a43b5f12dab 100644
--- a/media-sound/mp3unicode/Manifest
+++ b/media-sound/mp3unicode/Manifest
@@ -1,3 +1,4 @@
+AUX mp3unicode-1.2.1-fix-build-taglib2.patch 431 BLAKE2B ebd9bcb886b8bcfdce93127fac0963989c7adaaea2c26211e2a307dcdd660ae090a5883439010737ad8bd27f3d9654427fb84165c981e23bef602087c6f51c44 SHA512 bb9a908a9740fe7b8c4d3b8f66c336c6e0cf0af3ab64b0199f8e7c405a8687805e9e4809528614574f5cd8a4128e978cb25b68ef8a424612834e2ff0c019b830
DIST mp3unicode-1.2.1.tar.bz2 101593 BLAKE2B d6f529a9e60e461faba410927d731a2ca640f5c0df2fcf2732d87f9598dd01e8b992adb12e0499f5d81e1cf43b399e7c3acb0840a7992a8f5cb7a9e0f09624f3 SHA512 b1ca820d1ecf6b5e0e59a8267c0cc6af5f8218191885b9a538a53b4f112f77510b3c5da81ce1e0a98d60c19b621965cea7e8e5c7b6c035054ea362fc02ed64b2
-EBUILD mp3unicode-1.2.1.ebuild 503 BLAKE2B 8e9739a472ccdf78c625c01484fb8a454fcb14388f2f7f222a2ed35dad2776069bb21344ce3b54d39076a25cd171bbcba6e13ac8035037ceed8aa020891d59ec SHA512 95075f895b289974e8995382da1a20318e9474231b6381a1ec354d95d96d51c21e5cd976fd95c71c297026ab9824685db79a8b2f29d323d9d571b7896a6be15b
+EBUILD mp3unicode-1.2.1-r1.ebuild 566 BLAKE2B a7631158e216bf7cff093ef6349a97464e3e0f445a09caeae2723992001b34ecb4812f355c598961cb7dba6c7f47db128a7f0eb8360d05fd4337f8a0f5cd9c1f SHA512 ff0c2d86344afb22cd7609d7430d27985f08003532fc12aa5b9c634989f92bee0e478957c9aa60f81b7bf73807faa2a6b2ee719d0e8ee78c9211fa0e303771f7
MISC metadata.xml 391 BLAKE2B 46daceb6c9ed1f6fc7e1502a953bd3bd38212526cec3177838fe1d9ebea0f11db3f155be8b690d9e175a3e72a948f75813ad4cc4105bffb2669a17b0287ad849 SHA512 49aa4b42e6af76dda529a6ac45d108f430f5fb7cef1c4e3cf23eede37e5067e35bc4c7bf73049b20acff44085f4d6a4abe77b1eed0a5c349256e5184004bb18e
diff --git a/media-sound/mp3unicode/files/mp3unicode-1.2.1-fix-build-taglib2.patch b/media-sound/mp3unicode/files/mp3unicode-1.2.1-fix-build-taglib2.patch
new file mode 100644
index 000000000000..7223ca4fcc47
--- /dev/null
+++ b/media-sound/mp3unicode/files/mp3unicode-1.2.1-fix-build-taglib2.patch
@@ -0,0 +1,14 @@
+https://github.com/alonbl/mp3unicode/pull/5.patch
+diff --git a/mp3unicode.cpp b/mp3unicode.cpp
+index ca25941..7fe6411 100644
+--- a/mp3unicode.cpp
++++ b/mp3unicode.cpp
+@@ -192,7 +192,7 @@ protected:
+ bool
+ heuristicIsUnicode (TagLib::String string) {
+ unsigned u0080 = 0;
+- for(TagLib::uint i = 0; i < string.size(); i++) {
++ for(unsigned int i = 0; i < string.size(); i++) {
+ if(string[i] > 255) {
+ return true;
+ }
diff --git a/media-sound/mp3unicode/mp3unicode-1.2.1.ebuild b/media-sound/mp3unicode/mp3unicode-1.2.1-r1.ebuild
index 96f8b3a03f3f..799e04108d60 100644
--- a/media-sound/mp3unicode/mp3unicode-1.2.1.ebuild
+++ b/media-sound/mp3unicode/mp3unicode-1.2.1-r1.ebuild
@@ -1,17 +1,19 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
DESCRIPTION="Commandline utility to convert ID3 tags in mp3 files between different encodings"
-HOMEPAGE="https://mp3unicode.sourceforge.net
- https://github.com/alonbl/mp3unicode"
+HOMEPAGE="https://mp3unicode.sourceforge.net"
+HOMEPAGE+=" https://github.com/alonbl/mp3unicode"
SRC_URI="https://github.com/alonbl/${PN}/releases/download/${P}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RDEPEND=">=media-libs/taglib-1.4"
+RDEPEND="media-libs/taglib:="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-fix-build-taglib2.patch )