summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Carreira <jfmcarreira@gmail.com>2018-06-08 03:37:25 +0100
committerJoao Carreira <jfmcarreira@gmail.com>2018-06-08 03:37:25 +0100
commitda770bdc2a105dfdb025e9f6673d86c58f9016a3 (patch)
tree59977d1021a75eb78b83c346f305e61486594903 /x11-misc/barrier
parentdev-python/guidata: remove optional dependencies (diff)
downloadcarreira-da770bdc2a105dfdb025e9f6673d86c58f9016a3.tar.gz
carreira-da770bdc2a105dfdb025e9f6673d86c58f9016a3.tar.bz2
carreira-da770bdc2a105dfdb025e9f6673d86c58f9016a3.zip
x11-misc/barrier: new ebuild for version 2.1.1
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'x11-misc/barrier')
-rw-r--r--x11-misc/barrier/Manifest1
-rw-r--r--x11-misc/barrier/barrier-2.1.1.ebuild63
-rw-r--r--x11-misc/barrier/metadata.xml11
3 files changed, 75 insertions, 0 deletions
diff --git a/x11-misc/barrier/Manifest b/x11-misc/barrier/Manifest
new file mode 100644
index 0000000..148c985
--- /dev/null
+++ b/x11-misc/barrier/Manifest
@@ -0,0 +1 @@
+DIST barrier-2.1.1.tar.gz 7229581 SHA256 775d504db6091c4dc479657fc4fc566ceb9893426664ae60c9a2bb198b562774 SHA512 668a19ba5fc2570e4eaf268f0754b894bce30008226f4cd36e182b748cbb08179d8867c7f882446f5f267c9064e12ea0dc7575e49996b4ba72bfcf396054edd8 WHIRLPOOL 62ff85492a6fb045ab76ffb79902a4e4126d5d5f3e8d91e3af0f56f0a0fec9b02cbf2c755689f8b3a254c73ea074dc7ea9702baaef683dca749da2eab05824e2
diff --git a/x11-misc/barrier/barrier-2.1.1.ebuild b/x11-misc/barrier/barrier-2.1.1.ebuild
new file mode 100644
index 0000000..22c253f
--- /dev/null
+++ b/x11-misc/barrier/barrier-2.1.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils cmake-utils flag-o-matic
+
+DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers"
+HOMEPAGE="https://github.com/debauchee/barrier"
+SRC_URI="
+ https://github.com/debauchee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="libressl qt5"
+RESTRICT="test"
+
+COMMON_DEPEND="
+ !libressl? ( dev-libs/openssl:* )
+ libressl? ( dev-libs/libressl )
+ net-misc/curl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ net-dns/avahi[mdnsresponder-compat]
+ )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ x11-proto/kbproto
+ x11-proto/randrproto
+ x11-proto/xextproto
+ x11-proto/xineramaproto
+ x11-proto/xproto
+"
+src_configure() {
+ local mycmakeargs=(
+ -DBARRIER_BUILD_INSTALLER=OFF
+ -DBARRIER_BUILD_GUI=$(usex qt5)
+ )
+ cmake-utils_src_configure
+}
+
+src_install () {
+
+# insinto /etc
+# newins doc/${PN}.conf.example ${PN}.conf
+
+ doman doc/${PN}c.1
+ doman doc/${PN}s.1
+
+ dodoc doc/${PN}.conf.example* ChangeLog
+}
diff --git a/x11-misc/barrier/metadata.xml b/x11-misc/barrier/metadata.xml
new file mode 100644
index 0000000..873ce5e
--- /dev/null
+++ b/x11-misc/barrier/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>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">debauchee/barrier</remote-id>
+ </upstream>
+</pkgmetadata>