mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
net-vpn/candy: update DESCRIPTION and new libandy USE flag
Signed-off-by: Xin Yang <yangmame@icloud.com> Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -5,13 +5,14 @@ EAPI=8
|
||||
|
||||
inherit cmake systemd
|
||||
|
||||
DESCRIPTION="Another virtual private network that supports peer-to-peer connections"
|
||||
DESCRIPTION="A reliable, low-latency, and anti-censorship virtual private network"
|
||||
HOMEPAGE="https://github.com/lanthora/candy"
|
||||
SRC_URI="https://github.com/lanthora/candy/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+libcandy"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/uriparser
|
||||
@@ -22,6 +23,13 @@ DEPEND="
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure(){
|
||||
local mycmakeargs=(
|
||||
-DCANDY_DEVEL=$(usex libcandy true false)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install(){
|
||||
cmake_src_install
|
||||
default
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
<email>yangmame@icloud.com</email>
|
||||
<name>Xin Yang</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="libcandy">Install development libraries and header files for candy</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">lanthora/candy</remote-id>
|
||||
<maintainer>
|
||||
|
||||
Reference in New Issue
Block a user