From 236e75597883501f8700d9ba1a5c8276f578a17f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 May 2024 00:06:25 +0100 Subject: gentoo auto-resync : 22:05:2024 - 00:06:25 --- app-editors/Manifest.gz | Bin 13958 -> 13958 bytes app-editors/qhexedit2/Manifest | 2 +- .../qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild | 108 --------------------- .../qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild | 108 +++++++++++++++++++++ 4 files changed, 109 insertions(+), 109 deletions(-) delete mode 100644 app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild create mode 100644 app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild (limited to 'app-editors') diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz index 6e57b420275e..0734479483b6 100644 Binary files a/app-editors/Manifest.gz and b/app-editors/Manifest.gz differ diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest index c125f9496919..4b0b409c4c45 100644 --- a/app-editors/qhexedit2/Manifest +++ b/app-editors/qhexedit2/Manifest @@ -3,5 +3,5 @@ AUX qhexedit2-0.8.6-sip.patch 1134 BLAKE2B a64403e077b388f7c95ec5feada3d07e7e027 AUX qhexedit2-0.8.6-sip5.patch 2295 BLAKE2B 8a689da202adf6169ed34eb7c7fc0c824451f05f5030fa457a7bdef4ec079c8df7b688a91855d7fc98b96f9e112c98e1805233af19b42fbd570eab6ed3fafa33 SHA512 0bc8a18085e9f928026ae852820b5a2cd6f8bea56f6193359d05c439fea3eb71a6baf3cf529d5f8ea95b6d0a1c28a460dedf1430e06f56486be108402c213daf AUX qhexedit2-0.8.9-fix-crash.patch 1437 BLAKE2B 8a58e4dc74de1fb5120ea7fc53df92f07d38023dede7bd4e778c7ad1de22ac981269d28fc80c1c61b7a1e448a812b4452b5a9494d486b71ff07e2e1cd07ffa24 SHA512 e8abff741616cbaf842942ff426b7ce6e43e88cd42f5c3ad282b7654ba727cacb2d3eb197656769ff1b9ff9a819a7ef61df594a686b2b339f0b67c8cfc8b55df DIST qhexedit2-0.8.9_p20210525.tar.gz 342178 BLAKE2B baffe5b5e1130476162f23a91420cc86675a162c39539c9f07685cecc82571817625202814006221f96b56e94c0325fd7a6d8f2294041b426054f809c9967bad SHA512 d8a5159433a1212085371473cc7a89c4888c6af6b1416a34e3ea9d1ef9ae19411af32bea2e2fb256a024d6f2d05c733d285314cfc17f37dae065d7407a9c0d2c -EBUILD qhexedit2-0.8.9_p20210525-r2.ebuild 2370 BLAKE2B 4549f81cecf951224ad5fde6b1b06e97ca91e5afa877c47f04a1fa54979387e1dbcf17c4c6f71e3cd73a16a46a9859aa5eb50a5866fbf589ad0da578ec2a76d0 SHA512 cf79aaa7014b4f829c57193d1faa9b3c708f957dd34766d13b273d17818cd62a56979932ac49a099033b8de8b747d4453ec586ef7eab8b614355afe40783aa94 +EBUILD qhexedit2-0.8.9_p20210525-r3.ebuild 2391 BLAKE2B 0fd9388f4d9cead21001208a902820494c39261fde01e12217c36695448d871209fc9cd0a19f300a125bc2a33b07871bcb5df6cfbdc51fc495488604a62ce562 SHA512 433a5aeddc2a09b0446af14fd09d89aaa70c76b4027e03bcb569842be4c7eedcecaced46edf489f97970580cd60b96fea893b772b91741841d459435284a088e MISC metadata.xml 877 BLAKE2B f7343c25b4643b468d75938b4af93a8e52e10ebb1bc774c3caada33d202d0ea938789bc9400584fc78098b05c7a029c9be781f37302ac8edf7cae40659f6d9a9 SHA512 897f7435ec755c6689192e762172fc02a10ea043d7ba2662eb88dd7db4856dbe82e95c3b7fed890ee6dd2f8b11a3dd77e25af4ec56b69cb7191c5805b31371b3 diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild deleted file mode 100644 index 34d3906f4682..000000000000 --- a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r2.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -inherit python-r1 qmake-utils - -EGIT_COMMIT="541139125be034b90b6811a84faa1413e357fd94" -DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" -HOMEPAGE="https://github.com/Simsys/qhexedit2/" -SRC_URI="https://github.com/Simsys/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" -IUSE="doc +gui python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -PATCHES=( - "${FILESDIR}/${PN}-0.8.4-setup.py.patch" - "${FILESDIR}/${PN}-0.8.6-sip.patch" #820473 - "${FILESDIR}/${PN}-0.8.6-sip5.patch" #820473 - "${FILESDIR}/${PN}-0.8.9-fix-crash.patch" -) - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - >=dev-python/PyQt5-5.15.6[gui,widgets,${PYTHON_USEDEP}] - ') - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - python? ( - $(python_gen_cond_dep ' - >=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}] - >=dev-python/sip-5:=[${PYTHON_USEDEP}] - ') - ) -" - -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -src_prepare() { - default - sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ - -e "\$aINSTALLS += target" src/qhexedit.pro \ - || die "src/qhexedit.pro: sed failed" -} - -src_configure() { - eqmake5 src/qhexedit.pro - if use gui; then - cd example || die "can't cd example" - eqmake5 qhexedit.pro - fi -} - -src_compile() { - emake - use gui && emake -C example - if use python; then - export PATH="$(qt5_get_bindir):${PATH}" - python_build() { - pushd "${S}" || die - sip-build || die - popd || die - } - python_foreach_impl run_in_build_dir python_build - fi -} - -src_test() { - cd test || die "can't cd test" - mkdir logs || die "can't create logs dir" - eqmake5 chunks.pro - emake - ./chunks || die "test run failed" - grep -q "^NOK" logs/Summary.log && die "test failed" -} - -src_install() { - doheader src/*.h - dolib.so libqhexedit.so* - if use python; then - python_install() { - pushd "${S}"/build || die - emake INSTALL_ROOT="${D}" install - popd || die - } - python_foreach_impl run_in_build_dir python_install - fi - if use gui; then - dobin example/qhexedit - insinto /usr/share/${PN}/ - doins example/translations/*.qm - fi - if use doc; then - dodoc -r doc/html - dodoc doc/release.txt - fi -} diff --git a/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild new file mode 100644 index 000000000000..8d04bc22466a --- /dev/null +++ b/app-editors/qhexedit2/qhexedit2-0.8.9_p20210525-r3.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit python-r1 qmake-utils + +EGIT_COMMIT="541139125be034b90b6811a84faa1413e357fd94" +DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" +HOMEPAGE="https://github.com/Simsys/qhexedit2/" +SRC_URI="https://github.com/Simsys/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~riscv x86" +IUSE="doc +gui python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +PATCHES=( + "${FILESDIR}/${PN}-0.8.4-setup.py.patch" + "${FILESDIR}/${PN}-0.8.6-sip.patch" #820473 + "${FILESDIR}/${PN}-0.8.6-sip5.patch" #820473 + "${FILESDIR}/${PN}-0.8.9-fix-crash.patch" +) + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + media-libs/libglvnd + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + >=dev-python/PyQt5-5.15.6[gui,widgets,${PYTHON_USEDEP}] + ') + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + python? ( + $(python_gen_cond_dep ' + >=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}] + >=dev-python/sip-5:=[${PYTHON_USEDEP}] + ') + ) +" + +src_prepare() { + default + sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ + -e "\$aINSTALLS += target" src/qhexedit.pro \ + || die "src/qhexedit.pro: sed failed" +} + +src_configure() { + eqmake5 src/qhexedit.pro + if use gui; then + cd example || die "can't cd example" + eqmake5 qhexedit.pro + fi +} + +src_compile() { + emake + use gui && emake -C example + if use python; then + export PATH="$(qt5_get_bindir):${PATH}" + python_build() { + pushd "${S}" || die + sip-build || die + popd || die + } + python_foreach_impl run_in_build_dir python_build + fi +} + +src_test() { + cd test || die "can't cd test" + mkdir logs || die "can't create logs dir" + eqmake5 chunks.pro + emake + ./chunks || die "test run failed" + grep -q "^NOK" logs/Summary.log && die "test failed" +} + +src_install() { + doheader src/*.h + dolib.so libqhexedit.so* + if use python; then + python_install() { + pushd "${S}"/build || die + emake INSTALL_ROOT="${D}" install + popd || die + } + python_foreach_impl run_in_build_dir python_install + fi + if use gui; then + dobin example/qhexedit + insinto /usr/share/${PN}/ + doins example/translations/*.qm + fi + if use doc; then + dodoc -r doc/html + dodoc doc/release.txt + fi +} -- cgit v1.2.3