Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xfractint/files/, x11-misc/xfractint/
Date: Wed, 08 May 2019 22:57:05
Message-Id: 1557356174.c90e3bc1f61bac63231b2bd17fcba488e3d36d28.asturm@gentoo
1 commit: c90e3bc1f61bac63231b2bd17fcba488e3d36d28
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 17 16:24:05 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed May 8 22:56:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c90e3bc1
7
8 x11-misc/xfractint: version bump (20.04p14) and EAPI=7
9
10 Closes: https://bugs.gentoo.org/683690
11 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 x11-misc/xfractint/Manifest | 1 +
15 .../files/xfractint-20.04p09-ldflags.patch | 4 +--
16 x11-misc/xfractint/xfractint-20.04_p14.ebuild | 42 ++++++++++++++++++++++
17 3 files changed, 45 insertions(+), 2 deletions(-)
18
19 diff --git a/x11-misc/xfractint/Manifest b/x11-misc/xfractint/Manifest
20 index ebad10714d1..4a3744b4f1e 100644
21 --- a/x11-misc/xfractint/Manifest
22 +++ b/x11-misc/xfractint/Manifest
23 @@ -1 +1,2 @@
24 DIST xfractint-20.04p12.tar.gz 1335480 BLAKE2B eef1cd37846865dab9c2616048b26d6a9674799d9317d9f3e92a783e872772c3322826689ec3bf71fc18cef80d4a13a604314d692685bcb268312085d34483fc SHA512 ef233b417ccdff153e53b70f4ac0500be99e9fc6e87360b341640573592320b2485f18fd6426436432d968d33fa41d4862babf193c3b11c480f514a4602bb8f2
25 +DIST xfractint-20.04p14.tar.gz 1336285 BLAKE2B 946c34551acf131845f1ecf17d4fe82214535627e8ea68d704efcff4b93c525d82f004bde8ae1bac11df8c82caa3bcff4778b2f8dfed1bdb494ba036e62256c5 SHA512 7d13c719f4f4b0680455b9b7f86644928d8145606973d208e5bf0d26b4f7b04ddbf8d2080ea35c872b21e079f1a116f3ef94e9acb36a45d43c16403c473e2acd
26
27 diff --git a/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch b/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch
28 index 382bdc6a285..eb3d92783aa 100644
29 --- a/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch
30 +++ b/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch
31 @@ -1,5 +1,5 @@
32 ---- Makefile
33 -+++ Makefile
34 +--- a/Makefile
35 ++++ b/Makefile
36 @@ -125,7 +125,7 @@
37
38 ifeq ($(AS),/usr/bin/nasm)
39
40 diff --git a/x11-misc/xfractint/xfractint-20.04_p14.ebuild b/x11-misc/xfractint/xfractint-20.04_p14.ebuild
41 new file mode 100644
42 index 00000000000..6b8eb555403
43 --- /dev/null
44 +++ b/x11-misc/xfractint/xfractint-20.04_p14.ebuild
45 @@ -0,0 +1,42 @@
46 +# Copyright 1999-2019 Gentoo Authors
47 +# Distributed under the terms of the GNU General Public License v2
48 +
49 +EAPI=7
50 +
51 +inherit toolchain-funcs
52 +
53 +MY_P=${P/_}
54 +
55 +DESCRIPTION="A fractal generator"
56 +HOMEPAGE="https://www.fractint.org"
57 +SRC_URI="https://www.fractint.org/ftp/current/linux/${MY_P}.tar.gz"
58 +
59 +LICENSE="freedist"
60 +SLOT="0"
61 +KEYWORDS="~amd64 ~ppc ~x86"
62 +
63 +RDEPEND="x11-libs/libX11"
64 +DEPEND="${RDEPEND}
65 + x11-libs/libXft"
66 +# x86? ( dev-lang/nasm )"
67 +
68 +S="${WORKDIR}/${MY_P}"
69 +
70 +PATCHES=( "${FILESDIR}/xfractint-20.04p09-ldflags.patch" )
71 +
72 +src_compile() {
73 + # Untested, any x86 archteam dev. is allowed to uncomment this.
74 + local myasm="foo"
75 +# use x86 && myasm="/usr/bin/nasm"
76 + emake CC="$(tc-getCC)" AS="${myasm}" OPT="${CFLAGS}" LDFLAGS="${LDFLAGS}"
77 +}
78 +
79 +src_install() {
80 + emake DESTDIR="${ED}/usr" STRIP="true" install
81 + newenvd "${FILESDIR}"/xfractint.envd 60xfractint
82 +}
83 +
84 +pkg_postinst() {
85 + elog "XFractInt requires the FRACTDIR variable to be set in order to start."
86 + elog "Please re-login or \`source /etc/profile\` to have this variable set."
87 +}