From bc30cb98ec5ec92b1a413ab7c73cd5c515b6a133 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 27 Jan 2019 04:32:11 +0100 Subject: [PATCH] dev-cpp/mastodon-cpp: Version bump 0.30.0 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07 --- dev-cpp/mastodon-cpp/Manifest | 12 +++--- ...19.0.ebuild => mastodon-cpp-0.30.0.ebuild} | 37 +++++++++---------- 2 files changed, 24 insertions(+), 25 deletions(-) rename dev-cpp/mastodon-cpp/{mastodon-cpp-0.19.0.ebuild => mastodon-cpp-0.30.0.ebuild} (72%) diff --git a/dev-cpp/mastodon-cpp/Manifest b/dev-cpp/mastodon-cpp/Manifest index ecbcff3..847d6c3 100644 --- a/dev-cpp/mastodon-cpp/Manifest +++ b/dev-cpp/mastodon-cpp/Manifest @@ -1,16 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -DIST mastodon-cpp-0.19.0.tar.gz 57052 BLAKE2B b49dc16bc47faf1db20e63a673691c931eeaf6a33ef223187da5439f685b88d3f7ddca1213981e99e501a00a62fa09abd679f31d8e7ce07e344effe16a856002 SHA512 4edea3e62740dbad809b36528e3ce6c0dceb126085e4ec08763b1aa624fdf40d9eed775864e14c2292de2299b422da5c4d9a70faf3727e2b04df0616bc1c5d64 DIST mastodon-cpp-0.20.0.tar.gz 57397 BLAKE2B 0286771f5bc1a2442284a70553404b26d888e8524b3b6140660fe91295fa932b1a6936f84cc98cff1b306d4eb89c753fd2e1f04e761ab30f0805b86836ac3e50 SHA512 f5cf2e65cb088807c1e0c853ddf1eb5e42ad371349c3177ee660547ae773082afc5c652412d24f9714445390fad3b0e0039cf4d03f23eb3ef53d1c5741a50902 -EBUILD mastodon-cpp-0.19.0.ebuild 1328 BLAKE2B ffdd28bbcf83ba8022f7cdac274ef9aba559565e037335bdd73b7063ead09a50f6665b39db1373e2bedaecfbc75ae07cf2138ea98af9ad537178b81453f923d8 SHA512 7367535a7b8b4c38ad445fc21d1298f90a50d078838de3beb5bff1215e44c018a9d8b4037d04ead0edcf5dd77964f333c5230c5400ed1b7787251a1decbd3b0f +DIST mastodon-cpp-0.30.0.tar.gz 57712 BLAKE2B 39a524131fe8edc8caccf8101522bb8b4f581612a647e727bbeeec1e2094316fc34cfec5b12d411ed7f7eb3892ebdd859984043724b3524a1c1931f5bfa41a7f SHA512 ca5cef28ab68c38526677ed635eec9a72b2f36f55994f6683561af96ba11d98a1fadcf79316b0ddc5a2f3ef207e1cf386256dea77eaeeaad8388c29e877fb42b EBUILD mastodon-cpp-0.20.0.ebuild 1277 BLAKE2B 1b03a31ccd55a2df57051ac7d1764cf67379168034c61271d79f2754405fbd27296701a034bc21573ef367e8ccbc8368c4e7bbc6704e3f4838fbe26ca400b6c2 SHA512 9475e44f7cb8c667f8792fed74b7c5c11c901a7493b9fabbad25d7f5364491519b071277fefa9c4887f35924f866b7a0f4bdd43323570d1b7694e1fd89ade041 +EBUILD mastodon-cpp-0.30.0.ebuild 1249 BLAKE2B 2d6899a3e3151c44041342073508444b639efc3c10ea70e57202a4b042b75723100ae29c5c4fe3dca55f8c8fd9f7ee76a1c4a0a39baa386da016e9c4e9ffcae1 SHA512 49b7e816e5993037006e05880ec6252c0763aed4ee3dc2c4da352159b7d04807f8d5217e9f094a3332545d8d9154fe1a31a6f605fe7b14df655486277866bf25 EBUILD mastodon-cpp-9999.ebuild 1251 BLAKE2B 7b603fc94a40492945c38bcbfc98ca7923a3fb7ed7ecb320314b0f101e6a2c59aa93f11f0628c85127bbba35d8c6c1a0bce2afacc2b3869b4f179e3c87951b57 SHA512 8960ec5223dcbdd444be5119344f345d7322a0e6181415b1d36dbb702e1fc34d3e0706d5e42e2fd24f9486588045a35a3f5c11349fc6229de4289292b9d643e0 MISC metadata.xml 529 BLAKE2B 0e315bbc4644309a5a843fca3e7c4dadda28982930c592e73201b174fc5626b45d0bcb96dfca7c1085fc059ef454957b728d139ad8a99cbddca5cda6dd431448 SHA512 85bd72c7fb3e173354877cd183a4869e733a90d200f95cf8ecf85a658f9229010298ae8e265cf3d309f022f0b242898da04249933aaca5c12c26eeec8beb71f6 -----BEGIN PGP SIGNATURE----- -iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXCUxYAAKCRDPw5SX8bJu -B2pSAP0Qvb0vYPwFxQXKt3B6cDEk8yfIx03oRtgyCW8UbDLGwQD/R/ntl3O1Zsq9 -6+fao7uWJ/SRvhMO3lHo0HlyqISIvH0= -=n49c +iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXE0mOgAKCRDPw5SX8bJu +B5f4APwO2Lnv3fACAD5n6wxhQW5AhJW7gUSKOQTVOyYo4AaamgD/eb7PFcXvkczp +oBPDPd1Z9ojNzwSaHrzAY+WPbgZBb+c= +=Vs6T -----END PGP SIGNATURE----- diff --git a/dev-cpp/mastodon-cpp/mastodon-cpp-0.19.0.ebuild b/dev-cpp/mastodon-cpp/mastodon-cpp-0.30.0.ebuild similarity index 72% rename from dev-cpp/mastodon-cpp/mastodon-cpp-0.19.0.ebuild rename to dev-cpp/mastodon-cpp/mastodon-cpp-0.30.0.ebuild index 92fa77a..30dcc45 100644 --- a/dev-cpp/mastodon-cpp/mastodon-cpp-0.19.0.ebuild +++ b/dev-cpp/mastodon-cpp/mastodon-cpp-0.30.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit cmake-utils DESCRIPTION="mastodon-cpp is a C++ wrapper for the Mastodon API." @@ -11,17 +11,17 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" IUSE="doc debug examples static-libs" -RDEPEND=">=dev-cpp/curlpp-0.8.1 - >=dev-libs/jsoncpp-1.8.4" -DEPEND=">=dev-util/cmake-3.9.6 - doc? ( >=app-doc/doxygen-1.8.14-r1 ) - ${RDEPEND}" +RDEPEND=" + >=dev-cpp/curlpp-0.8.1 + >=dev-libs/jsoncpp-1.8.4 +" +DEPEND=" + >=dev-util/cmake-3.9.6 + doc? ( >=app-doc/doxygen-1.8.14-r1 ) + ${RDEPEND} +" -src_unpack() { - default_src_unpack - - mv ${PN} ${P} -} +S="${WORKDIR}/${PN}" src_configure() { local mycmakeargs=( @@ -29,11 +29,6 @@ src_configure() { -DWITH_EXAMPLES=NO -DWITH_TESTS=NO ) - if use debug; then - mycmakeargs+=(-DCMAKE_BUILD_TYPE=Debug) - else - mycmakeargs+=(-DCMAKE_BUILD_TYPE=Release) - fi if use static-libs; then mycmakeargs+=(-DWITH_STATIC=YES) fi @@ -44,7 +39,11 @@ src_configure() { # We won't let cmake handle the documentation, because it would install the # examples, no matter if we want them. src_compile() { - cmake-utils_src_compile + if use debug; then + cmake-utils_src_compile DEBUG=1 + else + cmake-utils_src_compile + fi if use doc; then ./build_doc.sh @@ -59,7 +58,7 @@ src_install() { if use examples; then docinto examples for file in examples/*.cpp; do - dodoc ${file} + dodoc "${file}" done fi