summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl-gentoo@posteo.net>2023-04-11 10:48:46 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-05-02 16:39:04 +0300
commit735a5e8b07a9773f5f51ed2d7fcf838e7ad809cd (patch)
tree11f2518518e85aad3d08d6e1e8d27d79119fa33a
parentapp-emacs/scad-mode: new package, add 93.2 (diff)
downloadgentoo-735a5e8b07a9773f5f51ed2d7fcf838e7ad809cd.tar.gz
gentoo-735a5e8b07a9773f5f51ed2d7fcf838e7ad809cd.tar.bz2
gentoo-735a5e8b07a9773f5f51ed2d7fcf838e7ad809cd.zip
media-gfx/openscad: add notice about Emacs scad-mode
fix depstring for lib3mf Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/30570 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--media-gfx/openscad/openscad-9999.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/media-gfx/openscad/openscad-9999.ebuild b/media-gfx/openscad/openscad-9999.ebuild
index 94342d5766f0..ccf5837e0e73 100644
--- a/media-gfx/openscad/openscad-9999.ebuild
+++ b/media-gfx/openscad/openscad-9999.ebuild
@@ -3,13 +3,12 @@
# TODO's
# package and unbundle manifold
-# package Emacs scad-mode (and scad-dbus) and re-add emacs USE flag
# set up proper testing
# set up OFFLINE_DOCS and add doc USE flag
EAPI=8
-inherit cmake git-r3 xdg
+inherit cmake git-r3 optfeature xdg
DESCRIPTION="The Programmers Solid 3D CAD Modeller"
HOMEPAGE="https://www.openscad.org/"
@@ -20,7 +19,6 @@ EGIT_REPO_URI="https://github.com/openscad/openscad.git"
LICENSE="GPL-3+ LGPL-2.1"
SLOT="0"
KEYWORDS=""
-# TODO: emacs mode files have been moved to a separate repo: github://openscad/emacs-scad-mode
IUSE="cairo dbus egl experimental gamepad gui hidapi mimalloc spacenav"
RESTRICT="test" # 32 out 1300+ tests fail
@@ -42,7 +40,7 @@ RDEPEND="
media-libs/freetype
media-libs/glew:0=
media-libs/harfbuzz:=
- media-libs/lib3mf
+ media-libs/lib3mf:=
sci-mathematics/cgal:=
virtual/opengl
cairo? ( x11-libs/cairo )
@@ -122,6 +120,8 @@ pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
xdg_mimeinfo_database_update
+
+ optfeature "support scad major mode in GNU Emacs" app-emacs/scad-mode
}
pkg_postrm() {