summaryrefslogtreecommitdiff
path: root/dev-libs/tntnet
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-27 09:11:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-27 09:11:36 +0100
commite67c9b35124c5b3338943cf7793fe4402f03ad0f (patch)
treeae666570705e3bb470ce37171e065978b46063f5 /dev-libs/tntnet
parent9e68aee0e16e4b361fe06f9566c74b4bb2a22a27 (diff)
gentoo auto-resync : 27:05:2023 - 09:11:36
Diffstat (limited to 'dev-libs/tntnet')
-rw-r--r--dev-libs/tntnet/Manifest2
-rw-r--r--dev-libs/tntnet/tntnet-3.0.ebuild25
2 files changed, 19 insertions, 8 deletions
diff --git a/dev-libs/tntnet/Manifest b/dev-libs/tntnet/Manifest
index 17d7b849c499..ee6e5ad3ed5c 100644
--- a/dev-libs/tntnet/Manifest
+++ b/dev-libs/tntnet/Manifest
@@ -1,5 +1,5 @@
AUX tntnet-3.0-autoconf-2.70.patch 2238 BLAKE2B 65b5cd276f35ce4b046dc1b6ce4be086935eba283266520b7ba07db6e83b066dc6233d40f80e13131c64e28412ef7974326339f5b2d694a8c2e87b5610dea3bc SHA512 7cebddc0e366499935874706a58620e5f277d5f39a1644733895d2899a97818313e70168c9d9ec91313c9afe9e2a513367b99c109e3b6065c5ab2a688ec05a80
AUX tntnet-3.initd 550 BLAKE2B b31fd930b69c62c3439096c8de229a256d3f77cb18be752902b577950bb757cb06bd0f19005b25405c263f64d0d8db5d18b0b914d552a25875620c8c44ce090d SHA512 1be6437278de9319806a7fd4ef8cfb7674e4c04b156c2342f850d8ee9aa33c4c490cb64243592f1d6605e96cb51192216f859eac2a59e7aaea8d2730a9dedc0a
DIST tntnet-3.0.tar.gz 879598 BLAKE2B 34cbabc52eb28be051da8593eb32d66aa701785be4002056d9be34d28871ae886a87eb1d66e71393a9f9d96110a3d826acead6c6db5c6f2829db797ac449b82e SHA512 5fe1f8750e10537919174e953be92b73e12a9227c50a02dcf2f23a266304ad3ad77d29823e8cdd3e2fa92dba936c2624f140943d021790e8137609bbeb0d3d81
-EBUILD tntnet-3.0.ebuild 1450 BLAKE2B 699723d62961e3947f071f77dd1187e208b0bf16843c423150dd434de3601fb5e03d990dbac66ef11e5cfd80dd4b4f7af30255e0aec395ccda2316c766bb3d1b SHA512 dff4d70ca22949d77d0a3badabb1a932c29e357b3dfec27f8918d6fe13ef5f0a2a3157278aa125923799e1283f88935583cfe37ccb5ca7fdce3bc9c2ccf616a3
+EBUILD tntnet-3.0.ebuild 1588 BLAKE2B e99feb1e11ae7d57a686d6a05f36ad82cf130379f558a681a5690e28b38f1548bef32facc5337f5eed10b4de283ac4b60c75e12320a41513bc50fad8ef679edf SHA512 f0fea0aabf3f2c497223f3a45c2bcd1ab745d2e1b16e5ed3aed146c071bd3c6f032e8ab473baf77da817df468bf0f204f573d5ff081d6e4c574e3771d21126b6
MISC metadata.xml 240 BLAKE2B 43a057a50b017443033b45b0352b2139fcfa48d7cd9f401e489e96cb54a31fe6ce794f64d7a54021bb0b2775670d8c993a72395d13a7a897d6696dc42da32c5e SHA512 d698acaa1870f83ca3efa2b4c95d86652b8b772bdba9d6fe68e21bb2dc5ba33f2ab5b51513b63b4965ac6d007315260c5b07c6e17e84a7d0c2a0e39ed753586c
diff --git a/dev-libs/tntnet/tntnet-3.0.ebuild b/dev-libs/tntnet/tntnet-3.0.ebuild
index 24ed5d0c4ea1..af01d14155c8 100644
--- a/dev-libs/tntnet/tntnet-3.0.ebuild
+++ b/dev-libs/tntnet/tntnet-3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,9 +12,11 @@ SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~sparc x86"
-IUSE="doc gnutls server ssl"
+IUSE="doc gnutls server ssl test"
+RESTRICT="!test? ( test )"
-RDEPEND=">=dev-libs/cxxtools-3.0
+RDEPEND="
+ >=dev-libs/cxxtools-3.0
sys-libs/zlib[minizip]
ssl? (
gnutls? (
@@ -24,10 +26,13 @@ RDEPEND=">=dev-libs/cxxtools-3.0
!gnutls? (
dev-libs/openssl:0=
)
- )"
+ )
+"
DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig
- app-arch/zip"
+BDEPEND="
+ app-arch/zip
+ virtual/pkgconfig
+"
PATCHES=(
"${FILESDIR}/${PN}-3.0-autoconf-2.70.patch"
@@ -48,7 +53,7 @@ src_prepare() {
}
src_configure() {
- local myconf=""
+ local myconf="$(use_enable test unittest)"
if ! use server; then
myconf="${myconf} --disable-server"
@@ -57,6 +62,12 @@ src_configure() {
econf ${myconf}
}
+src_test() {
+ cd test || die
+ emake || die
+ ./tntnet-test || die
+}
+
src_install() {
emake DESTDIR="${D}" install