forked from tastytea/overlay
dev-cpp/mastodonpp: Remove package.
It's in ::guru now.
This commit is contained in:
parent
079e797971
commit
655cee5ab1
|
@ -1,2 +0,0 @@
|
|||
DIST mastodonpp-0.5.5.tar.gz 46741 BLAKE2B 2b0e3a89a2998a11c50456c1169bac755f16707ab473f6eeafa9b16c3be7337034a6a8325e02c17d6f83779511123ba90138bdafa2145bb19972f11a5a53ac39 SHA512 579e0260d31c4cd3c896f1917030d211e8a0e36ca9230829d6afa6bbc4caeea29933d015298d6bcb6c209935e70ea952c6a3d6e0cf26476765bc6cad24c1130a
|
||||
DIST mastodonpp-0.5.7.tar.gz 48181 BLAKE2B cce2b9b61c3cb88a5246888d97b5495979b15e41b1e6d5499d09f00cd24fc94b78a983d634ec28dee0d537642294542235efa261faaa3320ab905f7196b16133 SHA512 83efbd32f7cde6a19546c21d99ed1c8b747ac995b69a5e87876bd0ea0aa9c932d0d255ed2cbe5b0fe4a92aec06d6c75d455f13e9537aade31176ec757916b27a
|
|
@ -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[dot] )
|
||||
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
|
||||
}
|
|
@ -1,68 +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="~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[dot] )
|
||||
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)"
|
||||
-DWITH_DOC="$(usex doc)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
HTML_DOCS="${BUILD_DIR}/doc/html/*"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
for file in examples/*.cpp; do
|
||||
dodoc ${file}
|
||||
done
|
||||
fi
|
||||
|
||||
cmake_src_install
|
||||
}
|
|
@ -1,68 +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="~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[dot] )
|
||||
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)"
|
||||
-DWITH_DOC="$(usex doc)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
HTML_DOCS="${BUILD_DIR}/doc/html/*"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
for file in examples/*.cpp; do
|
||||
dodoc ${file}
|
||||
done
|
||||
fi
|
||||
|
||||
cmake_src_install
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@tastytea.de</email>
|
||||
<name>tastytea</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<name>tastytea</name>
|
||||
<email>tastytea@tastytea.de</email>
|
||||
</maintainer>
|
||||
<doc>https://doc.schlomp.space/mastodonpp/</doc>
|
||||
<bugs-to>https://schlomp.space/tastytea/mastodonpp/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1,5 +0,0 @@
|
|||
# tastytea <gentoo@tastytea.de> (2020-11-29)
|
||||
# The package is in the guru[1] repository now. Please use that instead. Masked
|
||||
# for removal in 30 days.
|
||||
# [1] <https://wiki.gentoo.org/wiki/Project:GURU>
|
||||
dev-cpp/mastodonpp
|
Loading…
Reference in New Issue
Block a user