Commit 0e0ee526 authored by James T. Lee's avatar James T. Lee
Browse files

barrier: Remove in favor of version from Gentoo

parent 4dacef1e
Pipeline #676 passed with stage
in 35 seconds
DIST barrier-2.1.2.tar.gz 7234856 BLAKE2B fa96dc7d18142c0fa0af82c9c22759558a5074a38fa7bad672477adc0214d830f44699f716833a06ef0833497b8286f3e205d94f7650d013051cf7bdb6aa8c2d SHA512 4fe23384daeecaba01e3318d544b09b1be60e61775880bb4fb60c8b226630a764207dcd47b33ff10d9d261add7955376f5eaf4d421b382fe8c3830bdbb6b5669
EBUILD barrier-2.1.2.ebuild 1193 BLAKE2B a94bedcc0ae17c052d5f99f179ebea2be6c733f0db9ba967d665195937a7c16b570ff0d2828df4c3d220ffca9e03daecc284f52a6ca3b422ebba6817f217d9c8 SHA512 c05f762ecb7eb14ca653249d1fbbeb0ba39e750905c4a28b040616c01048727e0063c767d88e09f872b5ebab741efc75bb6e2055e8bbbcd5a4b017cd58d58c32
# 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
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment