Deleted ebuilds.
the build failed
Details
the build failed
Details
They are still in the overlay "tastytea".
This commit is contained in:
parent
e3c765ea5b
commit
dd306268c4
|
@ -104,9 +104,6 @@ emaint sync -r tastytea
|
||||||
emerge -a dev-cpp/mastodon-cpp
|
emerge -a dev-cpp/mastodon-cpp
|
||||||
```
|
```
|
||||||
|
|
||||||
Or put the ebuild into your [local overlay](https://wiki.gentoo.org/wiki/Custom_repository) and run `ebuild <ebuild path> manifest`.
|
|
||||||
Install with `emerge mastodon-cpp`.
|
|
||||||
|
|
||||||
### DEB and RPM
|
### DEB and RPM
|
||||||
|
|
||||||
Prebuilt DEB and RPM packages for x86_64(amd64) are provided with each release.
|
Prebuilt DEB and RPM packages for x86_64(amd64) are provided with each release.
|
||||||
|
@ -168,10 +165,6 @@ To install, run `make install`.
|
||||||
|
|
||||||
### Packages
|
### 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
|
#### DEB and RPM
|
||||||
|
|
||||||
Compile with `-DWITH_DEB=ON` or `-DWITH_RPM=ON`.
|
Compile with `-DWITH_DEB=ON` or `-DWITH_RPM=ON`.
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
|
@ -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
|
|
||||||
}
|
|
Reference in New Issue