diff options
Diffstat (limited to 'media-libs/ganv')
-rw-r--r-- | media-libs/ganv/Manifest | 6 | ||||
-rw-r--r-- | media-libs/ganv/files/ganv-1.4.2-no-fdgl.patch | 42 | ||||
-rw-r--r-- | media-libs/ganv/ganv-1.4.2.ebuild | 43 | ||||
-rw-r--r-- | media-libs/ganv/metadata.xml | 15 |
4 files changed, 106 insertions, 0 deletions
diff --git a/media-libs/ganv/Manifest b/media-libs/ganv/Manifest new file mode 100644 index 000000000000..c59402f2bfb8 --- /dev/null +++ b/media-libs/ganv/Manifest @@ -0,0 +1,6 @@ +AUX ganv-1.4.2-no-fdgl.patch 775 SHA256 2d79f84fdaea6042aefbe59192b4b2c7c8268c41aa80694f4d1dd81fe8d52b0b SHA512 760d5332df51f91f4045d80a21f8d06e08578dda8ddf383d0ff2cbd150cb0553db253b6cb8b9d45cc6c8bbdccf97c11fd164babf42965809110c452e2e8243c5 WHIRLPOOL ccd75cb65527ae5313d6bdcec48a25de913a68e2f76f7ae21e64a590c64116658dec983e2153cc7a14783d7f1984d8f349c3916119e25471875f838767c9e5a0 +DIST ganv-1.4.2.tar.bz2 175510 SHA256 145028ade1567f258de6ad58ad0f7941646208d261028a9b74eb61126e2dfa3c SHA512 0609dea81cceb0c560286ad2f132f318c2d583af5163dcea4511155e78a022248dcb7ae535233493bdf906fb036422ebd4368d688123f3e1676c4e0398cbc6c2 WHIRLPOOL d8b59f57e6321fdeede0cc23054349b00a7824587cf995a054618a0d0d39882150cf4bad704c7c80a9f0b5fc063f2204601338d2167b03a50e25136de93fb70f +EBUILD ganv-1.4.2.ebuild 1025 SHA256 91ce6bdd4dab9ef4cf8abe48483e933e7e0e3cb80b654fe6340e3ad3bccc8ed4 SHA512 e0a423a6d9347f4232f6ee326c6dbc34e4994e27046a4cefba841b5079050caaba991e8eedec94b32a6c0bee9db43288cf38763e5a420c064a6ec0d4378494ee WHIRLPOOL 726259fba31e9a767d6531560bad7e2059ba078fc3e6574ecdcef8b118a853defb9f8ed18c65f48f4126d7b6cad545dd7775b8c50fa57397df2b7174f7c553ee +MISC ChangeLog 2843 SHA256 51bdddd4b238f785eee92c6a1dbb4ad80c5ed31bda01449761fa3a030b63d71a SHA512 99459333493dc356e9bdf57776c7c19bef9a4b4ba26cd16e2ad2b9a8d1353b0b065a979f3337c9854e6981c719b7195584b1823441bc99048131c01b8dca2b7f WHIRLPOOL 8d1f69b95ccd91a8243dc3997c9c0ab461d7e2bb6e67d05eb298d46e2a7e60bfbc80fd9ad80896cfdedf52acb1fb98e2eb2edab7524031ebc51fee65425ab8dd +MISC ChangeLog-2015 374 SHA256 66fa7f20f3afb4d178830f035a6eec01b2b1922e7340cb3ca740a47aab0a6e98 SHA512 904656a8d6dc3e49073a60cf1f434d72d6f509a01d75358265b3d29c56ce6fa1c2b0f95c9bd6524c21ead539418f661d1f2748b9aa7effff5023cedbc0c13c2a WHIRLPOOL 861db9572ca1dd2cfb510dbeffe74287b5c9f3706c0d82d98d77826c7bf170cb43d75174d902532f702f6e617031e23bbf83db553cbbe4ec24c3abf2568d6f89 +MISC metadata.xml 474 SHA256 ee99e122c76e0dc0a4b3fd6bec37060f9b3e770a1f47eb95ee10ef7ea373070a SHA512 f84f57d5af4931c7be60c1a333f2835ddbfa8cf0f20a3b1d8b1d22e4623e18d7226dd092a9549d0c29594272285c0a50e571ad9d091b303016eb074156285a9f WHIRLPOOL d12a3ca7b5e3ebd0ee8eaae7028518b6090c77632aafa0b51f62eb9a1d20498a819360ec8f214f21fe75adb703a94277a68dd8d1db0555be9efdb23086d498d4 diff --git a/media-libs/ganv/files/ganv-1.4.2-no-fdgl.patch b/media-libs/ganv/files/ganv-1.4.2-no-fdgl.patch new file mode 100644 index 000000000000..17cc2432d0ec --- /dev/null +++ b/media-libs/ganv/files/ganv-1.4.2-no-fdgl.patch @@ -0,0 +1,42 @@ +Index: src/Canvas.cpp +=================================================================== +--- src/Canvas.cpp (revision 5479) ++++ src/Canvas.cpp (revision 5480) +@@ -760,6 +760,18 @@ + } + #endif + ++inline uint64_t ++get_monotonic_time() ++{ ++#if GLIB_CHECK_VERSION(2, 28, 0) ++ return g_get_monotonic_time(); ++#else ++ GTimeVal time; ++ g_get_current_time(&time); ++ return time.tv_sec + time.tv_usec; ++#endif ++} ++ + #ifdef GANV_FDGL + + inline Region +@@ -788,18 +800,6 @@ + b->impl->force = vec_sub(b->impl->force, f); + } + +-inline uint64_t +-get_monotonic_time() +-{ +-#if GLIB_CHECK_VERSION(2, 28, 0) +- return g_get_monotonic_time(); +-#else +- GTimeVal time; +- g_get_current_time(&time); +- return time.tv_sec + time.tv_usec; +-#endif +-} +- + gboolean + GanvCanvasImpl::layout_iteration() + { diff --git a/media-libs/ganv/ganv-1.4.2.ebuild b/media-libs/ganv/ganv-1.4.2.ebuild new file mode 100644 index 000000000000..dafedc72ffda --- /dev/null +++ b/media-libs/ganv/ganv-1.4.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' +inherit eutils flag-o-matic waf-utils python-any-r1 + +DESCRIPTION="A GTK+ widget for interactive graph-like environments" +HOMEPAGE="http://drobilla.net/software/ganv/" +SRC_URI="http://download.drobilla.net/${P}.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+fdgl +graphviz introspection nls" + +RDEPEND=" + dev-cpp/glibmm:2 + dev-cpp/gtkmm:2.4 + x11-libs/gtk+:2 + graphviz? ( media-gfx/graphviz[gtk] ) + introspection? ( + app-text/yelp-tools + dev-libs/gobject-introspection:=[doctool] ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + nls? ( virtual/libintl ) +" + +src_prepare() { + epatch "${FILESDIR}"/${P}-no-fdgl.patch +} + +src_configure() { + append-cxxflags -std=c++11 + waf-utils_src_configure \ + $(use graphviz || echo "--no-graphviz") \ + $(use fdgl || echo "--no-fdgl") \ + $(use nls || echo "--no-nls") \ + $(use introspection && echo "--gir") +} diff --git a/media-libs/ganv/metadata.xml b/media-libs/ganv/metadata.xml new file mode 100644 index 000000000000..c803b5488254 --- /dev/null +++ b/media-libs/ganv/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>karl.j.linden@gmail.com</email> + <name>Karl Lindén</name> + </maintainer> + <maintainer type="project"> + <email>proaudio@gentoo.org</email> + <name>Gentoo ProAudio Project</name> + </maintainer> + <use> + <flag name="fdgl">Use experimental force-directed graph layout</flag> + </use> +</pkgmetadata> |