commit:     2ce4e2eda573c365ae961fe2c7d840d27e439820
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Mar  9 10:45:06 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 13:42:40 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce4e2ed

media-sound/id3: fix install w/ prefix

use manual src_install instead of patching all lines in Makefile

Closes: https://bugs.gentoo.org/616094
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/265
Merges: https://codeberg.org/gentoo/gentoo/pulls/265
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/id3/files/id3-0.15-makefile.patch | 10 ++--------
 media-sound/id3/id3-0.15-r2.ebuild            |  8 +++++++-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/media-sound/id3/files/id3-0.15-makefile.patch 
b/media-sound/id3/files/id3-0.15-makefile.patch
index 265fa0970269..6f57593f11bc 100644
--- a/media-sound/id3/files/id3-0.15-makefile.patch
+++ b/media-sound/id3/files/id3-0.15-makefile.patch
@@ -1,3 +1,5 @@
+respect user flags
+remove unnecessary build rules
 --- a/Makefile
 +++ b/Makefile
 @@ -3,9 +3,6 @@
@@ -22,11 +24,3 @@
  all: $(PRODUCT)
  
  $(PRODUCT): $(OBJS)
-@@ -35,6 +27,6 @@
- 
- install: $(PRODUCT)
-       $(INSTALL) -d -m 755 $(bindir)
--      $(INSTALL) -s -m 755 -o 0 $(PRODUCT) $(bindir)
-+      $(INSTALL) -m 755 -o 0 $(PRODUCT) $(bindir)
-       $(INSTALL) -d -m 755 $(mandir)
-       $(INSTALL) -m 644 -o 0 $(PRODUCT).1 $(mandir)

diff --git a/media-sound/id3/id3-0.15-r2.ebuild 
b/media-sound/id3/id3-0.15-r2.ebuild
index b21a238288b4..c1ec342422ed 100644
--- a/media-sound/id3/id3-0.15-r2.ebuild
+++ b/media-sound/id3/id3-0.15-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,3 +18,9 @@ PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
 src_configure() {
        tc-export CC
 }
+
+src_install() {
+       dobin id3
+       doman id3.1
+       einstalldocs
+}

Reply via email to