summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/barrier/Manifest1
-rw-r--r--x11-misc/barrier/barrier-2.1.2.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/x11-misc/barrier/Manifest b/x11-misc/barrier/Manifest
index 148c985..78f7f4b 100644
--- a/x11-misc/barrier/Manifest
+++ b/x11-misc/barrier/Manifest
@@ -1 +1,2 @@
DIST barrier-2.1.1.tar.gz 7229581 SHA256 775d504db6091c4dc479657fc4fc566ceb9893426664ae60c9a2bb198b562774 SHA512 668a19ba5fc2570e4eaf268f0754b894bce30008226f4cd36e182b748cbb08179d8867c7f882446f5f267c9064e12ea0dc7575e49996b4ba72bfcf396054edd8 WHIRLPOOL 62ff85492a6fb045ab76ffb79902a4e4126d5d5f3e8d91e3af0f56f0a0fec9b02cbf2c755689f8b3a254c73ea074dc7ea9702baaef683dca749da2eab05824e2
+DIST barrier-2.1.2.tar.gz 7234856 SHA256 2a6c930157adf500ff664b628fad926256b7fff9555b40c1e50bf8114efcfb3f SHA512 4fe23384daeecaba01e3318d544b09b1be60e61775880bb4fb60c8b226630a764207dcd47b33ff10d9d261add7955376f5eaf4d421b382fe8c3830bdbb6b5669 WHIRLPOOL c7201e2192b08e512f641d239d83d62df860a7c8fa6a2d838aa122ce489a00ef6ea2f8c642e28dd2a0ed34e6f60124eab00589631b0f2b64d5e038c4f8a7401f
diff --git a/x11-misc/barrier/barrier-2.1.2.ebuild b/x11-misc/barrier/barrier-2.1.2.ebuild
new file mode 100644
index 0000000..35e7822
--- /dev/null
+++ b/x11-misc/barrier/barrier-2.1.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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"
+
+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]
+ )
+ x11-base/xorg-proto
+"
+
+RDEPEND="${DEPEND}"
+
+#PATCHES=( "${FILESDIR}"/${PN}-qt5.11-port.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBARRIER_BUILD_INSTALLER=OFF
+ -DBARRIER_BUILD_GUI=$(usex qt5)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ if use qt5; then
+ newicon -s 256 "${S}"/res/${PN}.png ${PN}.png
+ newmenu "${S}"/res/${PN}.desktop ${PN}.desktop
+ fi
+}