From dd306268c493acb69343a1903777cd28d7d6ef4d Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 8 Oct 2018 18:20:05 +0200 Subject: [PATCH] Deleted ebuilds. They are still in the overlay "tastytea". --- README.md | 7 --- packages/gentoo/mastodon-cpp-0.0.0.ebuild | 67 ----------------------- packages/gentoo/mastodon-cpp-9999.ebuild | 66 ---------------------- 3 files changed, 140 deletions(-) delete mode 100644 packages/gentoo/mastodon-cpp-0.0.0.ebuild delete mode 100644 packages/gentoo/mastodon-cpp-9999.ebuild diff --git a/README.md b/README.md index c8226a7..73f2324 100644 --- a/README.md +++ b/README.md @@ -104,9 +104,6 @@ emaint sync -r tastytea emerge -a dev-cpp/mastodon-cpp ``` -Or put the ebuild into your [local overlay](https://wiki.gentoo.org/wiki/Custom_repository) and run `ebuild manifest`. -Install with `emerge mastodon-cpp`. - ### DEB and RPM Prebuilt DEB and RPM packages for x86_64(amd64) are provided with each release. @@ -168,10 +165,6 @@ To install, run `make install`. ### Packages -#### Gentoo - -Put the ebuild from `packages/gentoo` into your [local overlay](https://wiki.gentoo.org/wiki/Custom_repository) and rename it to match the desired version or use the live-ebuild (`mastodon-cpp-9999.ebuild`) to install the development version. - #### DEB and RPM Compile with `-DWITH_DEB=ON` or `-DWITH_RPM=ON`. diff --git a/packages/gentoo/mastodon-cpp-0.0.0.ebuild b/packages/gentoo/mastodon-cpp-0.0.0.ebuild deleted file mode 100644 index d452c53..0000000 --- a/packages/gentoo/mastodon-cpp-0.0.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# 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 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}" - -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 - if use static-libs; then - mycmakeargs+=(-DWITH_STATIC=YES) - 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 -} diff --git a/packages/gentoo/mastodon-cpp-9999.ebuild b/packages/gentoo/mastodon-cpp-9999.ebuild deleted file mode 100644 index 75dcd0d..0000000 --- a/packages/gentoo/mastodon-cpp-9999.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit git-r3 cmake-utils - -DESCRIPTION="mastodon-cpp is a C++ wrapper for the Mastodon API." -HOMEPAGE="https://schlomp.space/tastytea/mastodon-cpp" -EGIT_REPO_URI="https://schlomp.space/tastytea/mastodon-cpp.git" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="" -IUSE="doc debug examples static-libs" -RDEPEND=">=dev-cpp/curlpp-0.8.1 - >=dev-libs/jsoncpp-1.8.1" -DEPEND=">=dev-util/cmake-3.9.6 - doc? ( >=app-doc/doxygen-1.8.13-r1 ) - ${RDEPEND}" - -src_unpack() { - git-r3_src_unpack -} - -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 - - if use static-libs; then - mycmakeargs+=(-DWITH_STATIC=YES) - fi - - cmake-utils_src_configure -} - -# We can not let cmake handle the documentation, because it would end up in -# doc/mastodon-cpp-${PROJECT_VERSION} instead of -9999 -src_compile() { - cmake-utils_src_compile - - if use doc; then - ./build_doc.sh - fi -} - -src_install() { - cmake-utils_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 -}