diff options
Diffstat (limited to 'media-libs/quarter')
-rw-r--r-- | media-libs/quarter/Manifest | 1 | ||||
-rw-r--r-- | media-libs/quarter/files/quarter-1.0.0-gcc44.patch | 11 | ||||
-rw-r--r-- | media-libs/quarter/metadata.xml | 8 | ||||
-rw-r--r-- | media-libs/quarter/quarter-1.0.0-r1.ebuild | 49 |
4 files changed, 69 insertions, 0 deletions
diff --git a/media-libs/quarter/Manifest b/media-libs/quarter/Manifest new file mode 100644 index 00000000000..6dbd214c5e0 --- /dev/null +++ b/media-libs/quarter/Manifest @@ -0,0 +1 @@ +DIST Quarter-1.0.0.tar.gz 617534 SHA256 ed7a29856e2bdc9db20b7c4fa27c47af1bf325d62ef3700fccbc83476f41da1a SHA512 ab7828889b612425c6341f69abaf6bc5c02ed5f918a5ad631ad9e0a6ecb9fd5800e08d091fd39bb05141e0db521d305471f66a3d14f149928add3f1d776e497b WHIRLPOOL cfb6f8d770449b7b00fa04c60f6607b87a4c5620a1b5363e46bdc3e62eb39ec42d6a0a7d1f793d96a7bc0d5af4db5c4c227219c4790fe6a9bd67241b8a44652c diff --git a/media-libs/quarter/files/quarter-1.0.0-gcc44.patch b/media-libs/quarter/files/quarter-1.0.0-gcc44.patch new file mode 100644 index 00000000000..e0f422b4cd3 --- /dev/null +++ b/media-libs/quarter/files/quarter-1.0.0-gcc44.patch @@ -0,0 +1,11 @@ +diff -ruN Quarter-1.0.0/src/Quarter/Quarter.cpp my/src/Quarter/Quarter.cpp +--- Quarter-1.0.0/src/Quarter/Quarter.cpp 2009-01-26 22:47:07.000000000 +0100 ++++ my/src/Quarter/Quarter.cpp 2014-08-14 01:48:45.019728780 +0200 +@@ -123,6 +123,7 @@ + \subpage examiner + */ + ++#include <stdio.h> + + #include <Inventor/SoDB.h> + #include <Inventor/nodekits/SoNodeKit.h> diff --git a/media-libs/quarter/metadata.xml b/media-libs/quarter/metadata.xml new file mode 100644 index 00000000000..e4c38b72257 --- /dev/null +++ b/media-libs/quarter/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> + <email>reavertm@gentoo.org</email> + <name>Maciej Mrozowski</name> +</maintainer> +</pkgmetadata> diff --git a/media-libs/quarter/quarter-1.0.0-r1.ebuild b/media-libs/quarter/quarter-1.0.0-r1.ebuild new file mode 100644 index 00000000000..1359ff911a7 --- /dev/null +++ b/media-libs/quarter/quarter-1.0.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools-utils + +MY_P="${P/q/Q}" + +DESCRIPTION="A glue between Nokia Qt4 and Coin3D" +HOMEPAGE="http://www.coin3d.org/lib/quarter" +SRC_URI="ftp://ftp.coin3d.org/pub/coin/src/all/${MY_P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug doc static-libs" + +RDEPEND=" + >=media-libs/coin-3.0.0[javascript] + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${P}-gcc44.patch" +) + +DOCS=(AUTHORS NEWS README) + +src_configure() { + local myeconfargs=( + htmldir="${ROOT}usr/share/doc/${PF}/html" + --enable-pkgconfig + --with-coin + $(use_enable debug) + $(use_enable debug symbols) + $(use_enable doc html) + ) + autotools-utils_src_configure +} |