forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reported-by: Red Closes: https://bugs.gentoo.org/736563 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <[email protected]>
- Loading branch information
Sergei Trofimovich
committed
Aug 12, 2020
1 parent
8ed5acd
commit e887284
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST gtk3-0.14.9.tar.gz 676542 BLAKE2B d2aeec5fd59dfe71e6c62e6abf60370f12ca8d7a3d3716593151a2f7697e8b53bbf4e8c094df1a2162703422cfb390407c8a83b564fed78c16f94d3d07036122 SHA512 aaf2a257c74f5b0a569d0e61aef535e2f0c8158feb34bed523c7aff31cf155098f93d3a88ba49bea906ae669bf63fb0486f4c747a620c2199c2e7859486e7270 | ||
DIST gtk3-0.15.5.tar.gz 677124 BLAKE2B a6a21411fb0af55dd718b2b3b63e303d05c8636ad19ed82935ce9263f29b05f85775ee0b7123ba9b6671dcf798fbdabbdbb9831e0b1e48a2663a8c2bbfd5d5e9 SHA512 937b250f04e797b821d560a768f9eaee448f2d2d98571b6ef401de44177f50861f557e653afc7f055dfa2e15180dca9d82e36469f0fb97dff5a170ebc6c62519 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
# ebuild generated by hackport 0.6.4.9999 | ||
#hackport: flags: have-gio:gio,build-demos:examples | ||
|
||
CABAL_FEATURES="lib profile haddock hoogle hscolour" | ||
inherit haskell-cabal | ||
|
||
DESCRIPTION="Binding to the Gtk+ 3 graphical user interface library" | ||
HOMEPAGE="http://projects.haskell.org/gtk2hs/" | ||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" | ||
|
||
LICENSE="LGPL-2.1" | ||
SLOT="0/${PV}" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="+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+:3 | ||
gio? ( >=dev-haskell/gio-0.13.0:=[profile?] <dev-haskell/gio-0.14:=[profile?] ) | ||
" | ||
DEPEND="${RDEPEND} | ||
>=dev-haskell/cabal-1.24 <dev-haskell/cabal-3.3 | ||
>=dev-haskell/gtk2hs-buildtools-0.13.2.0 <dev-haskell/gtk2hs-buildtools-0.14 | ||
virtual/pkgconfig | ||
" | ||
|
||
src_configure() { | ||
haskell-cabal_src_configure \ | ||
$(cabal_flag fmode-binary fmode-binary) \ | ||
$(cabal_flag gio have-gio) | ||
} |