diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2021-09-29 05:00:29 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-10-15 13:22:40 +0300 |
commit | 27a92f95e9a745ec99e8982ca992c61c229d1bfc (patch) | |
tree | 8f33c4ce1f7e78bff47b1882ee062bb513a8ff2a /dev-db/mydumper/mydumper-0.11.1.3.ebuild | |
parent | net-libs/czmq: update EAPI 7 -> 8, add missing dep for 4.2.1 (diff) | |
download | gentoo-27a92f95e9a745ec99e8982ca992c61c229d1bfc.tar.gz gentoo-27a92f95e9a745ec99e8982ca992c61c229d1bfc.tar.bz2 gentoo-27a92f95e9a745ec99e8982ca992c61c229d1bfc.zip |
dev-db/mydumper: bump to 0.11.1-3
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22439
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-db/mydumper/mydumper-0.11.1.3.ebuild')
-rw-r--r-- | dev-db/mydumper/mydumper-0.11.1.3.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-db/mydumper/mydumper-0.11.1.3.ebuild b/dev-db/mydumper/mydumper-0.11.1.3.ebuild new file mode 100644 index 000000000000..6dcf0e83ab77 --- /dev/null +++ b/dev-db/mydumper/mydumper-0.11.1.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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.10.5-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 +} |