Merge branch 'notepadnext' into 'master'

app-editors/notepadnext: new package, add 0.7_p20240317

See uest src_prepare/src_prepare-overlay!402
This commit is contained in:
Parona 2024-04-06 12:17:13 +00:00
commit 28b2388cca
4 changed files with 117 additions and 0 deletions

View File

@ -0,0 +1,6 @@
DIST QSimpleUpdater-518b873c97688134c2e535e05db6b4b7cebcccdd.tar.gz 298774 BLAKE2B ab2b79a2e7acbfede83407befba74c3c599cd9ef7fbfc773174928a1b932385720a6fad477c1f6f45e4031221549b64885918961aded52b5c2789e2ee2bb282d SHA512 3fd8ab9c1ff18382510c3b5ce4b838228d4577a98c12015ee30f5369d5aedb5b06bf6cff844d393df26ffb481035d54b7eef608be9086615c4f97439723a76c8
DIST Qt-Advanced-Docking-System-8da0713bf0d964f0c5b62e87a8aa61bcae3fa212.tar.gz 21522017 BLAKE2B a366f66031b379e1c7d4e2fb42ad400c13b72ae902614b54ee811a159b6daeac23b7eda28d161073c2466f6f9114d112bc81105c444ee8bce9e025af5e45cdd6 SHA512 f6d7e411af68821d3fec16be945b700d52a7320c0b9c4d4dad973de343e66d31b8bed0dd6667f27ce1658e6950a928c824286d82d5825b992063a8b459f15c82
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 uchardet-edae8e81cfb8092496f94da1a306c4c9f0ce32bb.tar.gz 463130 BLAKE2B 1007657b22439187e40bbbd524818ffdcf4468ae0cbf7ec2708311bf3f9c7daa596bec03f812b2c37fa134df70b024505ce41918d8612154835e4dbe1daea2f7 SHA512 003c5155bbfd6cb1f657338970033e25a97a54aabe30a991696e6e4fc7536e1c2715fcc768a2a8ae3ed3fc9feae523723ea7a3b38dec5efc07b72d86733f1742

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sighunter@gmx.de</email>
<name>SigHunter</name>
</maintainer>
<upstream>
<remote-id type="github">dail8859/NotepadNext</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,78 @@
# Copyright 1999-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="b6b0ccc0c380efb13663eb00d5bb8bd140b0553d"
COMMIT_SINGLEAPPLICATION="494772e98cef0aa88124f154feb575cc60b08b38"
COMMIT_UCHARDET="edae8e81cfb8092496f94da1a306c4c9f0ce32bb"
COMMIT_EDITORCONFIG="ee967262db4fdbd735f9971cc0c90cf4f3100d3a"
COMMIT_QADS="8da0713bf0d964f0c5b62e87a8aa61bcae3fa212"
COMMIT_QSIMPLEUPDATER="518b873c97688134c2e535e05db6b4b7cebcccdd"
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"
IUSE="qt6"
DEPEND="${RDEPEND}"
RDEPEND="
x11-libs/libxcb:=
!qt6? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtprintsupport:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
)
qt6? (
dev-qt/qtbase:6[gui,network,widgets]
dev-qt/qt5compat: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() {
if use qt6; then
eqmake6 src/NotepadNext.pro
else
eqmake5 src/NotepadNext.pro
fi
}
src_install() {
einstalldocs
emake INSTALL_ROOT="${ED}" install
}

View File

@ -0,0 +1,22 @@
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Permission is not granted to use this software or any of the associated files
as sample data for the purposes of building machine learning models.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.