mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
app-editors/notepadnext: add 0.13
Signed-off-by: Sebastian Engel <sighunter@gmx.de>
This commit is contained in:
67
app-editors/notepadnext/notepadnext-0.13.ebuild
Normal file
67
app-editors/notepadnext/notepadnext-0.13.ebuild
Normal file
@@ -0,0 +1,67 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils xdg
|
||||
|
||||
MY_PN="NotepadNext"
|
||||
COMMIT_SINGLEAPPLICATION="494772e98cef0aa88124f154feb575cc60b08b38"
|
||||
COMMIT_UCHARDET="ae6302a016088ad07177f86d417b20010053632b"
|
||||
COMMIT_EDITORCONFIG="ab62f0554abf2bbe4d45427b36a8b2f81ca7b4ab"
|
||||
COMMIT_QADS="c020f82a6cfc43e7127e315b1a8f0e05e8a7113f"
|
||||
COMMIT_QSIMPLEUPDATER="8e7017f7fbdc2b4b1a26ed1eef9ebcba6a50639c"
|
||||
|
||||
DESCRIPTION="A cross-platform reimplementation of Notepad++ based on Qt"
|
||||
HOMEPAGE="https://github.com/dail8859/NotepadNext"
|
||||
SRC_URI="
|
||||
https://github.com/dail8859/NotepadNext/archive/refs/tags/v${PV}.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}-${PV}"
|
||||
|
||||
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
|
||||
|
||||
sed -i '1i #include <cstdint>' "${S}"/src/scintilla/include/ScintillaTypes.h || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake6 src/NotepadNext.pro
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
emake INSTALL_ROOT="${ED}" install
|
||||
}
|
||||
Reference in New Issue
Block a user