summaryrefslogtreecommitdiff
path: root/dev-haskell/glib
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/glib')
-rw-r--r--dev-haskell/glib/Manifest3
-rw-r--r--dev-haskell/glib/glib-0.13.10.0.ebuild38
-rw-r--r--dev-haskell/glib/metadata.xml16
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-haskell/glib/Manifest b/dev-haskell/glib/Manifest
new file mode 100644
index 000000000000..5b4fde9703dc
--- /dev/null
+++ b/dev-haskell/glib/Manifest
@@ -0,0 +1,3 @@
+DIST glib-0.13.10.0.tar.gz 39410 BLAKE2B 4de054903034e366becd3735c8bf4a6900e39906d0aac526e7994cd0b8dae35765e88cbbc4062b138f88f33d37b96a637980042c310220c4c05ab27e0ed637d6 SHA512 59f85b442140c12338b9fecb0f51cee5aba64793f2c9baef9b50490024f58b27f6d1a525d03cf7bbd37eae49d9a0bbd75861dfc21c95a6e24de4cc991559e402
+EBUILD glib-0.13.10.0.ebuild 976 BLAKE2B af4bc3224bbbce7b98ae9eb1965c4fb93eb522becd3db21a72bf4000c3365b87790d62b7eb22237297820691555c575ba2b775545fec0d5198fe48d0ee5a2035 SHA512 62c10607b6cea45604661983ededd5bd84fcda09ac8f31187a91584269f988e3c3269ce52ebed0dfd7e2079c67738174ba40015750a6e951e156acbb9b5b2cf9
+MISC metadata.xml 485 BLAKE2B 6a3ebfcd92e772b54fa6d41f2bbaf254c6d6d68feb050997ff3e8e655497f7e9ed7acbfbc10610fb22f9e78f49418276338d5ece4e8ade7ebdf500a832715813 SHA512 6fee5c5de9c9a771dbbc6d0ea7e061101421f962498ddd3da962d0d4acf2b45851e368b234625d1dd4352b7738e4aace4d3c78a64f104b24afa49ee3e3e98dd9
diff --git a/dev-haskell/glib/glib-0.13.10.0.ebuild b/dev-haskell/glib/glib-0.13.10.0.ebuild
new file mode 100644
index 000000000000..654997a0c298
--- /dev/null
+++ b/dev-haskell/glib/glib-0.13.10.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.2.0.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Binding to the GLIB library for Gtk2Hs"
+HOMEPAGE="https://projects.haskell.org/gtk2hs/"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="+closure-signals"
+
+GHC_BOOTSTRAP_PACKAGES=(
+ gtk2hs-buildtools
+)
+
+RDEPEND=">=dev-haskell/text-1.0.0.0:=[profile?] <dev-haskell/text-2.1:=[profile?]
+ >=dev-haskell/utf8-string-0.2:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
+ >=dev-lang/ghc-8.8.1:=
+ dev-libs/glib:2
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.0.0.0 <dev-haskell/cabal-3.11
+"
+BDEPEND=">=dev-haskell/gtk2hs-buildtools-0.13.2.0 <dev-haskell/gtk2hs-buildtools-0.14
+ virtual/pkgconfig
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag closure-signals closure_signals)
+}
diff --git a/dev-haskell/glib/metadata.xml b/dev-haskell/glib/metadata.xml
new file mode 100644
index 000000000000..53e5649323ab
--- /dev/null
+++ b/dev-haskell/glib/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <use>
+ <flag name="closure-signals">Use the the GClosure-based signals
+&#9;&#9;implementation.</flag>
+ </use>
+ <upstream>
+ <remote-id type="hackage">glib</remote-id>
+ <remote-id type="github">gtk2hs/gtk2hs</remote-id>
+ </upstream>
+</pkgmetadata>