summaryrefslogtreecommitdiff
path: root/x11-misc/xfractint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xfractint
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xfractint')
-rw-r--r--x11-misc/xfractint/Manifest7
-rw-r--r--x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch29
-rw-r--r--x11-misc/xfractint/files/xfractint.envd4
-rw-r--r--x11-misc/xfractint/metadata.xml5
-rw-r--r--x11-misc/xfractint/xfractint-20.04_p12.ebuild45
5 files changed, 90 insertions, 0 deletions
diff --git a/x11-misc/xfractint/Manifest b/x11-misc/xfractint/Manifest
new file mode 100644
index 000000000000..81a9700f3cb7
--- /dev/null
+++ b/x11-misc/xfractint/Manifest
@@ -0,0 +1,7 @@
+AUX xfractint-20.04p09-ldflags.patch 1063 SHA256 0da3670026a960233d0b604631b7b75f9beaaa33d088d74a387f297e26ff7b0e SHA512 803f0e922218e721de01012a2d6cefa7ed0ab7fa52ddf78e554245560347cbc6df171c1caef857c64afcfc31b5ce163e1af6b7dcc6a0574ca71ef324ff025661 WHIRLPOOL b0122e87bc6b764cfcda89f8ec8902d723ce9ed2359691b0ee784d4aebcf21d6f3970982ab115015d1b475c4f7f339e26377c0b7778d940b3e33a99183faa6a0
+AUX xfractint.envd 63 SHA256 e79fe65b29137d40f6d4e26cff359be9e5422c1408138c5657f85380e9b82b4d SHA512 1e923957e93a53af47a8bc3205c350b9fe4bbfa9f955c5eb5673c1ce857808bdf0ad020c643c7f81dda1c0b5caf2480005c2f31eabdaa39908ef68649687b5a2 WHIRLPOOL 08bc84219a91e043598fc17f6c7d55b750edc0e579179dc7aa0a016dd43e65509a9dc88b8113911af3d445d93f76ef41a7f58e4f4488e3fc8fc5907622888c71
+DIST xfractint-20.04p12.tar.gz 1335480 SHA256 e81affa9d3b3826f14502cedf1fc4a4dd41bcfa71ba32f8e4224748c5b9c69e0 SHA512 ef233b417ccdff153e53b70f4ac0500be99e9fc6e87360b341640573592320b2485f18fd6426436432d968d33fa41d4862babf193c3b11c480f514a4602bb8f2 WHIRLPOOL 47a2f4c0919232109309a00a131ffc4a5a87519727469af09f51101f7984b54851e71d928147faed27d51d167ce3c13f5332cd0747e63cf96c18cbed2d81b404
+EBUILD xfractint-20.04_p12.ebuild 1052 SHA256 55bf953d11e87d76a6c48e0f04d2c8fac669deb22092df8d2eaba47e2cc87eeb SHA512 521f53a85591ef4b937aaca9bc14e5bd7cf99568b3859e85eddfa65de94288eaf6325887b5c048b5204aebbd9c88f7c4f91d53142f2c9a5a4a10e1b820d65fbc WHIRLPOOL 789f2d9bb584bf4bb6bb23faeb60d11ddcc869579f0ba1955b10e5f0f392212e3c64649be53c3adb183ed988b53d4f7ed003b25ec0893ae9cfe5a51235e2c27b
+MISC ChangeLog 2602 SHA256 87eaf9ca5e833bf5aff61d2cc7dd8e11d459463359a1613d3d1582e01ee916f8 SHA512 f59e2c776906755fba0cf4906d3e88929378c69b6edae08c3cddeca083f515000e39fbc413dba87bbe1dd4148ce316f7426ce30588bb0979ee172f78d56f5140 WHIRLPOOL 4cceeb6017a202a77f70f0c34c84e96eb65eb7868994be9367836cb2eec03299943f9c38d98b2cabfaf71116b6abd7c23094aae889c2d5a10c05e2dd3aab9600
+MISC ChangeLog-2015 9817 SHA256 79fe4701f169ff6ff9f0ee8716e1bd84c6244017a78677d18e0a12d15940a21e SHA512 6dc16e9cf70ba0184b36a71e8d5b361ebf6189c702c898064c7d743a422f5c28b23601a7b96e6bf614a63b266d17c70fbf4a06a3bcf9ba0c8345dafedd1f64ad WHIRLPOOL 59463d05efed440f40c23d542c11c75f5b236b4bffb33e917d3552ae77dce78d168afd1538f558668a51c4cc6bf0f64afca15a381adeadce6a18dcdbcaffc79c
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch b/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch
new file mode 100644
index 000000000000..382bdc6a285c
--- /dev/null
+++ b/x11-misc/xfractint/files/xfractint-20.04p09-ldflags.patch
@@ -0,0 +1,29 @@
+--- Makefile
++++ Makefile
+@@ -125,7 +125,7 @@
+
+ ifeq ($(AS),/usr/bin/nasm)
+
+-CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -DNASM -fno-builtin
++CFLAGS = -I$(HFD) $(DEFINES) -DBIG_ANSI_C -DLINUX -DNASM -fno-builtin
+ #CFLAGS = -I. -D_CONST $(DEFINES)
+ #CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX \
+ # -march=$(ARCH) -DNASM -fno-builtin
+@@ -133,7 +133,7 @@
+
+ else
+
+-CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX -fno-builtin
++CFLAGS = -I$(HFD) $(DEFINES) -DBIG_ANSI_C -DLINUX -fno-builtin
+ #CFLAGS = -I$(HFD) $(DEFINES) -g -DBIG_ANSI_C -DLINUX \
+ # -march=$(ARCH) -fno-builtin
+ #CFLAGS = -I. $(DEFINES) -g -DBIG_ANSI_C -DLINUX -Os -fno-builtin
+@@ -312,7 +312,7 @@
+ "HFD=.${HFD}"
+ cd unix ; ${MAKE} all "CC=${CC}" "CFLAGS= -I.${HFD} -I${XFTHFD} ${CFLAGS} ${OPT}" "SRCDIR=${SHRDIR}" \
+ "AS=${AS}" "AFLAGS=${AFLAGS}" "HFD=.${HFD}"
+- $(CC) -o xfractint $(CFLAGS) $(OPT) $(OBJS) $(U_OBJS) $(LIBS)
++ $(CC) -o xfractint $(CFLAGS) $(LDFLAGS) $(OPT) $(OBJS) $(U_OBJS) $(LIBS)
+ # strip xfractint
+
+ fractint:
diff --git a/x11-misc/xfractint/files/xfractint.envd b/x11-misc/xfractint/files/xfractint.envd
new file mode 100644
index 000000000000..3dd0cbcda664
--- /dev/null
+++ b/x11-misc/xfractint/files/xfractint.envd
@@ -0,0 +1,4 @@
+#Specifies xfractint directory
+
+FRACTDIR=/usr/share/xfractint
+
diff --git a/x11-misc/xfractint/metadata.xml b/x11-misc/xfractint/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/x11-misc/xfractint/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/x11-misc/xfractint/xfractint-20.04_p12.ebuild b/x11-misc/xfractint/xfractint-20.04_p12.ebuild
new file mode 100644
index 000000000000..ba46f9dec381
--- /dev/null
+++ b/x11-misc/xfractint/xfractint-20.04_p12.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MY_P=${P/_}
+
+DESCRIPTION="A fractal generator"
+HOMEPAGE="http://www.fractint.org"
+SRC_URI="http://www.fractint.org/ftp/current/linux/${MY_P}.tar.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-libs/libXft"
+# x86? ( dev-lang/nasm )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/xfractint-20.04p09-ldflags.patch"
+}
+
+src_compile() {
+ # Untested, any x86 archteam dev. is allowed to uncomment this.
+ local myasm="foo"
+# use x86 && myasm="/usr/bin/nasm"
+ emake CC="$(tc-getCC)" AS="${myasm}" OPT="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}/usr" STRIP="true" install
+ newenvd "${FILESDIR}"/xfractint.envd 60xfractint
+}
+
+pkg_postinst() {
+ elog "XFractInt requires the FRACTDIR variable to be set in order to start."
+ elog "Please re-login or \`source /etc/profile\` to have this variable set."
+}