summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-27 13:48:16 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-27 14:01:47 +0100
commit749b23ea57c723f81e4bd654229c3888d4b36f2e (patch)
tree7a38d3515d61f9ca8b084e1e730295f5ef770ed1 /app-office
parentnet-dns/ez-ipupdate: EAPI-7, readme.gentoo-r1 (diff)
downloadgentoo-749b23ea57c723f81e4bd654229c3888d4b36f2e.tar.gz
gentoo-749b23ea57c723f81e4bd654229c3888d4b36f2e.tar.bz2
gentoo-749b23ea57c723f81e4bd654229c3888d4b36f2e.zip
app-office/multitalk: EAPI-7 bump, readme.gentoo-r1
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/multitalk/multitalk-1.4-r1.ebuild37
1 files changed, 23 insertions, 14 deletions
diff --git a/app-office/multitalk/multitalk-1.4-r1.ebuild b/app-office/multitalk/multitalk-1.4-r1.ebuild
index 513dcc050404..09b70c0e23f3 100644
--- a/app-office/multitalk/multitalk-1.4-r1.ebuild
+++ b/app-office/multitalk/multitalk-1.4-r1.ebuild
@@ -1,36 +1,41 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs readme.gentoo
+EAPI=7
-DESCRIPTION="A new type of presentation program"
+inherit readme.gentoo-r1 toolchain-funcs
+
+DESCRIPTION="New type of presentation program"
HOMEPAGE="http://www.srcf.ucam.org/~dmi1000/multitalk/"
SRC_URI="http://www.srcf.ucam.org/~dmi1000/multitalk/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="examples latex"
-DEPEND=">=media-libs/libsdl-1.2.7
+DEPEND="
+ >=media-libs/libsdl-1.2.7
+ >=media-libs/sdl-gfx-2.0.13
>=media-libs/sdl-image-1.2.3
>=media-libs/sdl-ttf-2.0.6
- >=media-libs/sdl-gfx-2.0.13"
-
-RDEPEND="${DEPEND}
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
latex? (
virtual/imagemagick-tools
virtual/latex-base
- )"
-
-S="${WORKDIR}/${PN}"
+ )
+"
DOC_CONTENTS="
- You will have to source /etc/profile (or logout and back in).
- See also /usr/share/doc/${PF}/${PN}.pdf."
+You will have to source /etc/profile (or logout and back in).
+See also /usr/share/doc/${PF}/${PN}.pdf.
+"
src_prepare() {
+ default
sed -i \
-e "s:g++:$(tc-getCXX) ${CXXFLAGS}:" \
-e "s:-L\${HOME}/lib:${LDFLAGS}:" \
@@ -39,7 +44,7 @@ src_prepare() {
src_install() {
dodir /usr/bin
- emake SYSPREFIX="${D}usr" install
+ emake SYSPREFIX="${D}/usr" install
insinto /usr/share/${PN}/examples
doins examples/about.{graph,talk}
@@ -50,3 +55,7 @@ src_install() {
readme.gentoo_create_doc
}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}