dev-cpp/mastodonpp: Remove old ebuilds.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d07623181f
commit
ccd62f646e
|
@ -1,4 +1,2 @@
|
|||
DIST mastodonpp-0.5.0.tar.gz 45469 BLAKE2B 54e6896f560dc94aeecbdf158611a5ac6400e4cca8f6389cae1d9a9e8d6b459a3a395f399d8f44152b93d368c9be1f106bd4bf939fdc962f89de455bb2fbb315 SHA512 9bfea1b0766189b6976539fd0f422833656878ee55d502c715b527c9cc75c3e9d3081a22dc45dd6b2abba0c35cb2af4b654b44fc9abcf6d215f494db8e348d98
|
||||
DIST mastodonpp-0.5.4.tar.gz 46644 BLAKE2B 48a008519eb1421d2b259ccccc2b628b888b1a509f1f33e45ad88f0d28ad10fb03e2e739ee192e8f734d8a37dff170ccff03d4dd1f11e89b8c3eba60c7b788bd SHA512 1efae5657406a8f7d3816ef12ff860ee84c63901b1f09e04393194327d2afd4ce73cd137023b208f92ec3781a28a612421018ee9f01818a10f96741a0066482e
|
||||
DIST mastodonpp-0.5.5.tar.gz 46741 BLAKE2B 2b0e3a89a2998a11c50456c1169bac755f16707ab473f6eeafa9b16c3be7337034a6a8325e02c17d6f83779511123ba90138bdafa2145bb19972f11a5a53ac39 SHA512 579e0260d31c4cd3c896f1917030d211e8a0e36ca9230829d6afa6bbc4caeea29933d015298d6bcb6c209935e70ea952c6a3d6e0cf26476765bc6cad24c1130a
|
||||
DIST mastodonpp-0.5.6.tar.gz 46847 BLAKE2B 5cb740c06fed5146ac2cbf4266f2b8d1ee7639e72412bcd58e966c393c9c642ed82a1008da2eca6f7a88a4a8305edae605600f4d4040fe35a56b6bf291c24a0f SHA512 adea9d4b054018b0ede3e9ecacbc96895c45ce85d834c921f15d60b46cd0a727d5765c6ebe668856d0b8483055112f10efa102b050f77a791a5f0312b90f8ca5
|
||||
|
|
|
@ -1,73 +0,0 @@
|
|||
# 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.56.0[ssl]"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/cmake-3.9"
|
||||
BDEPEND="doc? ( app-doc/doxygen )
|
||||
test? ( dev-cpp/catch )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
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
|
||||
}
|
|
@ -1,73 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit cmake
|
||||
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.56.0[ssl]"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/cmake-3.9"
|
||||
BDEPEND="doc? ( app-doc/doxygen )
|
||||
test? ( dev-cpp/catch )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
if [[ "${PV}" != "9999" ]]; then
|
||||
S="${WORKDIR}/${PN}"
|
||||
fi
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_EXAMPLES=NO
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use doc; then
|
||||
./build_doc.sh
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
BUILD_DIR="${BUILD_DIR}/tests" cmake_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_src_install
|
||||
}
|
Reference in New Issue
Block a user