diff options
author | Akinori Hattori <hattya@gentoo.org> | 2020-02-08 18:21:45 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2020-02-08 18:22:46 +0900 |
commit | 1e1e34afe459f2d22b21e4bbe09eaf18c7828d75 (patch) | |
tree | 8b6047aa6e943000c8f2cca0ac29e487b87740ed /dev-scheme/gauche-gtk | |
parent | x11-misc/xlockmore: Clean up patch (diff) | |
download | gentoo-1e1e34afe459f2d22b21e4bbe09eaf18c7828d75.tar.gz gentoo-1e1e34afe459f2d22b21e4bbe09eaf18c7828d75.tar.bz2 gentoo-1e1e34afe459f2d22b21e4bbe09eaf18c7828d75.zip |
dev-scheme/gauche-gtk: drop x11-libs/gtkglext dependency
Closes: https://bugs.gentoo.org/698960
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-scheme/gauche-gtk')
-rw-r--r-- | dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch | 14 | ||||
-rw-r--r-- | dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1-r1.ebuild (renamed from dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild) | 35 | ||||
-rw-r--r-- | dev-scheme/gauche-gtk/metadata.xml | 3 |
3 files changed, 3 insertions, 49 deletions
diff --git a/dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch b/dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch deleted file mode 100644 index 36a723fee98d..000000000000 --- a/dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/glgd/glgdGraph.c -+++ b/glgd/glgdGraph.c -@@ -19,11 +19,7 @@ - #define GLGDGRAPH_CAMORBIT (0) - #define GLGDGRAPH_NODENAME (1) - #define GLGDGRAPH_LINKNAME (2) --#ifdef __MINGW32__ - #define _MAXFLT (HUGE_VAL) --#else /*!__MINGW32__*/ --#define _MAXFLT (HUGE) --#endif /*!__MINGW32__*/ - #define _PANGO_DPI (72) - #define _PANGO_SCALE (3) - #define _TEXW (1024) diff --git a/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild b/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1-r1.ebuild index 408f80d26af2..fc572995a607 100644 --- a/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild +++ b/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1-r1.ebuild @@ -15,17 +15,13 @@ SRC_URI="https://github.com/shirok/${PN^g}2/archive/${PV_COMMIT}.tar.gz -> ${MY_ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~ppc x86" -IUSE="examples glgd nls opengl" +IUSE="examples" RESTRICT="test" +RDEPEND="x11-libs/gtk+:2 + dev-scheme/gauche" DEPEND="${RDEPEND} virtual/pkgconfig" -RDEPEND="x11-libs/gtk+:2 - dev-scheme/gauche - opengl? ( - x11-libs/gtkglext - dev-scheme/gauche-gl - )" S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}"/${PN}-glgd.patch ) @@ -35,23 +31,6 @@ src_prepare() { eautoconf } -src_configure() { - local myconf=() - if use opengl; then - if use glgd; then - if use nls; then - myconf+=( --enable-glgd-pango ) - else - myconf+=( --enable-glgd ) - fi - else - myconf+=( --enable-gtkgl ) - fi - fi - - econf "${myconf[@]}" -} - src_compile() { emake stubs emake @@ -67,13 +46,5 @@ src_install() { # install gtk-tutorial docinto examples/gtk-tutorial dodoc examples/gtk-tutorial/* - if use opengl; then - # install gtkglext - dodoc -r examples/gtkglext - if use glgd; then - # install glgd - dodoc -r examples/glgd - fi - fi fi } diff --git a/dev-scheme/gauche-gtk/metadata.xml b/dev-scheme/gauche-gtk/metadata.xml index 4dd4d4ed3fd8..fe87f96ca80e 100644 --- a/dev-scheme/gauche-gtk/metadata.xml +++ b/dev-scheme/gauche-gtk/metadata.xml @@ -8,9 +8,6 @@ <longdescription> Gauche extension module to use GTK. </longdescription> - <use> - <flag name="glgd">Enable GL graph draw</flag> - </use> <upstream> <remote-id type="github">shirok/Gauche-gtk2</remote-id> </upstream> |