mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
app-misc/clipboard: add missing dependency
Bug: https://bugs.gentoo.org/945016 Signed-off-by: Quincy Fleming <quincyf467@protonmail.com>
This commit is contained in:
parent
492150b8bd
commit
1b1563327d
40
app-misc/clipboard/clipboard-0.10.0-r1.ebuild
Normal file
40
app-misc/clipboard/clipboard-0.10.0-r1.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
MY_PN="Clipboard"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Cut, copy, and paste anything in your terminal"
|
||||
HOMEPAGE="https://getclipboard.app/ https://github.com/Slackadays/Clipboard"
|
||||
SRC_URI="https://github.com/Slackadays/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="debug lto wayland X"
|
||||
|
||||
DEPEND="X? ( x11-libs/libXext )
|
||||
wayland? ( dev-libs/wayland-protocols )
|
||||
dev-libs/openssl
|
||||
media-libs/alsa-lib
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DCMAKE_INSTALL_LIBDIR=$(get_libdir)"
|
||||
"-DCMAKE_C_FLAGS=$(usex debug "${CFLAGS}" "${CFLAGS} -DNDEBUG")"
|
||||
"-DCMAKE_CXX_FLAGS=$(usex debug "${CXXFLAGS}" "${CXXFLAGS} -DNDEBUG")"
|
||||
"-DNO_WAYLAND=$(usex !wayland)"
|
||||
"-DNO_X11=$(usex !X)"
|
||||
"-DNO_LTO=$(usex !lto)"
|
||||
"-DNO_ALSA=no"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user