diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2023-04-17 09:51:51 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-26 05:02:58 +0100 |
commit | b38d8c20c62745e6037d4b765b4f72d3298e5878 (patch) | |
tree | fcb289cb072eadb9c0251a4a09c7fabd15ee3dfe /dev-db | |
parent | dev-libs/modsecurity: add 3.0.9 (diff) | |
download | gentoo-b38d8c20c62745e6037d4b765b4f72d3298e5878.tar.gz gentoo-b38d8c20c62745e6037d4b765b4f72d3298e5878.tar.bz2 gentoo-b38d8c20c62745e6037d4b765b4f72d3298e5878.zip |
dev-db/mydumper: add 0.14.4.1
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30629
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mydumper/Manifest | 1 | ||||
-rw-r--r-- | dev-db/mydumper/mydumper-0.14.4.1.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-db/mydumper/Manifest b/dev-db/mydumper/Manifest index 2535ff5174f4..3642e9a5335a 100644 --- a/dev-db/mydumper/Manifest +++ b/dev-db/mydumper/Manifest @@ -1,3 +1,4 @@ DIST mydumper-0.12.5-3.tar.gz 131104 BLAKE2B 436c92474c498f17e7cfd723d7dbdd9f56f0a3cd42be88233dcfee6a2768ff49c795bb232e5f4bad1d6d9eb5e1cedf7fa812bc3dbc7a4eeb8fbb4894034a5960 SHA512 03c4a219877c61a3659561afd37ba095030edd0f44f922de51d4801a08cf6dc17c5fc8864f9b47d4d7c70a94bd2f814192ab1fa66f174e27d5d0e8a3a09a6b02 DIST mydumper-0.12.7-3.tar.gz 136449 BLAKE2B 99906443c4195f1a43d11875156ccb943efea44c90d1e7b9a6fb3427ab87562dbf429b789d28ba285d6b8b6e0a13c279f34548b43ee28525636a01a4eaa86833 SHA512 266214d8ab11fb82ad64100cde8d57a873740bd2f14f5026eddbb25e196294a7533252e8f13ba57fa4224c5cac9914debca452efe68eea58d576282f8ba53f65 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 diff --git a/dev-db/mydumper/mydumper-0.14.4.1.ebuild b/dev-db/mydumper/mydumper-0.14.4.1.ebuild new file mode 100644 index 000000000000..2ede2983798d --- /dev/null +++ b/dev-db/mydumper/mydumper-0.14.4.1.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|-O3 -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 +} |