diff options
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/gtk/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/gtk/gtk-0.13.9.ebuild | 44 | ||||
-rw-r--r-- | dev-haskell/gtk/metadata.xml | 12 |
3 files changed, 50 insertions, 7 deletions
diff --git a/dev-haskell/gtk/Manifest b/dev-haskell/gtk/Manifest index 87c20a57d931..c656e0b48580 100644 --- a/dev-haskell/gtk/Manifest +++ b/dev-haskell/gtk/Manifest @@ -6,3 +6,4 @@ DIST gtk-0.13.3.tar.gz 678376 SHA256 879bbfe5a9b0bda7d1a4a7e695b39173c8a1f766745 DIST gtk-0.13.4.tar.gz 678430 SHA256 171ffd0464938b4be3cd161911d8ddbaa71e11afe786abe64b7c787986e4ccf5 SHA512 5957ea6cb87d3dedc91050757dc99035c04b63f5ac4ffaa835b4aaf7b98f380756237365e9d2873ddffbe7dbe37b95b2f8a6dbc0ffea2110c3a8c57a6a2522c7 WHIRLPOOL 4f9c437b378f1471cad231fe2d02f3f144348a0843050f37aad6a7bbe3c68eba8316059c76ba1cc1053465bedaefef7e557ca3e32bc0713c0ff8845b5543fe7b DIST gtk-0.13.6.tar.gz 686960 SHA256 4c74ab4affda49230c0f98bd67276d114484ac3857f7e8a22d1e66339dda43f6 SHA512 7b5b0c6c0c369592ab686b21332f03ddbc8fe1432ca99cba31c35073ae9bf431a2f19a51e5584c0eeb6e006790625bfbdbf302aa052cc4dcbc19f7988de57a2e WHIRLPOOL ce61c7597ac7bcd3a0f63c6eb0b85c59802ceb5f6b906b10178828576776780a4bc851402a37a4d4c0ffafb4b3715e0cd5c815633213180af6975ab0541c762c DIST gtk-0.13.7.tar.gz 684611 SHA256 323a468a71a831802ecc3c98f2d015a79516a2304b3c9f3a2013fa3b216a39d7 SHA512 12d4e7e7ed79fd2ca9e5dc09a4a97b0b89fa22c63bb62e01087da205246fc2a28a9f9bc0622316c0cd64ea110f43405320df784ebf51d8da4bf74219c6e7191c WHIRLPOOL 34098aa925f02105b2cc6e1ce8633b122a75cfd6ea9097996056c0d0ea0672fe0b14454a789959fa41d9a504901bbfac9d831a431436bf65b600b6e840e0e257 +DIST gtk-0.13.9.tar.gz 684971 SHA256 12e0097724002385207b3bb9a0339ad3d7c8d54336bf91d90827193f801ebfd5 SHA512 11ef461382b67da40d9dffda8f4cbfe086ef937affedf1ac154cb2ca306b22f03f1b00512b7ef5de49d71041b0ee2cc0ddb6761ad51524b1fbbbf740653f12a0 WHIRLPOOL 2b75c5de47e081f81685599faa78b0accbd7296654738d1c297f27686d3c98bb6a38d35d81056797b9597b769f83609983d21bbc39b3c9b911c9bb6fe7dcb922 diff --git a/dev-haskell/gtk/gtk-0.13.9.ebuild b/dev-haskell/gtk/gtk-0.13.9.ebuild new file mode 100644 index 000000000000..41a75d46950e --- /dev/null +++ b/dev-haskell/gtk/gtk-0.13.9.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.6.9999 +#hackport: flags: have-gio:gio,-have-quartz-gtk + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Binding to the Gtk+ graphical user interface library" +HOMEPAGE="http://projects.haskell.org/gtk2hs/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="2/${PV}" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+deprecated +fmode-binary +gio" + +RDEPEND=">=dev-haskell/cairo-0.13.0.0:=[profile?] <dev-haskell/cairo-0.14:=[profile?] + >=dev-haskell/glib-0.13.0.0:=[profile?] <dev-haskell/glib-0.14:=[profile?] + dev-haskell/mtl:=[profile?] + >=dev-haskell/pango-0.13.0.0:=[profile?] <dev-haskell/pango-0.14:=[profile?] + >=dev-haskell/text-0.11.0.6:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-lang/ghc-7.4.1:= + dev-libs/glib:2 + x11-libs/gtk+:2 + gio? ( >=dev-haskell/gio-0.13.0:=[profile?] <dev-haskell/gio-0.14:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18 + dev-haskell/gtk2hs-buildtools + virtual/pkgconfig +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag deprecated deprecated) \ + $(cabal_flag fmode-binary fmode-binary) \ + $(cabal_flag gio have-gio) \ + --flag=-have-quartz-gtk +} diff --git a/dev-haskell/gtk/metadata.xml b/dev-haskell/gtk/metadata.xml index 3afbbf4db337..1f100db8721e 100644 --- a/dev-haskell/gtk/metadata.xml +++ b/dev-haskell/gtk/metadata.xml @@ -7,11 +7,9 @@ based on Gtk+. Gtk+ is an extensive and mature multi-platform toolkit for creating graphical user interfaces. </longdescription> - <use> - <flag name='gio'>Depend on GIO package, thereby enabling certain features.</flag> - <flag name='fmode-binary'>Set the default file translation mode for - file I/O operations to _O_BINARY. Some GTK libraries open image - files without specifing binary mode. If you have trouble loading - gtk in ghci, then it may help to turn this option off.</flag> - </use> + <use> + <flag name="deprecated">Include definitions in this library that are considered obsolete.</flag> + <flag name="gio">Depend on GIO package, thereby enabling certain features.</flag> + <flag name="fmode-binary">Set the default file translation mode for file I/O operations to _O_BINARY.</flag> + </use> </pkgmetadata> |