1 |
commit: fcb6d7fca59107799005defe893603df5452b793 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Mon Aug 1 12:38:23 2022 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Mon Aug 1 12:38:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fcb6d7fc |
7 |
|
8 |
dev-cpp/mastodonpp: drop 0.5.7 |
9 |
|
10 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
11 |
|
12 |
dev-cpp/mastodonpp/mastodonpp-0.5.7.ebuild | 59 ------------------------------ |
13 |
1 file changed, 59 deletions(-) |
14 |
|
15 |
diff --git a/dev-cpp/mastodonpp/mastodonpp-0.5.7.ebuild b/dev-cpp/mastodonpp/mastodonpp-0.5.7.ebuild |
16 |
deleted file mode 100644 |
17 |
index 60770d518..000000000 |
18 |
--- a/dev-cpp/mastodonpp/mastodonpp-0.5.7.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,59 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-inherit cmake |
27 |
-[[ "${PV}" == "9999" ]] && inherit git-r3 |
28 |
- |
29 |
-DESCRIPTION="C++ wrapper for the Mastodon and Pleroma APIs." |
30 |
-HOMEPAGE="https://schlomp.space/tastytea/mastodonpp" |
31 |
-if [[ "${PV}" != "9999" ]]; then |
32 |
- SRC_URI="https://schlomp.space/tastytea/mastodonpp/archive/${PV}.tar.gz -> ${P}.tar.gz" |
33 |
- S="${WORKDIR}/${PN}" |
34 |
- KEYWORDS="~amd64" |
35 |
-else |
36 |
- EGIT_REPO_URI="https://schlomp.space/tastytea/mastodonpp.git" |
37 |
-fi |
38 |
- |
39 |
-LICENSE="AGPL-3" |
40 |
-SLOT="0" |
41 |
-IUSE="doc examples test" |
42 |
- |
43 |
-RDEPEND=">=net-misc/curl-7.56.0[ssl]" |
44 |
-DEPEND="${RDEPEND}" |
45 |
-BDEPEND=" |
46 |
- doc? ( app-doc/doxygen[dot] ) |
47 |
- test? ( dev-cpp/catch ) |
48 |
-" |
49 |
- |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-src_configure() { |
53 |
- local mycmakeargs=( |
54 |
- -DWITH_EXAMPLES=NO |
55 |
- -DWITH_TESTS="$(usex test)" |
56 |
- -DWITH_DOC="$(usex doc)" |
57 |
- ) |
58 |
- |
59 |
- cmake_src_configure |
60 |
-} |
61 |
- |
62 |
-src_test() { |
63 |
- BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test |
64 |
-} |
65 |
- |
66 |
-src_install() { |
67 |
- if use doc; then |
68 |
- HTML_DOCS="${BUILD_DIR}/doc/html/*" |
69 |
- fi |
70 |
- |
71 |
- if use examples; then |
72 |
- docinto examples |
73 |
- for file in examples/*.cpp; do |
74 |
- dodoc ${file} |
75 |
- done |
76 |
- fi |
77 |
- |
78 |
- cmake_src_install |
79 |
-} |