summaryrefslogtreecommitdiff
path: root/x11-misc/fraqtive
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/fraqtive
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/fraqtive')
-rw-r--r--x11-misc/fraqtive/Manifest6
-rw-r--r--x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch24
-rw-r--r--x11-misc/fraqtive/fraqtive-0.4.8.ebuild73
-rw-r--r--x11-misc/fraqtive/metadata.xml11
4 files changed, 114 insertions, 0 deletions
diff --git a/x11-misc/fraqtive/Manifest b/x11-misc/fraqtive/Manifest
new file mode 100644
index 000000000000..e8ffbd33d838
--- /dev/null
+++ b/x11-misc/fraqtive/Manifest
@@ -0,0 +1,6 @@
+AUX fraqtive-0.4.8-qt-includes.patch 438 SHA256 85a5e6e5617edb867a2bc6af51a963de7b4270b0c59f9ae9a3ef0bb32489bd80 SHA512 0e5ea8dce236a5cdb8086ab0671360aeb15a4d0ac9703969be28373315288d59ccd31b013f932c77bfb5a64faf917f311c30c7cd25c006f08be5a5f40f5735c4 WHIRLPOOL 538ad07ee418b2436f12bf32b0dd7b08b6f39c217a644423410403416a4106305544632c15d083271a3430f99120ee1df893d2ca6a3e90c84068ea61daf38ec0
+DIST fraqtive-0.4.8.tar.bz2 260484 SHA256 dbb21b5e6305cbf02c27aaedb12c5125ac873600bce10d12e88b2305a2083cd7 SHA512 8b4be81dd14fe086dbcffda123395ccb30a197e7762e590bc3ab7dc1d0aafb44dc45e1445e2f83198a0c1f4b9ea0d54a7de1989c3b85c0f2e5f474a67255d942 WHIRLPOOL 29bfc8574d63ac6e77c36531e1dd9aa63810af12e6669f8248c364f6dd42088ac1418cdce6c1b760dc922bbded65b148e0079f8c56df69e27f42b093212ee7c3
+EBUILD fraqtive-0.4.8.ebuild 1301 SHA256 7d98b616423abaca3e82edbe42d11487707b0ca4877a9d39cc49c7347f00e64a SHA512 5ac3861ad1784d24a8695896a2dff1cbb6d1180aef27e4d0a2de1a87d0b1f2f789b9ff75d880f478326b7337e7e413f17220e9110bbd989fedb74677c628b3f0 WHIRLPOOL c520f76b07e099bbe921d2447074f8dc34b46e5fda3b3e092c6889d5c5912d323e2eb24ed95ab942a9492cb64b10e0de38776ea83f88f584ab26469e36858f5b
+MISC ChangeLog 2484 SHA256 f0c8360f73c086127cc39258f77236a17cb6cdc554bb9e7aea98b8452c36e910 SHA512 508bb483e09c5dc14b588534cae00fe586db410992819fa1210d0f3d2de7d4e85e2a889ffe94de3d5a0def11d6f8869bef3dc8ba1c531b725d72be700fe2eeb7 WHIRLPOOL 04c7834752fbbf0c696160210eef57fd7ebec7980d511998903ff335b51432252936eabc120990be29ea73f5778fcf857d43465a50bd166dee7cb444e311fb31
+MISC ChangeLog-2015 2744 SHA256 511829def18d1da90f9f525e7a408019f5a7b6d89151225730bedcddc188f99a SHA512 6427191396627d315d93c0d87008bd4db9236fd9bce8697387cff38f99ed1ce42e0f3854a76e9b8b37fb37db38b4214f6ab57166e2ece532cbee953e66e32d81 WHIRLPOOL 1a475069923c7d21a00334f823b5b3b101b57a67723445abfad571c32fc85f93bc20589ba84f6651a360fc3d29248dac4f50c3ab1c495f2a4629ae8ca3b84a1e
+MISC metadata.xml 364 SHA256 d101c47652c2b64ab73afe9ac7ce60807cbc33dea4e455aa1243a797362969c2 SHA512 b3343bcc5cf584c4bbacb0d54e353bca91c3112d9d906dc920ead427fc964e7a71bc632e810f6047a293d00325dfafe532067b6d0d5fb9abcb797ae83c587604 WHIRLPOOL 12c77ef311a443b106e02e8020f73a233394951ba5e6f9e1747f001c7b0a948488a9d3cdf2dabf353ed049c14e045af76624c12773205a348efb9a12e52af8ad
diff --git a/x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch b/x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch
new file mode 100644
index 000000000000..de31d9c37ec2
--- /dev/null
+++ b/x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch
@@ -0,0 +1,24 @@
+Add missing Qt includes.
+
+Bug: https://bugs.gentoo.org/563574
+
+--- a/src/configurationdata.cpp
++++ b/src/configurationdata.cpp
+@@ -25,6 +25,7 @@
+ #include <shlobj.h>
+ #endif
+
++#include <QDataStream>
+ #include <QDir>
+ #include <cstdlib>
+
+--- a/src/fractalgenerator.h
++++ b/src/fractalgenerator.h
+@@ -21,6 +21,7 @@
+
+ #include <QEvent>
+ #include <QMutex>
++#include <QObject>
+ #include <QWaitCondition>
+
+ #include "abstractjobprovider.h"
diff --git a/x11-misc/fraqtive/fraqtive-0.4.8.ebuild b/x11-misc/fraqtive/fraqtive-0.4.8.ebuild
new file mode 100644
index 000000000000..5c0a787ab56a
--- /dev/null
+++ b/x11-misc/fraqtive/fraqtive-0.4.8.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils gnome2-utils qmake-utils toolchain-funcs
+
+DESCRIPTION="an open source, multi-platform generator of the Mandelbrot family fractals"
+HOMEPAGE="http://fraqtive.mimec.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt5 cpu_flags_x86_sse2"
+
+RDEPEND="
+ !qt5? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ )
+ virtual/glu
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_configure() {
+ epatch "${FILESDIR}/${P}-qt-includes.patch"
+
+ tc-export PKG_CONFIG
+ sed -i -e "s|-lGLU|$( ${PKG_CONFIG} --libs glu )|g" src/src.pro || die
+ local conf="release"
+
+ if use cpu_flags_x86_sse2; then
+ conf="$conf sse2"
+ else
+ conf="$conf no-sse2"
+ fi
+
+ echo "CONFIG += $conf" > "${S}"/config.pri
+ echo "PREFIX = ${EPREFIX}/usr" >> "${S}"/config.pri
+ # Don't strip wrt #252096
+ echo "QMAKE_STRIP =" >> "${S}"/config.pri
+
+ if use qt5; then
+ eqmake5
+ else
+ eqmake4
+ fi
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/x11-misc/fraqtive/metadata.xml b/x11-misc/fraqtive/metadata.xml
new file mode 100644
index 000000000000..bc3bafc915e7
--- /dev/null
+++ b/x11-misc/fraqtive/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">fraqtive</remote-id>
+ </upstream>
+</pkgmetadata>