summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-08-08 18:53:21 +0200
committerDavid Seifert <soap@gentoo.org>2020-08-08 18:53:21 +0200
commit65a5ee694c109ad023cd722eae95deddf5c03b90 (patch)
tree8e8349262b03dace7332874880516c554586c0a4 /media-sound/chordii/chordii-4.5.3.ebuild
parentmedia-sound/chordii: Remove old (diff)
downloadgentoo-65a5ee694c109ad023cd722eae95deddf5c03b90.tar.gz
gentoo-65a5ee694c109ad023cd722eae95deddf5c03b90.tar.bz2
gentoo-65a5ee694c109ad023cd722eae95deddf5c03b90.zip
media-sound/chordii: Fix building under -fno-common
Closes: https://bugs.gentoo.org/706460 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/chordii/chordii-4.5.3.ebuild')
-rw-r--r--media-sound/chordii/chordii-4.5.3.ebuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/media-sound/chordii/chordii-4.5.3.ebuild b/media-sound/chordii/chordii-4.5.3.ebuild
index 605ec52c35a4..1b9c9f3d7f9b 100644
--- a/media-sound/chordii/chordii-4.5.3.ebuild
+++ b/media-sound/chordii/chordii-4.5.3.ebuild
@@ -1,26 +1,26 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="A guitar music typesetter"
HOMEPAGE="http://chordii.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}.tar.gz
doc? ( mirror://sourceforge/${PN}/user_guide-${PV}.pdf )"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc examples"
+IUSE="doc"
+
+PATCHES=( "${FILESDIR}"/${PN}-4.5.3-fno-common.patch )
src_install() {
default
- use doc && dodoc "${DISTDIR}"/user_guide-${PV}.pdf
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
- if use examples ; then
- docinto examples
- dodoc examples/*
- docompress -x /usr/share/doc/${PF}/examples
- fi
+ use doc && dodoc "${DISTDIR}"/user_guide-${PV}.pdf
}