summaryrefslogtreecommitdiff
path: root/media-gfx/pencil
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 /media-gfx/pencil
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/pencil')
-rw-r--r--media-gfx/pencil/Manifest6
-rw-r--r--media-gfx/pencil/files/pencil-0.4.4_beta-gcc461.patch14
-rw-r--r--media-gfx/pencil/metadata.xml8
-rw-r--r--media-gfx/pencil/pencil-0.4.4_beta.ebuild41
4 files changed, 69 insertions, 0 deletions
diff --git a/media-gfx/pencil/Manifest b/media-gfx/pencil/Manifest
new file mode 100644
index 000000000000..36324b40f882
--- /dev/null
+++ b/media-gfx/pencil/Manifest
@@ -0,0 +1,6 @@
+AUX pencil-0.4.4_beta-gcc461.patch 819 SHA256 800c08700693c7eceaa268c35ed9102c81b3e0d85f6aba539772a146927d8f87 SHA512 2d775516265d844cf72d85015111321e487cad8094cb0bd55166654a06b913b63f55c87623374e4fafc8927169224235ff2b759f57ef5515bd9684faf8e4d84f WHIRLPOOL dcdc65a3974f9838ce996fe83e4874e6f1a612085b2593ef42dace37d59815bd5e73c05e0054130c52bcbd00dc74684c4344380891d66cb8c04eb82c90ee67f7
+DIST pencil-0.4.4b-src.zip 1147003 SHA256 8a1373e745d9c039e15c7b3f0c1846190fcc4621306b2dd507c31ac31de64303 SHA512 5ed5bad3d2a1ac993539c2c510bcc5a1df3e33f37187c069d21f3c784eb8a290c69cfccbba8645ebab58b0feafb3c229d882dcade72fca3110846c7b1629331b WHIRLPOOL 9fdc8a1953422b7c9b58d4d33536b78881e48e52ef8e2f726c8ebf2b4cbb1a7ad55898a1b12369893f23d1e05a6aa5731308aca596f34b3c692d1fc50cf466a2
+EBUILD pencil-0.4.4_beta.ebuild 987 SHA256 4d949e3178d3590f85199504b5883be6f71e1f9b23d329d4120829a87b739d90 SHA512 369f57c73ec3f1e2a3eaab6cf04334c07f1224dd1a33fbdd62688e7f86d0479e44f37e2d12d4131bb72a9b1fe153e7d2cf1274199966ecdd8aa858108bd00007 WHIRLPOOL 691c86ff280aaa13f639bf1634b0237a606839ea13ad5e1abd3dbcc598cb510e8a0548cd1d1d2671e8ce198f7f3d50a23596456bb615012168e048b9c5f68a52
+MISC ChangeLog 2571 SHA256 afc0a6ceff070a80a5aebf4735ba297c95dc49ecad6e805e5f15d9c367983f8b SHA512 53f2bc62de23f3e06d537655f66ba687ebf325860dcf75ac17ce3b467c4e71f1b06861b9e98495811c79e50deb5ef115c1219717a2732b1d3be38d73c9f0e28c WHIRLPOOL dfca0fe6b6f73cf9831bce418647cad9e01ae4af97273c516ec4442c79d95bc12a767ab9654f8a6b1f0b24dae4b9ad4668a523c0dc6f541dc438507585f604d0
+MISC ChangeLog-2015 1091 SHA256 0bf550ab7b78908d44fbb03af50f0c9e6f648073bae7259e5aec86bd53be8129 SHA512 52724b5d0024ec248b3fbdc3f58f94af3c21309490011ce5cd247231a89bfb046676707538257d46c1e9d9cd4d2aaa57eee367af8e65a5f61ca5b3395855cc34 WHIRLPOOL 741b4ae2e9deee29e9f25e4a87004605a5b89486e83c0c68114ea146144d7b72f4b216dab14f2d967c3b24779090700fc42b573179e4e3964d1136807762d678
+MISC metadata.xml 251 SHA256 bdbc58c5e5895429b603f8583da74146a9f01d73c3623932f3b222ea151a2089 SHA512 d515519588ccedd03f6b4d0b653e957c8f26c922098a5408e9962fe9dbbb9105001a9ea1b08b73ce6e5fa41fabdc86081f6fe24f8394e2a44d036d01a01da0ed WHIRLPOOL c5ef00575d0a3a68519a2d7acae8039ecc3489eb2e6db47a610bacea389338ec30c5616a5fd69c3a5c24147cc34f9b7af4e976b20f2a4023db0f111509d42fc9
diff --git a/media-gfx/pencil/files/pencil-0.4.4_beta-gcc461.patch b/media-gfx/pencil/files/pencil-0.4.4_beta-gcc461.patch
new file mode 100644
index 000000000000..d0aa8936b8fd
--- /dev/null
+++ b/media-gfx/pencil/files/pencil-0.4.4_beta-gcc461.patch
@@ -0,0 +1,14 @@
+--- src/graphics/vector/beziercurve.cpp 2007-07-14 21:41:33.000000000 +0200
++++ src/graphics/vector/beziercurve.cpp 2011-08-29 16:19:08.930675072 +0200
+@@ -700,9 +700,9 @@
+ R1.setTopLeft(P1); R1.setBottomRight(Q1);
+ R2.setTopLeft(P2); R2.setBottomRight(Q2);
+
+- //QPointF intersectionPoint = QPointF(50.0, 50.0); // bogus point
++ QPointF intersectionPoint = QPointF(50.0, 50.0); // bogus point
+ //QPointF* intersection = &intersectionPoint;
+- QPointF* cubicIntersection = &QPointF(50.0, 50.0); // bogus point
++ QPointF* cubicIntersection = &intersectionPoint; // bogus point
+ if( R1.intersects(R2) || L2.intersect(L1, cubicIntersection) == QLineF::BoundedIntersection ) {
+ //if(L2.intersect(L1, intersection) == QLineF::BoundedIntersection) {
+ //qDebug() << " FOUND rectangle intersection ";
diff --git a/media-gfx/pencil/metadata.xml b/media-gfx/pencil/metadata.xml
new file mode 100644
index 000000000000..eac6c670643d
--- /dev/null
+++ b/media-gfx/pencil/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">pencil-planner</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-gfx/pencil/pencil-0.4.4_beta.ebuild b/media-gfx/pencil/pencil-0.4.4_beta.ebuild
new file mode 100644
index 000000000000..700f6494d1cc
--- /dev/null
+++ b/media-gfx/pencil/pencil-0.4.4_beta.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit eutils qt4-r2
+
+MY_P=${P/_beta/b}
+
+DESCRIPTION="A Qt4 based animation and drawing program"
+HOMEPAGE="http://www.pencil-animation.org/"
+SRC_URI="mirror://sourceforge/pencil-planner/${MY_P}-src.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ >=media-libs/ming-0.4.3"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${MY_P}-source
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc461.patch
+ sed -i s:SWFSprite:SWFMovieClip:g src/external/flash/flash.{cpp,h} || die
+}
+
+src_install() {
+ # install target not yet provided
+ #emake INSTALL_ROOT="${D}" install || die "emake install failed"
+ newbin Pencil ${PN} || die "dobin failed"
+
+ dodoc README TODO || die
+
+ mv "${S}"/icons/icon.png "${S}"/icons/${PN}.png
+ doicon "${S}"/icons/${PN}.png || die "doicon failed"
+ make_desktop_entry ${PN} Pencil ${PN} Graphics
+}