commit: 7fe069f18a3a69f2d63baebd4bd96437510ab8df
parent 4ccaac2f9bdd4901725155dd80e368fa283c2266
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 8 Apr 2019 10:42:09 +0200
dev-haskell/hayland: New Package
Diffstat:
2 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/dev-haskell/hayland/hayland-9999.ebuild b/dev-haskell/hayland/hayland-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CABAL_FEATURES="lib"
+
+inherit haskell-cabal git-r3
+
+DESCRIPTION="Haskell bindings to Wayland library (Waymonad fork)"
+HOMEPAGE="https://github.com/Ongy/haskell-wayland"
+EGIT_REPO_URI="https://github.com/Ongy/haskell-wayland.git"
+EGIT_SUBMODULES=()
+SLOT="0"
+LICENSE="MIT"
+
+# Shipped in GHC: process, template-haskell, time
+# Note: Build failed with =dev-haskell/c2hs-0.16.5::haskell, seems related to
+# https://github.com/haskell/c2hs/issues/192 so I upped the version
+# requirements of c2hs and language-c instead of copying from the cabal file.
+DEPEND="
+ dev-haskell/xml
+ dev-haskell/data-flags
+ dev-haskell/transformers
+ >=dev-haskell/c2hs-0.28
+ >=dev-haskell/language-c-0.7.0
+ virtual/pkgconfig
+"
+RESTRICT="test" # Assumes weston is running
diff --git a/dev-haskell/hayland/metadata.xml b/dev-haskell/hayland/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>contact@hacktivis.me</email>
+ <name>Haelwenn (lanodan) Monnier</name>
+ </maintainer>
+</pkgmetadata>