From c983fe5c631ef4c3482cb2b19a4376e89ea2309b Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Sun, 29 May 2022 01:32:13 +0200 Subject: dev-libs/nativefiledialog-extended: EAPI 8 Signed-off-by: Alessandro Barbieri --- dev-libs/nativefiledialog-extended/Manifest | 2 +- ...tivefiledialog-extended-0_pre20210430-r1.ebuild | 37 ++++++++++++++++++++++ .../nativefiledialog-extended-0_pre20210430.ebuild | 37 ---------------------- 3 files changed, 38 insertions(+), 38 deletions(-) create mode 100644 dev-libs/nativefiledialog-extended/nativefiledialog-extended-0_pre20210430-r1.ebuild delete mode 100644 dev-libs/nativefiledialog-extended/nativefiledialog-extended-0_pre20210430.ebuild (limited to 'dev-libs/nativefiledialog-extended') diff --git a/dev-libs/nativefiledialog-extended/Manifest b/dev-libs/nativefiledialog-extended/Manifest index f151faaa8..9c30db840 100644 --- a/dev-libs/nativefiledialog-extended/Manifest +++ b/dev-libs/nativefiledialog-extended/Manifest @@ -1 +1 @@ -DIST nativefiledialog-extended-0_pre20210430.tar.gz 400551 BLAKE2B 3242bac8a8ec054853f9eac3cbbd09fd2389c1afa1c8bd314452b2d7b66b899c8fadd60f835e97bd7769457bed43bd3b684fdcb5b7480a3ca5ef6e5071fc9fd0 SHA512 049a19d39707476a609a6e22f70146df9e1533c5e93b349437d762673d6a1410777181fedff14ca6cf64e2c1e707c85f13d9101370aadbc79afd3795fac792a8 +DIST nativefiledialog-extended-0_pre20210430.gh.tar.gz 400551 BLAKE2B 3242bac8a8ec054853f9eac3cbbd09fd2389c1afa1c8bd314452b2d7b66b899c8fadd60f835e97bd7769457bed43bd3b684fdcb5b7480a3ca5ef6e5071fc9fd0 SHA512 049a19d39707476a609a6e22f70146df9e1533c5e93b349437d762673d6a1410777181fedff14ca6cf64e2c1e707c85f13d9101370aadbc79afd3795fac792a8 diff --git a/dev-libs/nativefiledialog-extended/nativefiledialog-extended-0_pre20210430-r1.ebuild b/dev-libs/nativefiledialog-extended/nativefiledialog-extended-0_pre20210430-r1.ebuild new file mode 100644 index 000000000..d287894b6 --- /dev/null +++ b/dev-libs/nativefiledialog-extended/nativefiledialog-extended-0_pre20210430-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COMMIT="322d1bc2a98c7b8236195d458643ac8e76391011" + +inherit cmake + +DESCRIPTION="File dialog library with C and C++ bindings, based on nativefiledialog" +HOMEPAGE="https://github.com/btzy/nativefiledialog-extended" +SRC_URI="https://github.com/btzy/nativefiledialog-extended/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="ZLIB" +SLOT="0/${PV}" +KEYWORDS="~amd64" + +RDEPEND="x11-libs/gtk+:3" +DEPEND="${RDEPEND}" +IUSE="test" + +RESTRICT="!test? ( test )" +PATCHES=( "${FILESDIR}/${P}-no-static.patch" ) + +src_prepare() { + eapply_user + sed -e "s|DESTINATION lib|DESTINATION $(get_libdir)|g" -i src/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DNFD_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-libs/nativefiledialog-extended/nativefiledialog-extended-0_pre20210430.ebuild b/dev-libs/nativefiledialog-extended/nativefiledialog-extended-0_pre20210430.ebuild deleted file mode 100644 index 1d195ef38..000000000 --- a/dev-libs/nativefiledialog-extended/nativefiledialog-extended-0_pre20210430.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -COMMIT="322d1bc2a98c7b8236195d458643ac8e76391011" - -inherit cmake - -DESCRIPTION="File dialog library with C and C++ bindings, based on nativefiledialog" -HOMEPAGE="https://github.com/btzy/nativefiledialog-extended" -SRC_URI="https://github.com/btzy/nativefiledialog-extended/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="x11-libs/gtk+:3" -DEPEND="${RDEPEND}" -IUSE="test" - -RESTRICT="!test? ( test )" -PATCHES=( "${FILESDIR}/${P}-no-static.patch" ) - -src_prepare() { - eapply_user - sed -e "s|DESTINATION lib|DESTINATION $(get_libdir)|g" -i src/CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DNFD_BUILD_TESTS=$(usex test) - ) - cmake_src_configure -} -- cgit v1.2.3-65-gdbad