diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2023-08-18 11:22:37 +0000 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-09-01 20:15:23 +0300 |
commit | fe41a4b515164e4a457e073e98a59d1ec8efa673 (patch) | |
tree | 2e47c1ccc2267a959a7ced98278516d6a2a19822 /dev-db/mydumper | |
parent | dev-python/pyglet: Stabilize 2.0.9 amd64, #913443 (diff) | |
download | gentoo-fe41a4b515164e4a457e073e98a59d1ec8efa673.tar.gz gentoo-fe41a4b515164e4a457e073e98a59d1ec8efa673.tar.bz2 gentoo-fe41a4b515164e4a457e073e98a59d1ec8efa673.zip |
dev-db/mydumper: add 0.15.1.3
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-db/mydumper')
-rw-r--r-- | dev-db/mydumper/Manifest | 1 | ||||
-rw-r--r-- | dev-db/mydumper/mydumper-0.15.1.3.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-db/mydumper/Manifest b/dev-db/mydumper/Manifest index 6b3188a1ff87..8b067df8fd3a 100644 --- a/dev-db/mydumper/Manifest +++ b/dev-db/mydumper/Manifest @@ -1,3 +1,4 @@ DIST mydumper-0.13.1-2.tar.gz 154913 BLAKE2B 9c44ca368737fc87ed6138756909721dbdbddeb9ccef78b536dfe705da8e4a73ad5e084d08fef795c7535c33d47b25e631ce66f3c2638058fae2d37cb36b3a13 SHA512 6b6e411896e2527d02a1a7ecd4d6c6103f8bad0a67f41aea4ccd66285a86a9ba8dd0663f163a27f38a6130c9caf69bb3b9b9c5ae36a196de4ac03aff4dd87424 DIST mydumper-0.14.4-1.tar.gz 176715 BLAKE2B 8d43fe658cc2e96e0af7d80588d281bbea1f253930eb92cc9007fefcaaa50b88395b7e6a31e02b6cd04df5060e8e50a46e65e47d6d936ef95cc005c2ceee3d8b SHA512 cb5e4c1e971a37d686e38c6523bc22bff081c94c4b862c4be66d172078fe48b6a589b74837dd0f7bbbe7c54f4acfb551bcf1e84c6337eb88f5d966efda750609 DIST mydumper-0.14.5-2.tar.gz 177402 BLAKE2B bcd2658e1d8e452803608f27ed1b2ccc6fe428fcb44117f88a5cb0e6de1536f89c1f0768020da2d954a95cc20fe1315af8a38f477aee7c394540fbb4f001ac8d SHA512 d19c22fb3932f7428f560dcd7cdafc92e035f924ee35320048eca2067e75a297a44aaf08c6f124ef55c604c34311be2eeb0858c6d41be5ea73a68c8c0afa66ab +DIST mydumper-0.15.1-3.tar.gz 165488 BLAKE2B 696a725528ad4e32ef6a53f29770a74ecadf55640421f744e49d033c2107050d35950fbd407d0d755159c05c662c92d0cb95e21b8595f43dcd2a95cc324194be SHA512 5e62ca872d3bd763a0a2782413fc90875e5b8159a3861eb2c3ec4c8d6ddb9bb6b33998cafdcdc4c014915b436ee89fde1674de0f90c7bec09f0474a7c76bc62d diff --git a/dev-db/mydumper/mydumper-0.15.1.3.ebuild b/dev-db/mydumper/mydumper-0.15.1.3.ebuild new file mode 100644 index 000000000000..0ce03f7bfbe7 --- /dev/null +++ b/dev-db/mydumper/mydumper-0.15.1.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PV="$(ver_rs 3 -)" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A high-performance multi-threaded backup (and restore) toolset for MySQL" +HOMEPAGE="https://github.com/maxbube/mydumper" +SRC_URI="https://github.com/maxbube/mydumper/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="app-arch/zstd + dev-db/mysql-connector-c:= + dev-libs/glib:2 + dev-libs/libpcre + dev-libs/openssl:= + sys-libs/zlib:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + doc? ( dev-python/sphinx )" + +PATCHES=( + "${FILESDIR}/${PN}-0.13.1-atomic.patch" #654314 +) + +src_prepare() { + # respect user cflags; do not expand ${CMAKE_C_FLAGS} (!) + sed -i -e 's|-g -Werror|${CMAKE_C_FLAGS}|' CMakeLists.txt || die + + # fix doc install path + sed -i -e "s|share/doc/mydumper|share/doc/${PF}|" docs/CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=(-DBUILD_DOCS=$(usex doc)) + + cmake_src_configure +} |