From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/
Date: Wed, 21 Dec 2022 16:44:36 +0000 (UTC) [thread overview]
Message-ID: <1671641062.ca57df6a85cf284187ca5919f131430b83dcb3d0.grozin@gentoo> (raw)
commit: ca57df6a85cf284187ca5919f131430b83dcb3d0
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 21 16:44:22 2022 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Wed Dec 21 16:44:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca57df6a
sci-visualization/gle: DEPEND on media/libs/glu
Closes: https://bugs.gentoo.org/887737
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
sci-visualization/gle/gle-4.3.3-r1.ebuild | 83 +++++++++++++++++++++++++++++++
1 file changed, 83 insertions(+)
diff --git a/sci-visualization/gle/gle-4.3.3-r1.ebuild b/sci-visualization/gle/gle-4.3.3-r1.ebuild
new file mode 100644
index 000000000000..cb4cbd283b80
--- /dev/null
+++ b/sci-visualization/gle/gle-4.3.3-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake elisp-common
+
+DESCRIPTION="Graphics Layout Engine"
+HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/"
+IUSE="doc emacs"
+LIB_VERSION="d476418f006b001dc7f47dcafb413c0557fa44a7"
+SRC_URI="https://github.com/vlabella/GLE/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/vlabella/gle-library/archive/${LIB_VERSION}.tar.gz -> ${PN}-library.tar.gz
+ doc? ( https://dev.gentoo.org/~grozin/gle-manual.pdf.gz )
+ emacs? ( https://dev.gentoo.org/~grozin/gle-mode.el.gz )"
+S="${WORKDIR}"/GLE-${PV}/src
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="app-text/ghostscript-gpl
+ dev-libs/boost
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtopengl:5
+ dev-qt/qtwidgets:5
+ media-libs/glu
+ media-libs/libpng
+ media-libs/tiff
+ sys-libs/zlib
+ media-libs/libjpeg-turbo
+ x11-libs/cairo
+ x11-libs/pixman
+ emacs? ( app-editors/emacs:* )"
+RDEPEND="${DEPEND}
+ virtual/latex-base"
+
+PATCHES=( "${FILESDIR}"/${P}.patch )
+SITEFILE="64${PN}-gentoo.el"
+
+src_configure() {
+ local mycmakeargs=(
+ -DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${LIB_VERSION}
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use emacs && elisp-compile "${WORKDIR}"/*.el
+}
+
+src_install() {
+ pushd "${WORKDIR}"/${P}_build > /dev/null || die "pushd failed"
+ newbin gle/gle gle.bin
+ dobin gui/qgle
+ insinto /usr/share/${PN}
+ doins gle/glerc
+ doins -r gle/font
+ popd > /dev/null
+ newbin "${FILESDIR}"/gle.sh gle
+ dodoc ../doc/README.txt ../doc/ChangeLog.txt
+ doins TeX/init.tex
+ mv "${WORKDIR}"/gle-library-${LIB_VERSION}/include "${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc || die "mv failed"
+ doins -r "${WORKDIR}"/gle-library-${LIB_VERSION}/gleinc
+ GLE_TOP="${D}"/usr/share/${PN} "${D}"/usr/bin/gle.bin -mkinittex
+ use doc && dodoc "${WORKDIR}"/*.pdf
+ if use emacs; then
+ elisp-install ${PN} "${WORKDIR}"/*.el "${WORKDIR}"/*.elc
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
next reply other threads:[~2022-12-21 16:44 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-21 16:44 Andrey Grozin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-17 23:04 [gentoo-commits] repo/gentoo:master commit in: sci-visualization/gle/ Andreas Sturmlechner
2025-05-22 10:08 Andrey Grozin
2025-05-09 10:52 Andrey Grozin
2025-03-30 21:42 Andreas Sturmlechner
2025-02-09 14:16 Andrey Grozin
2024-08-01 3:15 Eli Schwartz
2024-08-01 3:15 Eli Schwartz
2023-08-22 8:37 Andrey Grozin
2022-12-22 3:38 Andrey Grozin
2022-12-22 3:36 Andrey Grozin
2022-12-21 16:46 Andrey Grozin
2022-12-16 1:40 Sam James
2022-11-19 11:41 Andrew Ammerlaan
2022-08-03 23:49 Sam James
2022-08-03 23:45 Sam James
2021-05-26 3:51 Andrey Grozin
2021-05-26 3:27 Andrey Grozin
2021-05-25 14:55 David Seifert
2021-05-25 14:55 David Seifert
2021-05-25 14:16 Andrey Grozin
2019-12-20 22:49 Ulrich Müller
2018-01-04 15:59 Andrey Grozin
2017-12-31 3:21 Andrey Grozin
2017-12-31 3:19 Andrey Grozin
2016-05-14 23:32 David Seifert
2016-05-14 23:32 David Seifert
2015-08-21 10:19 Andrey Grozin
2015-08-21 5:31 Andrey Grozin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1671641062.ca57df6a85cf284187ca5919f131430b83dcb3d0.grozin@gentoo \
--to=grozin@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox