commit: cfbd111dbbe11a98cfd1e113a9aa16073e0fb29d Author: Sebastian Engel <sighunter <AT> gmx <DOT> de> AuthorDate: Fri Nov 29 20:08:58 2024 +0000 Commit: Sebastian Engel <sighunter <AT> gmx <DOT> de> CommitDate: Fri Nov 29 20:17:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfbd111d
app-editors/notepadnext: add 0.9_p20241128 Closes: https://bugs.gentoo.org/945001 Signed-off-by: Sebastian Engel <sighunter <AT> gmx.de> app-editors/notepadnext/Manifest | 1 + .../notepadnext/notepadnext-0.9_p20241128.ebuild | 66 ++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/app-editors/notepadnext/Manifest b/app-editors/notepadnext/Manifest index 1244644a2..9003c8736 100644 --- a/app-editors/notepadnext/Manifest +++ b/app-editors/notepadnext/Manifest @@ -6,4 +6,5 @@ DIST SingleApplication-494772e98cef0aa88124f154feb575cc60b08b38.tar.gz 23324 BLA DIST editorconfig-core-qt-ee967262db4fdbd735f9971cc0c90cf4f3100d3a.tar.gz 7309 BLAKE2B 09f384d1d2392f64d847793f27ce9fb6ced30b028958182d32453c9367f778e3d1891fb4a6b3759294c9d383091acc8b590e7972214eb0d790347d49d00dafec SHA512 7b965f8528572e9c3b491e4d31599787574394dc7da8e086f61f5a7fb01cff8bfa2405d30acd7d43e628c5d4b9f00da4f0d45dc0e9a4513254c56d2713fd37a9 DIST notepadnext-0.8_p20240828.tar.gz 5260067 BLAKE2B c52b4ae22c75c96ff68f974c39ef862f21c837368b66faafc004ee6e5e2eca45767dbbeb0e9eeb467633f120e50e33c6d618f955c25f7a32f47cd52c8a1b7c5f SHA512 cea6c3b01d409769998ec059aa5befa2bf64bc81f42fd7c0afdbd918e1fcdba58f1110f28879e177aa2b6e86d59e48a3b3e6d66d19b6a5f5ac2ce443ee67b585 DIST notepadnext-0.9.tar.gz 5317728 BLAKE2B f432be11aaf1035999d882aa6f66ba4fe77f2e8e00700d67ba23c12379bb0d13ba4dd17f781c82779ddfeb54bfdd87361c1b70c116fbc67976b1cd1d216ef868 SHA512 da432cad7dd7301fb2eb3af199a8f5a43c1f69267eb24257bc297e6443b0da986e82a0f4e54eac103c564e6e361fbdad380728d935dc3a6f0d25092d68ead600 +DIST notepadnext-0.9_p20241128.tar.gz 5326354 BLAKE2B fa6526d2a75b78f99f980103f2db52bdf23eff47492c6b8b61026e2137eff6dbf5a27a08b3bb0446a973da1a7129712d031dfa29179a6c0a5e4c4d58a23e496f SHA512 39e05165d1e6cde0055a89337228b8917023082d1aeeef065ef1e57de3f2025c11fe74002ed406dfa39a1e030c76c02f7696b51506cec9ce0a5ca9aa029c1f13 DIST uchardet-edae8e81cfb8092496f94da1a306c4c9f0ce32bb.tar.gz 463130 BLAKE2B 1007657b22439187e40bbbd524818ffdcf4468ae0cbf7ec2708311bf3f9c7daa596bec03f812b2c37fa134df70b024505ce41918d8612154835e4dbe1daea2f7 SHA512 003c5155bbfd6cb1f657338970033e25a97a54aabe30a991696e6e4fc7536e1c2715fcc768a2a8ae3ed3fc9feae523723ea7a3b38dec5efc07b72d86733f1742 diff --git a/app-editors/notepadnext/notepadnext-0.9_p20241128.ebuild b/app-editors/notepadnext/notepadnext-0.9_p20241128.ebuild new file mode 100644 index 000000000..e5b8ab035 --- /dev/null +++ b/app-editors/notepadnext/notepadnext-0.9_p20241128.ebuild @@ -0,0 +1,66 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils xdg + +MY_PN="NotepadNext" +COMMIT_NOTEPADNEXT="0aebd26b7ccaf5508c10f353c8776f7fa09db5c0" +COMMIT_SINGLEAPPLICATION="494772e98cef0aa88124f154feb575cc60b08b38" +COMMIT_UCHARDET="edae8e81cfb8092496f94da1a306c4c9f0ce32bb" +COMMIT_EDITORCONFIG="ee967262db4fdbd735f9971cc0c90cf4f3100d3a" +COMMIT_QADS="e857421fdf32e3dd438a1b5dd73b1ffe837f2ab8" +COMMIT_QSIMPLEUPDATER="911727370d90001077f93ea94545099e197400a0" + +DESCRIPTION="A cross-platform reimplementation of Notepad++ based on Qt" +HOMEPAGE="https://github.com/dail8859/NotepadNext" +SRC_URI=" + https://github.com/dail8859/${MY_PN}/archive/${COMMIT_NOTEPADNEXT}.tar.gz + -> ${P}.tar.gz + https://github.com/itay-grudev/SingleApplication/archive/${COMMIT_SINGLEAPPLICATION}.tar.gz + -> SingleApplication-${COMMIT_SINGLEAPPLICATION}.tar.gz + https://gitlab.freedesktop.org/uchardet/uchardet/-/archive/${COMMIT_UCHARDET}.tar.gz + -> uchardet-${COMMIT_UCHARDET}.tar.gz + https://github.com/editorconfig/editorconfig-core-qt/archive/${COMMIT_EDITORCONFIG}.tar.gz + -> editorconfig-core-qt-${COMMIT_EDITORCONFIG}.tar.gz + https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/archive/${COMMIT_QADS}.tar.gz + -> Qt-Advanced-Docking-System-${COMMIT_QADS}.tar.gz + https://github.com/alex-spataru/QSimpleUpdater/archive/${COMMIT_QSIMPLEUPDATER}.tar.gz + -> QSimpleUpdater-${COMMIT_QSIMPLEUPDATER}.tar.gz +" +S="${WORKDIR}/${MY_PN}-${COMMIT_NOTEPADNEXT}" + +LICENSE="GPL-3" +# submodule licenses +LICENSE+=" MIT LGPL-2.1 MIT-no-machine-learning || ( MPL-1.1 GPL-2+ LGPL-2.1+ )" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + x11-libs/libxcb:= + dev-qt/qtbase:6[gui,network,widgets] + dev-qt/qt5compat:6 +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-qt/qttools:6 +" + +src_prepare() { + default + mv -T "${WORKDIR}"/QSimpleUpdater-"${COMMIT_QSIMPLEUPDATER}" "${S}"/src/QSimpleUpdater || die + mv -T "${WORKDIR}"/Qt-Advanced-Docking-System-"${COMMIT_QADS}" "${S}"/src/ads || die + mv -T "${WORKDIR}"/editorconfig-core-qt-"${COMMIT_EDITORCONFIG}" "${S}"/src/editorconfig-core-qt || die + mv -T "${WORKDIR}"/SingleApplication-"${COMMIT_SINGLEAPPLICATION}" "${S}"/src/singleapplication || die + mv -T "${WORKDIR}"/uchardet-"${COMMIT_UCHARDET}" "${S}"/src/uchardet || die +} + +src_configure() { + eqmake6 src/NotepadNext.pro +} + +src_install() { + einstalldocs + emake INSTALL_ROOT="${ED}" install +}