Gentoo Archives: gentoo-commits

From: Oliver Freyermuth <o.freyermuth@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/afc/
Date: Wed, 24 Aug 2022 18:39:52
Message-Id: 1661366382.fa45ae0029fbc4eae9f19297aa45bd83aa63ee17.freyermuth@gentoo
1 commit: fa45ae0029fbc4eae9f19297aa45bd83aa63ee17
2 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
3 AuthorDate: Wed Aug 24 18:39:42 2022 +0000
4 Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
5 CommitDate: Wed Aug 24 18:39:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa45ae00
7
8 app-misc/afc: new package, add 1.0, 9999
9
10 Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
11
12 app-misc/afc/Manifest | 1 +
13 app-misc/afc/afc-1.0.ebuild | 24 ++++++++++++++++++++++++
14 app-misc/afc/afc-9999.ebuild | 24 ++++++++++++++++++++++++
15 3 files changed, 49 insertions(+)
16
17 diff --git a/app-misc/afc/Manifest b/app-misc/afc/Manifest
18 new file mode 100644
19 index 000000000..eb8d0f639
20 --- /dev/null
21 +++ b/app-misc/afc/Manifest
22 @@ -0,0 +1 @@
23 +DIST afc-1.0.tar.gz 17012 BLAKE2B dce31a524a19a2e5c04b79b235a2c561dfc5ac794e91a0366e09d7688a9492d9541a003160afa15930e974e8719b35fe9964093eae2d08d6beb9188efed9f08c SHA512 d32d08313eda95eb124c9736f720e755e687b28f64a350b241bf50045c380a425bfd58012c2c6d016da75af9aa60d32dfb7d908a705bf1d6843c262987930da4
24
25 diff --git a/app-misc/afc/afc-1.0.ebuild b/app-misc/afc/afc-1.0.ebuild
26 new file mode 100644
27 index 000000000..8dd4cc7ce
28 --- /dev/null
29 +++ b/app-misc/afc/afc-1.0.ebuild
30 @@ -0,0 +1,24 @@
31 +# Copyright 2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="8"
35 +
36 +inherit cmake
37 +
38 +DESCRIPTION="Anime File Checker, checks CRC32 contained in filenames"
39 +HOMEPAGE="https://github.com/olifre/afc"
40 +
41 +if [[ ${PV} == *9999* ]]; then
42 + inherit git-r3
43 + EGIT_REPO_URI="https://github.com/olifre/${PN}.git"
44 +else
45 + SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
46 + KEYWORDS="~amd64 ~x86"
47 + S="${WORKDIR}/${PN}-${PV}"
48 +fi
49 +
50 +LICENSE="GPL-3+"
51 +SLOT="0"
52 +IUSE=""
53 +
54 +DEPEND="sys-libs/zlib"
55
56 diff --git a/app-misc/afc/afc-9999.ebuild b/app-misc/afc/afc-9999.ebuild
57 new file mode 100644
58 index 000000000..8dd4cc7ce
59 --- /dev/null
60 +++ b/app-misc/afc/afc-9999.ebuild
61 @@ -0,0 +1,24 @@
62 +# Copyright 2022 Gentoo Authors
63 +# Distributed under the terms of the GNU General Public License v2
64 +
65 +EAPI="8"
66 +
67 +inherit cmake
68 +
69 +DESCRIPTION="Anime File Checker, checks CRC32 contained in filenames"
70 +HOMEPAGE="https://github.com/olifre/afc"
71 +
72 +if [[ ${PV} == *9999* ]]; then
73 + inherit git-r3
74 + EGIT_REPO_URI="https://github.com/olifre/${PN}.git"
75 +else
76 + SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
77 + KEYWORDS="~amd64 ~x86"
78 + S="${WORKDIR}/${PN}-${PV}"
79 +fi
80 +
81 +LICENSE="GPL-3+"
82 +SLOT="0"
83 +IUSE=""
84 +
85 +DEPEND="sys-libs/zlib"