summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-cairo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ml/ocaml-cairo
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ml/ocaml-cairo')
-rw-r--r--dev-ml/ocaml-cairo/Manifest4
-rw-r--r--dev-ml/ocaml-cairo/metadata.xml11
-rw-r--r--dev-ml/ocaml-cairo/ocaml-cairo-0.5.ebuild28
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-ml/ocaml-cairo/Manifest b/dev-ml/ocaml-cairo/Manifest
new file mode 100644
index 000000000000..ac2d69bda7dc
--- /dev/null
+++ b/dev-ml/ocaml-cairo/Manifest
@@ -0,0 +1,4 @@
+DIST ocaml-cairo-0.5.tar.gz 137433 SHA256 12b2468ebc8af481f2f01de0817410a1b880ab87d76498d8d904fe4c8e6ba994 SHA512 c946739e4d0e7ca1c7f2ffa547c138ad47265bc7f59da17242ee8a78a31b7a2ce777835dc3f4070963a7303891d2fba831171e0252a5bd908083e66515aba083 WHIRLPOOL 798dfd135f5646858b8b7583605be571375e8586a1c205f60add54343617ce3fa76ead720999d40c3350ac668d3629ee8d1bafd48a5c17e328058a5669d1324a
+EBUILD ocaml-cairo-0.5.ebuild 651 SHA256 556c3fc3d22636a52e8ffab5af031f8df1650e1c3db2aff57ff19166ae6ea913 SHA512 55dc54359aaee2c65f9321a042a3deb01f9cc0a57ae2185df0ef0a94b48dce4b657445881b6e8feff11b95bf1722bd5e81bad379bd9a2119e67024ed34ac8764 WHIRLPOOL 8dac1fc8d5488778378685b1fded81669b8e3b042d63db7f8bd4486a8d8aeb34a86998cf3f4ce206489fac770b4b224bc3c671fe71e49b68fcf76bc15e690193
+MISC ChangeLog 385 SHA256 92cdb4a5da779c2b3968d3952ede1c19bd16d48c54a6cb545e60cbd59db271da SHA512 9dae297cdd3c61bc9312af642872ded404b6e670e17c61ad066d0f8099921e9b2a1bbfd70eaaf200f2973f13401fa2838061cecefc49da0ba877113b277882b6 WHIRLPOOL fd4f24edb8d9c33ab0f4b420465336a2e4768da0c170f868271b6ef5dff63b8666a5e34b0588ad8a51782f4c560b0d858ba7348c84604de69cebc4d36f87323d
+MISC metadata.xml 331 SHA256 1b4495a2e9ce3801e36c845ec7b68f98118e2e23ece3b5987a5882a149803db6 SHA512 b0db3059fb2726aed36c4983d88f593c8e86c57d1ba7bea81d79f718bcee6d9b73f77aff90607f9a65c586136f50bed403c7a1c2a480da50fdb6813c73d09ea9 WHIRLPOOL 464102df936b28d939194d8f794c1acb46a9a71ce2849ec0f74f399368fb74c1a05fadfe46f54a1cbd0444634ea9d717e5b1c6187dfdd92ce22c19b731881f72
diff --git a/dev-ml/ocaml-cairo/metadata.xml b/dev-ml/ocaml-cairo/metadata.xml
new file mode 100644
index 000000000000..4f1aeadab838
--- /dev/null
+++ b/dev-ml/ocaml-cairo/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Chris00/ocaml-cairo</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-cairo/ocaml-cairo-0.5.ebuild b/dev-ml/ocaml-cairo/ocaml-cairo-0.5.ebuild
new file mode 100644
index 000000000000..627d5f40b95a
--- /dev/null
+++ b/dev-ml/ocaml-cairo/ocaml-cairo-0.5.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="OCaml Binding to Cairo"
+HOMEPAGE="https://github.com/Chris00/ocaml-cairo"
+SRC_URI="https://github.com/Chris00/ocaml-cairo/releases/download/0.5/cairo2-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-3-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="gtk"
+
+DEPEND="
+ gtk? ( dev-ml/lablgtk:= )
+ x11-libs/cairo[svg(+)]
+"
+RDEPEND="${DEPEND}"
+DOCS=( README.md )
+S="${WORKDIR}/cairo2-${PV}/"
+
+src_configure() {
+ oasis_configure_opts="$(use_enable gtk lablgtk2)" oasis_src_configure
+}