mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -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
|
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"
|
HOMEPAGE="https://github.com/lanthora/candy"
|
||||||
SRC_URI="https://github.com/lanthora/candy/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/lanthora/candy/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="+libcandy"
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
dev-libs/uriparser
|
dev-libs/uriparser
|
||||||
@@ -22,6 +23,13 @@ DEPEND="
|
|||||||
"
|
"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure(){
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DCANDY_DEVEL=$(usex libcandy true false)
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
src_install(){
|
src_install(){
|
||||||
cmake_src_install
|
cmake_src_install
|
||||||
default
|
default
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
<email>yangmame@icloud.com</email>
|
<email>yangmame@icloud.com</email>
|
||||||
<name>Xin Yang</name>
|
<name>Xin Yang</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="libcandy">Install development libraries and header files for candy</flag>
|
||||||
|
</use>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">lanthora/candy</remote-id>
|
<remote-id type="github">lanthora/candy</remote-id>
|
||||||
<maintainer>
|
<maintainer>
|
||||||
|
|||||||
Reference in New Issue
Block a user