diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-editors/juffed/juffed-0.10_p20160323.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-editors/juffed/juffed-0.10_p20160323.ebuild')
-rw-r--r-- | app-editors/juffed/juffed-0.10_p20160323.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/app-editors/juffed/juffed-0.10_p20160323.ebuild b/app-editors/juffed/juffed-0.10_p20160323.ebuild new file mode 100644 index 000000000000..15de97ca1b1d --- /dev/null +++ b/app-editors/juffed/juffed-0.10_p20160323.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +COMMIT=5ba17f90ec173e773470bc80ea26bca9a3f093fd +inherit cmake-utils vcs-snapshot xdg-utils + +DESCRIPTION="QScintilla-based tabbed text editor with syntax highlighting" +HOMEPAGE="http://juffed.com/en/" +SRC_URI="https://github.com/Mezomish/${PN}/tarball/${COMMIT} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="debug" + +RDEPEND=" + app-i18n/enca + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsingleapplication[qt5,X] + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + >=x11-libs/qscintilla-2.9.4:=[qt5(+)] +" +DEPEND="${RDEPEND}" + +DOCS=( ChangeLog README ) + +PATCHES=( "${FILESDIR}/${P}-qscintilla-2.10.patch" ) + +src_prepare() { + # Upstream version outdated/dysfunctional and CRLF terminated + cp "${FILESDIR}"/FindQtSingleApplication.cmake cmake/ || die + + cmake-utils_src_prepare + + sed -i -e '/set(CMAKE_CXX_FLAGS/d' CMakeLists.txt || die +} + +src_configure() { + local libdir=$(get_libdir) + local mycmakeargs=( + -DUSE_ENCA=ON + -DUSE_QT5=ON + -DUSE_SYSTEM_QTSINGLEAPPLICATION=ON + -DLIB_SUFFIX=${libdir/lib/} + ) + cmake-utils_src_configure +} + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} |