Merge branch 'npnext0.8' into 'master'
app-editors/notepadnext: add 0.8 See uest src_prepare/src_prepare-overlay!412
This commit is contained in:
commit
fd58ded641
@ -3,4 +3,5 @@ DIST Qt-Advanced-Docking-System-8da0713bf0d964f0c5b62e87a8aa61bcae3fa212.tar.gz
|
||||
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 uchardet-edae8e81cfb8092496f94da1a306c4c9f0ce32bb.tar.gz 463130 BLAKE2B 1007657b22439187e40bbbd524818ffdcf4468ae0cbf7ec2708311bf3f9c7daa596bec03f812b2c37fa134df70b024505ce41918d8612154835e4dbe1daea2f7 SHA512 003c5155bbfd6cb1f657338970033e25a97a54aabe30a991696e6e4fc7536e1c2715fcc768a2a8ae3ed3fc9feae523723ea7a3b38dec5efc07b72d86733f1742
|
||||
|
78
app-editors/notepadnext/notepadnext-0.8.ebuild
Normal file
78
app-editors/notepadnext/notepadnext-0.8.ebuild
Normal 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="cb09765afa143baa510de3031b65494ac7183aa3"
|
||||
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"
|
||||
|
||||
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
|
||||
)
|
||||
"
|
||||
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() {
|
||||
if use qt6; then
|
||||
eqmake6 src/NotepadNext.pro
|
||||
else
|
||||
eqmake5 src/NotepadNext.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
emake INSTALL_ROOT="${ED}" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user