From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 49DC013933E for ; Thu, 8 Jul 2021 09:49:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0EE3E0AA0; Thu, 8 Jul 2021 09:49:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 845D5E0AA0 for ; Thu, 8 Jul 2021 09:49:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70E79342A97 for ; Thu, 8 Jul 2021 09:49:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25B942B for ; Thu, 8 Jul 2021 09:49:16 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1625737749.3c56f061b5d7eaf320fb28a6004ea70aea017586.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/mktorrent/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/mktorrent/Manifest net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild X-VCS-Directories: net-p2p/mktorrent/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 3c56f061b5d7eaf320fb28a6004ea70aea017586 X-VCS-Branch: master Date: Thu, 8 Jul 2021 09:49:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fa106ed3-c037-4036-b1fc-1ffcbb632bb0 X-Archives-Hash: 13ba9686ddc326a02c2615b7c197496e commit: 3c56f061b5d7eaf320fb28a6004ea70aea017586 Author: Nils Freydank posteo de> AuthorDate: Thu Jul 8 09:48:31 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Jul 8 09:49:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c56f061 net-p2p/mktorrent: bump snapshot versionm, respect CC Bug: https://bugs.gentoo.org/717032 Signed-off-by: Joonas Niilola gentoo.org> net-p2p/mktorrent/Manifest | 1 + net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild | 45 ++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/net-p2p/mktorrent/Manifest b/net-p2p/mktorrent/Manifest index 6751181ee26..f8ab0acc15a 100644 --- a/net-p2p/mktorrent/Manifest +++ b/net-p2p/mktorrent/Manifest @@ -1 +1,2 @@ DIST mktorrent-4c221a05d949a3767a2671de139c6014909daf6b.tar.gz 24574 BLAKE2B e7dcc17aca52c8d1f9d816ce3e89bea5c2b1d7759dba6a00578960b253652506b7e61855d769440056aaa6b0719e6856108ca5b80977152746a648862c71e97b SHA512 49ba2697373a1b40829d50d66faaaeb57fa3893e97283ec2844b447b8e4cf2713d7c0e76e49d3893475f5ce298c3215249751defe0f952d2c52df1bf68f7706c +DIST mktorrent-de7d011b35458de1472665f50b96c9cf6c303f39.tar.gz 27939 BLAKE2B 3fbf2c98829be21394b6517f2548925fdc83c9199a209aed39a6ba5f31174e34a3290b8c01eaf55e13acd2f15100cf9ecb20073d5fa9d4d1e3b2fb7641f3418d SHA512 4194d73958ba0d43e88a167c46a24e2a92e94b43682f96079a7317fb77f9e48477eddc1556a9785e5c7e5e1745efa7679d1b6b2b41c0ba2aa6df9dae4d3eb489 diff --git a/net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild b/net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild new file mode 100644 index 00000000000..5de284de918 --- /dev/null +++ b/net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="Simple command line utility to create BitTorrent metainfo files" +HOMEPAGE="https://github.com/pobrn/mktorrent" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/pobrn/mktorrent" +else + COMMIT_ID="de7d011b35458de1472665f50b96c9cf6c303f39" + SRC_URI="https://github.com/pobrn/${PN}/archive/${COMMIT_ID}.tar.gz -> ${PN}-${COMMIT_ID}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT_ID}" +fi + +KEYWORDS="~amd64 ~arm ~x86" +LICENSE="GPL-2+" +SLOT="0" +IUSE="threads +ssl debug" + +RDEPEND=" + ssl? ( dev-libs/openssl:0= ) +" + +DEPEND="${RDEPEND}" + +src_compile() { + tc-export CC + + local myemakeargs=( + USE_LARGE_FILES=1 + DEBUG=$(usex debug) + USE_OPENSSL=$(usex ssl) + USE_PTHREADS=$(usex threads) + ) + emake "${myemakeargs[@]}" +} + +src_install() { + dobin ${PN} + dodoc README +}