diff --git a/app-editors/notepadnext/Manifest b/app-editors/notepadnext/Manifest index 9f23853..c6dfb2c 100644 --- a/app-editors/notepadnext/Manifest +++ b/app-editors/notepadnext/Manifest @@ -1,7 +1,10 @@ DIST QSimpleUpdater-518b873c97688134c2e535e05db6b4b7cebcccdd.tar.gz 298774 BLAKE2B ab2b79a2e7acbfede83407befba74c3c599cd9ef7fbfc773174928a1b932385720a6fad477c1f6f45e4031221549b64885918961aded52b5c2789e2ee2bb282d SHA512 3fd8ab9c1ff18382510c3b5ce4b838228d4577a98c12015ee30f5369d5aedb5b06bf6cff844d393df26ffb481035d54b7eef608be9086615c4f97439723a76c8 +DIST QSimpleUpdater-791c8e2d148943f1f3147753591e9d5bcf637c15.tar.gz 299359 BLAKE2B ea5c14a094a37091cc42efc11b003f8b4c56f95cd53be9af803db21d4cf8d7b104f6bc0459a1f6064dbc868155eb633bc71065c58e6ff6c026e559283ad25c7b SHA512 0d6bdf6b3ff694527a7f8f9cf2bed38e8090d48fae934908451c4f0f8fa84892c70248ddea30da9e1aa21e4afddd3c7090f364a830777ca6648e3f869c0ea337 DIST Qt-Advanced-Docking-System-8da0713bf0d964f0c5b62e87a8aa61bcae3fa212.tar.gz 21522017 BLAKE2B a366f66031b379e1c7d4e2fb42ad400c13b72ae902614b54ee811a159b6daeac23b7eda28d161073c2466f6f9114d112bc81105c444ee8bce9e025af5e45cdd6 SHA512 f6d7e411af68821d3fec16be945b700d52a7320c0b9c4d4dad973de343e66d31b8bed0dd6667f27ce1658e6950a928c824286d82d5825b992063a8b459f15c82 +DIST Qt-Advanced-Docking-System-952131a1e9730636e0ee87e99fcc8bdb259f6451.tar.gz 21523386 BLAKE2B e0e2446a211073652e1062b618f01488ab3a4c7a1747cd2ec3fb5b13b9b68dedb0ec5b1704f133625c3be8b3746023d95a41204f343fbc180df0387475448584 SHA512 e51b0adee1e55abf0daaa3cc7909b440364d8d3ef0caa11e653eff4409da59981f4037787f8783fd0ed2d27d7506cb8e6b9b003843d320f19871b93897377d1a DIST SingleApplication-494772e98cef0aa88124f154feb575cc60b08b38.tar.gz 23324 BLAKE2B eccf28a712e058f2ad997cd0ccd8f2117eec06e34846f87c1d6e51b0ca04ef1da0169fdd20f8f8de80a81ffa280c4045db7a1321691a5cfac8de3e5f60260f5d SHA512 98178e86fa85fcaa3e2f0030ce4e26c70489f364448c79b3e0cae304ad8fe698a4d29c0030810cef0edd32c17ebdaafc2223e32506381ade6705dcf831537221 DIST editorconfig-core-qt-ee967262db4fdbd735f9971cc0c90cf4f3100d3a.tar.gz 7309 BLAKE2B 09f384d1d2392f64d847793f27ce9fb6ced30b028958182d32453c9367f778e3d1891fb4a6b3759294c9d383091acc8b590e7972214eb0d790347d49d00dafec SHA512 7b965f8528572e9c3b491e4d31599787574394dc7da8e086f61f5a7fb01cff8bfa2405d30acd7d43e628c5d4b9f00da4f0d45dc0e9a4513254c56d2713fd37a9 DIST notepadnext-0.7_p20240317.tar.gz 5235205 BLAKE2B 66debbe46ecbb60e9c0d7e3a62080673b28c5dd3aca49a43f853a2a9e49ed38a9c393b958f8c5b0c544806e9e643f0c59fe0219fd1864421017de4012fc62785 SHA512 ae91e2c79c9c0dda23546990e017114f218e271cf28da82610c23b18153597b4f50ccda55110fb31c0de867053b634d51d91a2eff8cecf6825bee79e907d030b DIST notepadnext-0.8.tar.gz 5227678 BLAKE2B d086cefd863422a9b0ecddb6e4cd36a6bf32156b320434c92dfa916fd1cdd8506d7cca99dd25b301db1f1633c351e7d37a60fcb4f1279250e8163b452fa02d9c SHA512 9821e9bc1e21df632694c957e917bedfeeda28fc5f6194f4c70e1deb2a4dc3a9632b45f5f45299f733a6321a30ea67b4d0929a705147d59b6c51b4c0d7a14de9 +DIST notepadnext-0.8_p20240828.tar.gz 5260067 BLAKE2B c52b4ae22c75c96ff68f974c39ef862f21c837368b66faafc004ee6e5e2eca45767dbbeb0e9eeb467633f120e50e33c6d618f955c25f7a32f47cd52c8a1b7c5f SHA512 cea6c3b01d409769998ec059aa5befa2bf64bc81f42fd7c0afdbd918e1fcdba58f1110f28879e177aa2b6e86d59e48a3b3e6d66d19b6a5f5ac2ce443ee67b585 DIST uchardet-edae8e81cfb8092496f94da1a306c4c9f0ce32bb.tar.gz 463130 BLAKE2B 1007657b22439187e40bbbd524818ffdcf4468ae0cbf7ec2708311bf3f9c7daa596bec03f812b2c37fa134df70b024505ce41918d8612154835e4dbe1daea2f7 SHA512 003c5155bbfd6cb1f657338970033e25a97a54aabe30a991696e6e4fc7536e1c2715fcc768a2a8ae3ed3fc9feae523723ea7a3b38dec5efc07b72d86733f1742 diff --git a/app-editors/notepadnext/notepadnext-0.8_p20240828.ebuild b/app-editors/notepadnext/notepadnext-0.8_p20240828.ebuild new file mode 100644 index 0000000..ce95353 --- /dev/null +++ b/app-editors/notepadnext/notepadnext-0.8_p20240828.ebuild @@ -0,0 +1,63 @@ +# 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="08c49fe91c013dd8a9608a2e8501e5e29a02eb81" +COMMIT_SINGLEAPPLICATION="494772e98cef0aa88124f154feb575cc60b08b38" +COMMIT_UCHARDET="edae8e81cfb8092496f94da1a306c4c9f0ce32bb" +COMMIT_EDITORCONFIG="ee967262db4fdbd735f9971cc0c90cf4f3100d3a" +COMMIT_QADS="952131a1e9730636e0ee87e99fcc8bdb259f6451" +COMMIT_QSIMPLEUPDATER="791c8e2d148943f1f3147753591e9d5bcf637c15" + +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}" + +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 +}