forked from tastytea/overlay
dev-cpp/mastodon-cpp: Added 0.18.2
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
parent
391cbb0419
commit
506e216d69
|
@ -1,8 +1,10 @@
|
|||
DIST mastodon-cpp-0.15.1.tar.gz 54270 BLAKE2B c5f01dcc615cb5a94dc40adbbdf47a4253472d752b63a04ac29b99ece3a67cbe5aedc955683a35492aa8d96f3975a443444fffed2d5d2c6055de5762a1f10aff SHA512 fe72c4cb0d8f15d01290f9fec317bc7c49b3d9fc2460f04f1639e3ae658bd1b1c1ad4f29c84efccac86a140584ca62dafa17ab14469bc3242d767b3cecb0a4ac
|
||||
DIST mastodon-cpp-0.16.1.tar.gz 55378 BLAKE2B c1d02b5554f57df105666fe7d0fa3bc28113691de9c67e0bdd591e3fe1f0b6201bc0069814d317740e047b3a2dd105f4d471818f73c320c3d711236648b38caf SHA512 15f7e34090cc058be309dd2b89fb96f4f704e351de0414eb19afefad7f6f0d60b56d20606cf8206772370199e9e32e09c349a26c36b2503d420ed561db2107af
|
||||
DIST mastodon-cpp-0.17.1.tar.gz 57343 BLAKE2B 52e6a4981ea083821dd04ff32dcb7a387210986272abed9a3f0024da473a7d47c7174861323ecd4871e4426f9d22d42ca305cc51c9928b8de278fe4d30841fa4 SHA512 caec275990e2e5e2fddf6c25044ac8b2af2da8ac05f0084c726a452d147f88f69269c238c6cc47a23696285b8181fbd5fc201899e5cac8815c80fd43dc87dce1
|
||||
DIST mastodon-cpp-0.18.2.tar.gz 56903 BLAKE2B 9ba738b967585113cc6cb756c927e2d8a0bb4c1ee034c68f2f4a6becc2defb118dd878eea788614e86a9cf9d9ec64627f34fc35a80c72372104c2420a11acfc5 SHA512 1e27a449e9c006d26b3b2e920f1428ab614d29568164e0dd2e1f4794419e190214117e17c73f527ea0bc2d2f6763400ec19cc52db3689ca6c1fda42b19e3d263
|
||||
EBUILD mastodon-cpp-0.15.1.ebuild 1251 BLAKE2B 479f9ce5d9131978a6bc3b70ffcebf93f55a3cbe75b5e702db5e8d18184e5ba31e94b0283a1546fd57d6585f2b17a3f1b7c67241d6293a524b1d61ccabdebe1a SHA512 2b5f1c4f5c134065fd35f1440f5fb0da28e3ac512f121fca4d3f52485591ebcc63d894981de9960b2ccdcd645e217579d98bfda7571494c26e2e132729c49f84
|
||||
EBUILD mastodon-cpp-0.16.1.ebuild 1251 BLAKE2B 479f9ce5d9131978a6bc3b70ffcebf93f55a3cbe75b5e702db5e8d18184e5ba31e94b0283a1546fd57d6585f2b17a3f1b7c67241d6293a524b1d61ccabdebe1a SHA512 2b5f1c4f5c134065fd35f1440f5fb0da28e3ac512f121fca4d3f52485591ebcc63d894981de9960b2ccdcd645e217579d98bfda7571494c26e2e132729c49f84
|
||||
EBUILD mastodon-cpp-0.17.1.ebuild 1254 BLAKE2B 009b000f3747cc7197a7ba27399ab3bc5f863b020aa822b1db5d262b51291f8214167bbfcfaf5d3ea2c9e0f3d39490447d0a2762583b35cd069656c594932d00 SHA512 18a6c798aa3d32476222ea3fc0e877454ebbeb8d849c8834eb8f888386685a52efc68c0424ecc9a97d1e9cff78897050b7a9857e4896d119ff4a6b68f2d1b245
|
||||
EBUILD mastodon-cpp-0.18.2.ebuild 1254 BLAKE2B 009b000f3747cc7197a7ba27399ab3bc5f863b020aa822b1db5d262b51291f8214167bbfcfaf5d3ea2c9e0f3d39490447d0a2762583b35cd069656c594932d00 SHA512 18a6c798aa3d32476222ea3fc0e877454ebbeb8d849c8834eb8f888386685a52efc68c0424ecc9a97d1e9cff78897050b7a9857e4896d119ff4a6b68f2d1b245
|
||||
EBUILD mastodon-cpp-9999.ebuild 1228 BLAKE2B f2e7fa0a9148090c221ca450411a365af150c0ce27e2eb4f3828e8983eabd264eec516d1684869bcb68ae96c372637f4e0c5170d954ff1bbc2b5b4b727108765 SHA512 d321c7c4999ee8b5fc4f247326d6e0435ea927e9bcca80ea65e6ea7da66030a51f246da0d40860bde1009dec5ab69dcec0e3496bc0c53fb4cf6317fab29eadaf
|
||||
MISC metadata.xml 529 BLAKE2B 0e315bbc4644309a5a843fca3e7c4dadda28982930c592e73201b174fc5626b45d0bcb96dfca7c1085fc059ef454957b728d139ad8a99cbddca5cda6dd431448 SHA512 85bd72c7fb3e173354877cd183a4869e733a90d200f95cf8ecf85a658f9229010298ae8e265cf3d309f022f0b242898da04249933aaca5c12c26eeec8beb71f6
|
||||
|
|
64
dev-cpp/mastodon-cpp/mastodon-cpp-0.18.2.ebuild
Normal file
64
dev-cpp/mastodon-cpp/mastodon-cpp-0.18.2.ebuild
Normal file
|
@ -0,0 +1,64 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="mastodon-cpp is a C++ wrapper for the Mastodon API."
|
||||
HOMEPAGE="https://schlomp.space/tastytea/mastodon-cpp"
|
||||
SRC_URI="https://schlomp.space/tastytea/mastodon-cpp/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc debug examples"
|
||||
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}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_DOC=NO
|
||||
-DWITH_EXAMPLES=NO
|
||||
-DWITH_TESTS=NO
|
||||
)
|
||||
if use debug; then
|
||||
mycmakeargs+=(-DCMAKE_BUILD_TYPE=Debug)
|
||||
else
|
||||
mycmakeargs+=(-DCMAKE_BUILD_TYPE=Release)
|
||||
fi
|
||||
|
||||
cmake-utils_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 doc; then
|
||||
./build_doc.sh
|
||||
fi
|
||||
}
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user