1 # Copyright 2020-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="shadowsocks plugin for Qv2ray to support SIP003 in Qv2ray"
9 HOMEPAGE="https://github.com/Qv2ray/QvPlugin-SS"
10 EGIT_REPO_URI="${HOMEPAGE}.git"
11 EGIT_SUBMODULES=( '*' '-*/libsodium' '-*/libuv' )
14 KEYWORDS="~amd64 ~x86"
20 <net-proxy/qv2ray-2.7.0
28 "${FILESDIR}/fix.patch"
34 -DUSE_SYSTEM_SODIUM=ON
36 -DSTATIC_LINK_LIBUV=OFF
37 -DSTATIC_LINK_SODIUM=OFF
43 insinto "/usr/share/qv2ray/plugins"
45 doins "${BUILD_DIR}/libQvSSPlugin.so"