Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-cdr/bashburn/
Date: Mon, 14 Sep 2020 22:01:33
Message-Id: 1600120877.66ef97d6ff5dd70cbb022cbd457a8484932497db.sam@gentoo
1 commit: 66ef97d6ff5dd70cbb022cbd457a8484932497db
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 14 22:01:17 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 14 22:01:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ef97d6
7
8 app-cdr/bashburn: port to EAPI 7, fix installed man page
9
10 Closes: https://bugs.gentoo.org/724186
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 ...hburn-3.1.0.ebuild => bashburn-3.1.0-r1.ebuild} | 29 ++++++++++++++--------
15 1 file changed, 18 insertions(+), 11 deletions(-)
16
17 diff --git a/app-cdr/bashburn/bashburn-3.1.0.ebuild b/app-cdr/bashburn/bashburn-3.1.0-r1.ebuild
18 similarity index 68%
19 rename from app-cdr/bashburn/bashburn-3.1.0.ebuild
20 rename to app-cdr/bashburn/bashburn-3.1.0-r1.ebuild
21 index ad701420c84..d4b529bc22e 100644
22 --- a/app-cdr/bashburn/bashburn-3.1.0.ebuild
23 +++ b/app-cdr/bashburn/bashburn-3.1.0-r1.ebuild
24 @@ -1,21 +1,22 @@
25 -# Copyright 1999-2013 Gentoo Foundation
26 +# Copyright 1999-2020 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 -EAPI=4
30 +EAPI=7
31
32 MY_P=BashBurn-${PV}
33
34 DESCRIPTION="A shell script for burning optical media"
35 -HOMEPAGE="http://bashburn.dose.se/"
36 +HOMEPAGE="http://bashburn.dose.se/ https://gitlab.com/anders.linden/BashBurn"
37 SRC_URI="http://bashburn.dose.se/index.php?s=file_download&id=25 -> ${MY_P}.tar.gz"
38 +S="${WORKDIR}/${MY_P}"
39
40 LICENSE="GPL-2"
41 SLOT="0"
42 KEYWORDS="amd64 ppc ~ppc64 sparc x86"
43 -IUSE=""
44
45 -DEPEND="app-shells/bash"
46 -RDEPEND="${DEPEND}
47 +BDEPEND="app-shells/bash"
48 +RDEPEND="
49 + app-shells/bash
50 app-cdr/cdrdao
51 app-cdr/dvd+rw-tools
52 media-libs/flac
53 @@ -25,23 +26,29 @@ RDEPEND="${DEPEND}
54 media-sound/normalize
55 media-sound/vorbis-tools
56 virtual/cdrtools
57 - virtual/eject"
58 -
59 -S=${WORKDIR}/${MY_P}
60 + virtual/eject
61 +"
62
63 src_prepare() {
64 + default
65 +
66 # Fix for "warning: jobserver unavailable: using -j1."
67 sed -i -e 's:make -C:$(MAKE) -C:' Makefile || die
68 +
69 + # Don't compress man pages, bug #732894
70 + sed -i -e "/gzip/d" Install.sh || die
71 }
72
73 src_install() {
74 - ./Install.sh --prefix="${D}"/usr || die
75 + ./Install.sh --prefix="${ED}"/usr || die
76
77 # Remove /var/tmp/portage from installed script
78 sed -i \
79 -e "/BBROOTDIR=/s:'.*':'/usr/lib/Bashburn/lib':" \
80 "${ED}"/usr/lib/Bashburn/lib/BashBurn.sh || die
81
82 - rm -rf "${ED}"/usr/lib/Bashburn/lib/docs
83 + doman bashburn_man/bashburn.1
84 +
85 + rm -rf "${ED}"/usr/lib/Bashburn/lib/docs || die
86 dodoc docs/{ChangeLog,CREDITS,FAQ,HOWTO,README,TODO,TRANSLATION_RULE}
87 }