[net-irc/znc] sync with tree

This commit is contained in:
Robert Förster 2019-01-28 22:51:18 +01:00
parent 1e01138a21
commit dda1a91dc8

View File

@ -1,13 +1,13 @@
# Copyright 1999-2019 Gentoo Authors # Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=6 EAPI=7
PYTHON_COMPAT=( python3_{4,5,6} ) PYTHON_COMPAT=( python3_{4,5,6,7} )
inherit cmake-utils python-single-r1 readme.gentoo-r1 systemd user inherit cmake-utils python-single-r1 readme.gentoo-r1 systemd user
GTEST_VER="ba96d0b1161f540656efdaed035b3c062b60e006" # 1.8.0 is too old, but newer version not released yet GTEST_VER="1.8.1"
GTEST_URL="https://github.com/google/googletest/archive/${GTEST_VER}.tar.gz -> gtest-${GTEST_VER}.tar.gz" GTEST_URL="https://github.com/google/googletest/archive/${GTEST_VER}.tar.gz -> gtest-${GTEST_VER}.tar.gz"
DESCRIPTION="An advanced IRC Bouncer" DESCRIPTION="An advanced IRC Bouncer"
@ -90,8 +90,8 @@ src_configure() {
) )
if [[ ${PV} != *9999* ]] && use test; then if [[ ${PV} != *9999* ]] && use test; then
export GTEST_ROOT="${WORKDIR}/googletest-${GTEST_VER}/googletest" export GTEST_ROOT="${WORKDIR}/googletest-release-${GTEST_VER}/googletest"
export GMOCK_ROOT="${WORKDIR}/googletest-${GTEST_VER}/googlemock" export GMOCK_ROOT="${WORKDIR}/googletest-release-${GTEST_VER}/googlemock"
fi fi
cmake-utils_src_configure cmake-utils_src_configure
@ -100,7 +100,7 @@ src_configure() {
src_test() { src_test() {
cmake-utils_src_make unittest cmake-utils_src_make unittest
if has network-sandbox ${FEATURES}; then if has network-sandbox ${FEATURES}; then
cmake-utils_src_make install DESTDIR="${T}/inttest" DESTDIR="${T}/inttest" cmake-utils_src_make install
local filter='-' local filter='-'
if ! use perl; then if ! use perl; then
filter="${filter}:ZNCTest.Modperl*" filter="${filter}:ZNCTest.Modperl*"