summaryrefslogtreecommitdiff
path: root/dev-libs/wlc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/wlc
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/wlc')
-rw-r--r--dev-libs/wlc/Manifest6
-rw-r--r--dev-libs/wlc/metadata.xml20
-rw-r--r--dev-libs/wlc/wlc-0.0.10.ebuild66
-rw-r--r--dev-libs/wlc/wlc-0.0.11.ebuild66
-rw-r--r--dev-libs/wlc/wlc-9999.ebuild68
5 files changed, 226 insertions, 0 deletions
diff --git a/dev-libs/wlc/Manifest b/dev-libs/wlc/Manifest
new file mode 100644
index 000000000000..e45c456a9122
--- /dev/null
+++ b/dev-libs/wlc/Manifest
@@ -0,0 +1,6 @@
+DIST wlc-0.0.10.tar.bz2 249721 BLAKE2B 7d1d1f3bb0b878912b4bcabec3046d45a243b83acedb77b0e939c10c9c08b47ac6a90bd55b0c2e7df8fd8e591aa4be3f848dbe3f6aff67670aa4ac8c716c96ba SHA512 93474b04aad6534d850d9666cb7ba2b588d8beda89d785de1d569951e3c410ec66da84cdaab5e99060e61360b9bdffa96226f20e1d1e906873edc6850c34500c
+DIST wlc-0.0.11.tar.bz2 247642 BLAKE2B 705b60eb96951e64a0f47bd5091cddb4d6bdea9553db02701fec1e3fbe3288834ae8b6bab5e193457b89c8db451497a1ba299ec6e3b283c92e56c69b1078f517 SHA512 29e7d734cee76b9d0d1fabac71bab33a7146fec8557e583be2d0e85413fa77ed938f23f3bc8728f1f0766239d5eb023ace52abb9b78d40ce1edf876185a60ea5
+EBUILD wlc-0.0.10.ebuild 1438 BLAKE2B e1ab846a29c42946c23eefb5f4e0c630a7aae1051be45e04860c680f27af2307e87021da3c8ae9ae954b0661963343d513bba60423242de6270520c7d475835f SHA512 c7734721a8644196a6fa063a94f180edb63b805eb24136831eab81955a5ee6d3e58614511116031179eff9f16fa4300f29f9e0a6e545a4f67e9b720597ff83db
+EBUILD wlc-0.0.11.ebuild 1445 BLAKE2B f6aa68b77317b6b12e3a6af690f2e93c29456c641efdd5118be56978b97a96a8539fe05ed5a0c2de90a884985a7a4cc9e78a2516b994941b571fa63d5b74a1bb SHA512 0f93dff42ece8d9d1ab50507836096bdd7937dd15e4a0605cf95f1ec540d452c576292653df6c452b96f0b0690710a3ad35ff020b258fa66aa10c06fe250dd54
+EBUILD wlc-9999.ebuild 1401 BLAKE2B aa5f303f494e93e2acf2977343d0b36549bce30729e2b0af180525652dc5667f194f3a552497ac0e4a070bb9336f4e6eeabd30e0b9c5afd147033d6ee299165a SHA512 da5672db2822bef0bef3fdaaf7ae0e8274832c037199da88b3ffc8d8462c75a6d5c53926043f3368c9d3cf5662cd4796b21e863610523788c2bfce7b8f01cea8
+MISC metadata.xml 636 BLAKE2B 05622d8580d177d4ec21689ab81e35e18b32e53d6c1fdbcc9ae5304cfa8321bdf67784264b4a2d7110d85ef049c29ba15ee0b4295d55e24d2168b19f44e1ebf2 SHA512 c798e4255d18059e8fe7bb14d63daf9373e543ec626a95fe56edb643c58d315989b4aff1660711d4b3ae93bc80d6dae27831bd6d97a381acfbc096a94dcf8df2
diff --git a/dev-libs/wlc/metadata.xml b/dev-libs/wlc/metadata.xml
new file mode 100644
index 000000000000..acd5c4be487e
--- /dev/null
+++ b/dev-libs/wlc/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>hilobakho@gmail.com</email>
+ <name>Mykyta Holubakha</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="systemd">Enable support for systemd-logind.</flag>
+ <flag name="X">Enable X11 backend.</flag>
+ <flag name="xwayland">Enable XWayland application support.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">Cloudef/wlc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/wlc/wlc-0.0.10.ebuild b/dev-libs/wlc/wlc-0.0.10.ebuild
new file mode 100644
index 000000000000..dfd3d6fd8a5a
--- /dev/null
+++ b/dev-libs/wlc/wlc-0.0.10.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A helper library for Wayland compositors"
+HOMEPAGE="https://github.com/Cloudef/wlc"
+
+SRC_URI="https://github.com/Cloudef/wlc/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="MIT ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X static-libs systemd +xwayland"
+
+RDEPEND="virtual/opengl
+ virtual/libudev
+ media-libs/mesa[wayland,gbm,gles2,egl]
+ x11-libs/libdrm
+ x11-libs/pixman
+ x11-libs/libxkbcommon
+ x11-misc/xkeyboard-config
+ dev-libs/libinput
+ dev-libs/wayland
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb[xkb]
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-wm
+ x11-libs/libXfixes
+ )
+ xwayland? (
+ x11-libs/libxcb[xkb]
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-wm
+ x11-base/xorg-server[wayland]
+ )
+ systemd? ( sys-apps/systemd sys-apps/dbus )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ >=dev-libs/wayland-protocols-1.7"
+
+src_configure() {
+ local mycmakeargs=(
+ -DWLC_BUILD_EXAMPLES=OFF
+ -DWLC_BUILD_TESTS=OFF
+
+ -DWLC_BUILD_STATIC=$(usex static-libs)
+
+ -DWLC_X11_BACKEND_SUPPORT=$(usex X)
+ -DWLC_XWAYLAND_SUPPORT=$(usex xwayland)
+
+ $(cmake-utils_use_find_package systemd Systemd)
+ $(cmake-utils_use_find_package systemd Dbus)
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ if use X && ! use xwayland; then
+ elog "xwayland use flag is required for X11 applications support"
+ fi
+}
diff --git a/dev-libs/wlc/wlc-0.0.11.ebuild b/dev-libs/wlc/wlc-0.0.11.ebuild
new file mode 100644
index 000000000000..9786fe291a83
--- /dev/null
+++ b/dev-libs/wlc/wlc-0.0.11.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A helper library for Wayland compositors"
+HOMEPAGE="https://github.com/Cloudef/wlc"
+
+SRC_URI="https://github.com/Cloudef/wlc/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="MIT ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="X static-libs systemd +xwayland"
+
+RDEPEND="virtual/opengl
+ virtual/libudev
+ media-libs/mesa[wayland,gbm,gles2,egl]
+ x11-libs/libdrm
+ x11-libs/pixman
+ x11-libs/libxkbcommon
+ x11-misc/xkeyboard-config
+ dev-libs/libinput
+ dev-libs/wayland
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb[xkb]
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-wm
+ x11-libs/libXfixes
+ )
+ xwayland? (
+ x11-libs/libxcb[xkb]
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-wm
+ x11-base/xorg-server[wayland]
+ )
+ systemd? ( sys-apps/systemd sys-apps/dbus )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ >=dev-libs/wayland-protocols-1.7"
+
+src_configure() {
+ local mycmakeargs=(
+ -DWLC_BUILD_EXAMPLES=OFF
+ -DWLC_BUILD_TESTS=OFF
+
+ -DWLC_BUILD_STATIC=$(usex static-libs)
+
+ -DWLC_X11_BACKEND_SUPPORT=$(usex X)
+ -DWLC_XWAYLAND_SUPPORT=$(usex xwayland)
+
+ $(cmake-utils_use_find_package systemd Systemd)
+ $(cmake-utils_use_find_package systemd Dbus)
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ if use X && ! use xwayland; then
+ elog "xwayland use flag is required for X11 applications support"
+ fi
+}
diff --git a/dev-libs/wlc/wlc-9999.ebuild b/dev-libs/wlc/wlc-9999.ebuild
new file mode 100644
index 000000000000..709fe5def74d
--- /dev/null
+++ b/dev-libs/wlc/wlc-9999.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit git-r3 cmake-utils
+
+DESCRIPTION="A helper library for Wayland compositors"
+HOMEPAGE="https://github.com/Cloudef/wlc"
+
+EGIT_REPO_URI="https://github.com/Cloudef/wlc.git"
+
+LICENSE="MIT ZLIB"
+SLOT="0"
+KEYWORDS=""
+IUSE="X static-libs systemd +xwayland"
+
+RDEPEND="virtual/opengl
+ virtual/libudev
+ media-libs/mesa[wayland,gbm,gles2,egl]
+ x11-libs/libdrm
+ x11-libs/pixman
+ x11-libs/libxkbcommon
+ x11-misc/xkeyboard-config
+ dev-libs/libinput
+ dev-libs/wayland
+ X? (
+ x11-libs/libX11
+ x11-libs/libxcb[xkb]
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-wm
+ x11-libs/libXfixes
+ )
+ xwayland? (
+ x11-libs/libxcb[xkb]
+ x11-libs/xcb-util-image
+ x11-libs/xcb-util-wm
+ x11-base/xorg-server[wayland]
+ )
+ systemd? ( sys-apps/systemd sys-apps/dbus )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-libs/wayland-protocols"
+
+src_configure() {
+ local mycmakeargs=(
+ -DWLC_BUILD_EXAMPLES=OFF
+ -DWLC_BUILD_TESTS=OFF
+
+ -DWLC_BUILD_STATIC=$(usex static-libs)
+
+ -DWLC_X11_BACKEND_SUPPORT=$(usex X)
+ -DWLC_XWAYLAND_SUPPORT=$(usex xwayland)
+
+ $(cmake-utils_use_find_package systemd Systemd)
+ $(cmake-utils_use_find_package systemd Dbus)
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ if use X && ! use xwayland
+ then
+ elog "xwayland use flag is required for X11 applications support"
+ fi
+}