Browse Source

dev-cpp/mastodon-cpp: Version bumb to 0.20.0

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
tastytea 1 week ago
parent
commit
275c5787f6
Signed by: tastytea <tastytea@tastytea.de> GPG Key ID: CFC39497F1B26E07
2 changed files with 73 additions and 4 deletions
  1. 6
    4
      dev-cpp/mastodon-cpp/Manifest
  2. 67
    0
      dev-cpp/mastodon-cpp/mastodon-cpp-0.20.0.ebuild

+ 6
- 4
dev-cpp/mastodon-cpp/Manifest View File

@@ -2,13 +2,15 @@
2 2
 Hash: SHA256
3 3
 
4 4
 DIST mastodon-cpp-0.19.0.tar.gz 57052 BLAKE2B b49dc16bc47faf1db20e63a673691c931eeaf6a33ef223187da5439f685b88d3f7ddca1213981e99e501a00a62fa09abd679f31d8e7ce07e344effe16a856002 SHA512 4edea3e62740dbad809b36528e3ce6c0dceb126085e4ec08763b1aa624fdf40d9eed775864e14c2292de2299b422da5c4d9a70faf3727e2b04df0616bc1c5d64
5
+DIST mastodon-cpp-0.20.0.tar.gz 57397 BLAKE2B 0286771f5bc1a2442284a70553404b26d888e8524b3b6140660fe91295fa932b1a6936f84cc98cff1b306d4eb89c753fd2e1f04e761ab30f0805b86836ac3e50 SHA512 f5cf2e65cb088807c1e0c853ddf1eb5e42ad371349c3177ee660547ae773082afc5c652412d24f9714445390fad3b0e0039cf4d03f23eb3ef53d1c5741a50902
5 6
 EBUILD mastodon-cpp-0.19.0.ebuild 1328 BLAKE2B ffdd28bbcf83ba8022f7cdac274ef9aba559565e037335bdd73b7063ead09a50f6665b39db1373e2bedaecfbc75ae07cf2138ea98af9ad537178b81453f923d8 SHA512 7367535a7b8b4c38ad445fc21d1298f90a50d078838de3beb5bff1215e44c018a9d8b4037d04ead0edcf5dd77964f333c5230c5400ed1b7787251a1decbd3b0f
7
+EBUILD mastodon-cpp-0.20.0.ebuild 1328 BLAKE2B ffdd28bbcf83ba8022f7cdac274ef9aba559565e037335bdd73b7063ead09a50f6665b39db1373e2bedaecfbc75ae07cf2138ea98af9ad537178b81453f923d8 SHA512 7367535a7b8b4c38ad445fc21d1298f90a50d078838de3beb5bff1215e44c018a9d8b4037d04ead0edcf5dd77964f333c5230c5400ed1b7787251a1decbd3b0f
6 8
 EBUILD mastodon-cpp-9999.ebuild 1306 BLAKE2B 0b498be36ab2fb16ecfe395648a0f106c7bbf421af791baf631f40a154f1a9e3439313fa871744d2f9eeb461471672834248721dff1b202e256ed95d9ff1b69a SHA512 ff89fb03effda1320894a342025df0895fd1f9517820392a90cef6baa1669f6308d9c857c2c6d4d5184724a698f930fb04ab73ff8b0a6b8895fb3caebb8220d4
7 9
 MISC metadata.xml 529 BLAKE2B 0e315bbc4644309a5a843fca3e7c4dadda28982930c592e73201b174fc5626b45d0bcb96dfca7c1085fc059ef454957b728d139ad8a99cbddca5cda6dd431448 SHA512 85bd72c7fb3e173354877cd183a4869e733a90d200f95cf8ecf85a658f9229010298ae8e265cf3d309f022f0b242898da04249933aaca5c12c26eeec8beb71f6
8 10
 -----BEGIN PGP SIGNATURE-----
9 11
 
10
-iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXAZXyAAKCRDPw5SX8bJu
11
-B1hBAQCHav2p51GJf2mTBdHyr3G7T4i0c0//E54IXv/kDiaxHgD/Zig/wXpB4OM5
12
-VxuvtuhUsnjvrpMes00G17SJLgNJQVQ=
13
-=ipRP
12
+iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXAZYPwAKCRDPw5SX8bJu
13
+B9okAP0eqOZwd8/l6GKXy97ciohLkb5kYTU6ioqaig3dEgPsIwD/ZrJAh+42vR8y
14
+CqyTe0tNHO6nFfOog1Y9OLJP+nHv4Wc=
15
+=fu4P
14 16
 -----END PGP SIGNATURE-----

+ 67
- 0
dev-cpp/mastodon-cpp/mastodon-cpp-0.20.0.ebuild View File

@@ -0,0 +1,67 @@
1
+# Copyright 1999-2018 Gentoo Authors
2
+# Distributed under the terms of the GNU General Public License v2
3
+
4
+EAPI=6
5
+inherit cmake-utils
6
+
7
+DESCRIPTION="mastodon-cpp is a C++ wrapper for the Mastodon API."
8
+HOMEPAGE="https://schlomp.space/tastytea/mastodon-cpp"
9
+SRC_URI="https://schlomp.space/tastytea/mastodon-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
10
+LICENSE="GPL-3"
11
+SLOT="0"
12
+KEYWORDS="~amd64"
13
+IUSE="doc debug examples static-libs"
14
+RDEPEND=">=dev-cpp/curlpp-0.8.1
15
+		 >=dev-libs/jsoncpp-1.8.4"
16
+DEPEND=">=dev-util/cmake-3.9.6
17
+		doc? ( >=app-doc/doxygen-1.8.14-r1 )
18
+		${RDEPEND}"
19
+
20
+src_unpack() {
21
+	default_src_unpack
22
+
23
+	mv ${PN} ${P}
24
+}
25
+
26
+src_configure() {
27
+	local mycmakeargs=(
28
+		-DWITH_DOC=NO
29
+		-DWITH_EXAMPLES=NO
30
+		-DWITH_TESTS=NO
31
+	)
32
+	if use debug; then
33
+		mycmakeargs+=(-DCMAKE_BUILD_TYPE=Debug)
34
+	else
35
+		mycmakeargs+=(-DCMAKE_BUILD_TYPE=Release)
36
+	fi
37
+	if use static-libs; then
38
+		mycmakeargs+=(-DWITH_STATIC=YES)
39
+	fi
40
+
41
+	cmake-utils_src_configure
42
+}
43
+
44
+# We won't let cmake handle the documentation, because it would install the
45
+# examples, no matter if we want them.
46
+src_compile() {
47
+	cmake-utils_src_compile
48
+
49
+	if use doc; then
50
+		./build_doc.sh
51
+	fi
52
+}
53
+
54
+src_install() {
55
+	if use doc; then
56
+		HTML_DOCS="doc/html/*"
57
+	fi
58
+
59
+	if use examples; then
60
+		docinto examples
61
+		for file in examples/*.cpp; do
62
+			dodoc ${file}
63
+		done
64
+	fi
65
+
66
+	cmake-utils_src_install
67
+}

Loading…
Cancel
Save