1 |
commit: 3c56f061b5d7eaf320fb28a6004ea70aea017586 |
2 |
Author: Nils Freydank <holgersson <AT> posteo <DOT> de> |
3 |
AuthorDate: Thu Jul 8 09:48:31 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 8 09:49:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c56f061 |
7 |
|
8 |
net-p2p/mktorrent: bump snapshot versionm, respect CC |
9 |
|
10 |
Bug: https://bugs.gentoo.org/717032 |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
net-p2p/mktorrent/Manifest | 1 + |
14 |
net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild | 45 ++++++++++++++++++++++++ |
15 |
2 files changed, 46 insertions(+) |
16 |
|
17 |
diff --git a/net-p2p/mktorrent/Manifest b/net-p2p/mktorrent/Manifest |
18 |
index 6751181ee26..f8ab0acc15a 100644 |
19 |
--- a/net-p2p/mktorrent/Manifest |
20 |
+++ b/net-p2p/mktorrent/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST mktorrent-4c221a05d949a3767a2671de139c6014909daf6b.tar.gz 24574 BLAKE2B e7dcc17aca52c8d1f9d816ce3e89bea5c2b1d7759dba6a00578960b253652506b7e61855d769440056aaa6b0719e6856108ca5b80977152746a648862c71e97b SHA512 49ba2697373a1b40829d50d66faaaeb57fa3893e97283ec2844b447b8e4cf2713d7c0e76e49d3893475f5ce298c3215249751defe0f952d2c52df1bf68f7706c |
23 |
+DIST mktorrent-de7d011b35458de1472665f50b96c9cf6c303f39.tar.gz 27939 BLAKE2B 3fbf2c98829be21394b6517f2548925fdc83c9199a209aed39a6ba5f31174e34a3290b8c01eaf55e13acd2f15100cf9ecb20073d5fa9d4d1e3b2fb7641f3418d SHA512 4194d73958ba0d43e88a167c46a24e2a92e94b43682f96079a7317fb77f9e48477eddc1556a9785e5c7e5e1745efa7679d1b6b2b41c0ba2aa6df9dae4d3eb489 |
24 |
|
25 |
diff --git a/net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild b/net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..5de284de918 |
28 |
--- /dev/null |
29 |
+++ b/net-p2p/mktorrent/mktorrent-1.1_p20210130.ebuild |
30 |
@@ -0,0 +1,45 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+DESCRIPTION="Simple command line utility to create BitTorrent metainfo files" |
38 |
+HOMEPAGE="https://github.com/pobrn/mktorrent" |
39 |
+ |
40 |
+if [[ ${PV} == *9999 ]]; then |
41 |
+ inherit git-r3 |
42 |
+ EGIT_REPO_URI="https://github.com/pobrn/mktorrent" |
43 |
+else |
44 |
+ COMMIT_ID="de7d011b35458de1472665f50b96c9cf6c303f39" |
45 |
+ SRC_URI="https://github.com/pobrn/${PN}/archive/${COMMIT_ID}.tar.gz -> ${PN}-${COMMIT_ID}.tar.gz" |
46 |
+ S="${WORKDIR}/${PN}-${COMMIT_ID}" |
47 |
+fi |
48 |
+ |
49 |
+KEYWORDS="~amd64 ~arm ~x86" |
50 |
+LICENSE="GPL-2+" |
51 |
+SLOT="0" |
52 |
+IUSE="threads +ssl debug" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ ssl? ( dev-libs/openssl:0= ) |
56 |
+" |
57 |
+ |
58 |
+DEPEND="${RDEPEND}" |
59 |
+ |
60 |
+src_compile() { |
61 |
+ tc-export CC |
62 |
+ |
63 |
+ local myemakeargs=( |
64 |
+ USE_LARGE_FILES=1 |
65 |
+ DEBUG=$(usex debug) |
66 |
+ USE_OPENSSL=$(usex ssl) |
67 |
+ USE_PTHREADS=$(usex threads) |
68 |
+ ) |
69 |
+ emake "${myemakeargs[@]}" |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ dobin ${PN} |
74 |
+ dodoc README |
75 |
+} |