Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-04-25 22:18:15 +00:00
3 changed files with 13 additions and 2 deletions

View File

@@ -1 +1 @@
DIST candy-5.5.tar.gz 50711 BLAKE2B 27788b5eb5bb01fd030afb9b275595d7b32f37d12bfc7b0c257764af49a734f55b8d569fef9523018461cac1aca7590ee527f425844f45587b7d7909ac486596 SHA512 f7676d6d8a05e799e889a9bcac25f5d743755418a4f4fb8d40fb42e8327aa5767f81c5d5b109763592d9d3a524d9ebe6841958dc30e7d2db740d7835c8d207b8
DIST candy-5.6.tar.gz 50318 BLAKE2B 3347af11fbc22af0f4c0d2b77804cf9882ccb8473d40208da808bba82895c239461dfa0098788a01b900495dddae5293baefa4b646dc8ef5ca04215aaa4bc6e3 SHA512 a50292b60eb7125e5b2e6802a0e02fe88b1da3a2a1c9503b95f95833edc5565589d0cdfe08ac09e07d0d6d62e0b8ba8bb80da027cd023a768f2841826d70d86e

View File

@@ -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

View File

@@ -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>