commit: b1900dae050e2275c8b6e57977c4ad019b20ef5a Author: Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com> AuthorDate: Mon Sep 23 04:06:45 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Sep 24 03:59:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1900dae
app-office/texmacs: add 2.1-r100 Bug: https://bugs.gentoo.org/436400 Signed-off-by: Kacper Słomiński <kacper.slominski72 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> app-office/texmacs/texmacs-2.1-r100.ebuild | 62 ++++++++++++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 63 insertions(+) diff --git a/app-office/texmacs/texmacs-2.1-r100.ebuild b/app-office/texmacs/texmacs-2.1-r100.ebuild new file mode 100644 index 000000000000..d8397a0264ab --- /dev/null +++ b/app-office/texmacs/texmacs-2.1-r100.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 1-8 ) +GUILE_REQ_USE="debug?,deprecated" +inherit cmake xdg guile-single + +MY_P=${P/tex/TeX}-src + +DESCRIPTION="Wysiwyg text processor with high-quality maths" +HOMEPAGE="https://www.texmacs.org/" +SRC_URI="https://www.texmacs.org/Download/ftp/tmftp/source/${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="debug jpeg netpbm sqlite svg spell" +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + app-text/ghostscript-gpl + media-libs/freetype + x11-apps/xmodmap + x11-libs/libXext + virtual/latex-base + >=dev-qt/qtcore-5.9.1:5 + >=dev-qt/qtgui-5.9.1:5 + >=dev-qt/qtwidgets-5.9.1:5 + >=dev-qt/qtprintsupport-5.9.1:5 + sqlite? ( dev-db/sqlite ) + jpeg? ( virtual/imagemagick-tools[jpeg] ) + netpbm? ( media-libs/netpbm ) + spell? ( app-text/aspell ) + svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) ) +" +DEPEND="${RDEPEND}" +BDEPEND="x11-base/xorg-proto" + +src_prepare() { + cmake_src_prepare + guile_bump_sources +} + +src_configure() { + local mycmakeargs=( + -DUSE_SQLITE3=$(usex sqlite 1 0) + -DDEBUG_ASSERT=$(usex debug 1 0) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + # guile-single_src_install not needed, Guile 1.8 does not have .go + # files... +} diff --git a/profiles/package.mask b/profiles/package.mask index 48c2244bd05b..67f664d6bc6b 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -271,6 +271,7 @@ dev-scheme/guile:2.2 dev-scheme/guile:3.0 >=dev-build/make-4.4.1-r100 >=app-office/gnucash-5.8-r100 +>=app-office/texmacs-2.1-r100 >=app-shells/gash-0.3.0-r100 >=dev-build/remake-4.3.1.1.6-r100 >=dev-debug/gdb-15.1-r100
