diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2021-03-25 15:28:00 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-04-16 09:26:27 +0300 |
commit | e9c9b8c947d1168519c56ba8fa9cd5620452daca (patch) | |
tree | 7f72e72c7064714f8a6ed943b3ce6fc5dc4c2fe9 /dev-db | |
parent | dev-vcs/github-cli: 1.9.1 bump (diff) | |
download | gentoo-e9c9b8c947d1168519c56ba8fa9cd5620452daca.tar.gz gentoo-e9c9b8c947d1168519c56ba8fa9cd5620452daca.tar.bz2 gentoo-e9c9b8c947d1168519c56ba8fa9cd5620452daca.zip |
dev-db/mydumper: bump to 0.10.3
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20116
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mydumper/Manifest | 1 | ||||
-rw-r--r-- | dev-db/mydumper/mydumper-0.10.3.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-db/mydumper/Manifest b/dev-db/mydumper/Manifest index 04dded9a9447..6e72aa713bff 100644 --- a/dev-db/mydumper/Manifest +++ b/dev-db/mydumper/Manifest @@ -1,2 +1,3 @@ DIST mydumper-0.10.1.tar.gz 63967 BLAKE2B ad2876eb4fd6528c119d722e70b096d12698119e6d84737601d7bc0e71022926f579d21456b73b8ff1d384c961256538467badeaceaf60a92b333196a17dda10 SHA512 dbcb207c8ac61b286cd4464a3f2c67ea6972d1cab215c09a577cdf621f685011cc26e1e36399b72be2a8165b4e4c518b401be928b6a1a31e35d2f27c169dcc18 +DIST mydumper-0.10.3.tar.gz 64622 BLAKE2B 14020b6bbb72271659dec965de164274e2bf81c72b52fa7c1d6997f393d1c0cc977d06d689bb7d7c6e3da86926add2c61f1551afdd30be71ddc97c4803d4e455 SHA512 d7cf6897815de3d46ec15cbcacc393722f7d547300a45e70960e47b8ce30e06a5e652f52a0ff8999d2ac3662b4a48927aadbab464668ac23f446eee95ba574cf DIST mydumper-0.9.5.tar.gz 60010 BLAKE2B f74a949712526b3fc3b1957c9f9dc5c5f820d88f781926331e751eb99e6315b37bd8f38ac8a0e1943485cc74fe9b14a7e74e955c77ceba6b10bb1e18a7720d75 SHA512 5b72234c88fd22c103afb9fa5a7c3c99d6585cb450b8cc7385cfd23ae2ce09c0848d15767a5957a7b8f87a7614bdb058dea8990f1a2a12300c2c74fc9da2de75 diff --git a/dev-db/mydumper/mydumper-0.10.3.ebuild b/dev-db/mydumper/mydumper-0.10.3.ebuild new file mode 100644 index 000000000000..72aba08da6e2 --- /dev/null +++ b/dev-db/mydumper/mydumper-0.10.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A high-performance multi-threaded backup (and restore) toolset for MySQL" +HOMEPAGE="https://github.com/maxbube/mydumper" +SRC_URI="https://github.com/maxbube/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="app-arch/zstd + dev-db/mysql-connector-c:= + dev-libs/glib:= + dev-libs/libpcre:= + dev-libs/openssl:0= + sys-libs/zlib:=" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + doc? ( dev-python/sphinx )" + +PATCHES=( + "${FILESDIR}/${PN}-atomic.patch" #654314 +) + +src_prepare() { + # respect user cflags; do not expand ${CMAKE_C_FLAGS} (!) + sed -i -e 's|-Werror -O3 -g|${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 +} |