dev-cpp/mastodonpp: Version bump 0.1.0.
continuous-integration/drone/push Build is passing Details

Package-Manager: Portage-2.3.84, Repoman-2.3.16
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
tastytea 2020-01-10 20:14:16 +01:00
parent dd951a4e65
commit 8bc6821fef
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 82 additions and 5 deletions

View File

@ -1,12 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
EBUILD mastodonpp-9999.ebuild 1279 BLAKE2B f3a6073fab42aba73c313482331ab39b9ab9580e8f3b4c4aa2629c5fa4efa610049cb52b981f5f9ee779f6068ac835812a40a720299b30b581edaa4fcd0be16c SHA512 6f0f4374b06c6c828f846cc691f6352563231bbc2e1f02c152e2a361ebbc7aa1d42e5a873d4ae45a2b8a3ae9638c56eb7c0e3fa5095170cf3b599f7e541c9b2b
DIST mastodonpp-0.1.0.tar.gz 35484 BLAKE2B ab66a15b0534100bf227a6f0acbf58b95a4354bce831155c8cd88d92ebd9405c5a0bd7d197af8221dd62f63bc2bb3a93cd35b88fce2421eb20408c2f488dabfd SHA512 0d387963db26524113c533c6ef33d67c6625e0c750ae2fbb9c677e34a4627852f9433180cf35a407d139e0e30c0332a8e6dcee46971d50c5223277b706f098b4
EBUILD mastodonpp-0.1.0.ebuild 1292 BLAKE2B 4a98d9fafc5e60cb5103eb03d4758f615a34018cd04d826b536a27415cea727cc3600fae2a77389db3b6cc2f4eac6e4f24e98eac7ad0ac8abc5fd2475a91368c SHA512 bf46ea7269f3cf779ac57ad91a968a108b04dc051b05ae06c6d3cef253a77d812da584f35898d63752575805ac3ee5365ae2013aff5bae1653d98b4b934cd910
EBUILD mastodonpp-9999.ebuild 1292 BLAKE2B 4a98d9fafc5e60cb5103eb03d4758f615a34018cd04d826b536a27415cea727cc3600fae2a77389db3b6cc2f4eac6e4f24e98eac7ad0ac8abc5fd2475a91368c SHA512 bf46ea7269f3cf779ac57ad91a968a108b04dc051b05ae06c6d3cef253a77d812da584f35898d63752575805ac3ee5365ae2013aff5bae1653d98b4b934cd910
MISC metadata.xml 499 BLAKE2B 6a6a405ad996e46a46dfa3398cf51717068563287fdb3d0524085ed8aee877a89d7e24820eff148efae05ff4abe2f4f9f495a866953227b9cc51ad33b7ab0e28 SHA512 0c9085edd49a5111de52db3927a202beaf46458f7517ff9c12f7a35cbd39a8478340b3cf2c1f2974bdccfb36c4956992ae2298a17fe2d5938aa8f91803175c1e
-----BEGIN PGP SIGNATURE-----
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXhdnzAAKCRDPw5SX8bJu
B9i2AP4h88xCGUUeIOYbm33bK172CdJPknibeZQx6McVSVhg0gD9GuX3Dg7NHbew
6LBo0AXE5avGxPRwCEyeOX23UAlv8lo=
=l/BO
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXhjNCAAKCRDPw5SX8bJu
B2kYAP4odm/9ONfCsrDe2n+An9Fw5T+Zsqf6lSVM48iOqCcwpQD/eDim1YygWx5E
76H4ONFs01Bi62B58GXyI1tTrRpPgrM=
=nj0z
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,75 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
fi
DESCRIPTION="C++ wrapper for the Mastodon and Pleroma APIs."
HOMEPAGE="https://schlomp.space/tastytea/mastodonpp"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://schlomp.space/tastytea/mastodonpp.git"
else
SRC_URI="https://schlomp.space/tastytea/mastodonpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="AGPL-3"
SLOT="0"
if [[ "${PV}" == "9999" ]]; then
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
fi
IUSE="doc examples test"
RDEPEND="
>=net-misc/curl-7.32.0[ssl]
"
DEPEND="
>=dev-util/cmake-3.9
doc? ( app-doc/doxygen )
test? ( dev-cpp/catch )
${RDEPEND}
"
if [[ "${PV}" != "9999" ]]; then
S="${WORKDIR}/${PN}"
fi
src_configure() {
local mycmakeargs=(
-DWITH_EXAMPLES=NO
-DWITH_TESTS="$(usex test)"
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
if use doc; then
./build_doc.sh
fi
}
src_test() {
BUILD_DIR="${BUILD_DIR}/tests" cmake-utils_src_test
}
src_install() {
if use doc; then
HTML_DOCS="doc/html/*"
fi
if use examples; then
docinto examples
for file in examples/*.cpp; do
dodoc ${file}
done
fi
cmake-utils_src_install
}