mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 12:18:08 -07:00
sci-visualization/gle: clean an old version
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,4 +1 @@
|
||||
DIST GLEusersguide.pdf 2244780 BLAKE2B c00f6788b8cd27b0c76731f3aee5717efded726555ad68d97f7bc54be51526a259baf7580dfcbc86decf566eb75b846f44545f98389e6716c81afb5055721551 SHA512 cce76a83d09a68d449f4e3717e9dfcaa6c0866a1c36eb58f7180c2602f8a780804278804fee555ae6360bcf8b10b34c2124408975ea49824ab5d8ae23685fc71
|
||||
DIST gle-graphics-4.2.4cf-src.tar.gz 2321647 BLAKE2B a48759c0181fc34a8f235e39e06352b85e5717ea650588cfeb08342eea1b4ba56e7ace54cc8e6970b40423b31c0c70a832579cc11c0f5c6b20679d955a68137c SHA512 961205fcb763ef0fd0b59cfffd144440ea7dea8a54a19e79caa97712245a51ceaaeda5b92ce2571852cec14357af696861bf9cd588aa08622cc8f1f5ebf3959a
|
||||
DIST gle-graphics-4.2.5f-src.tar.gz 2330270 BLAKE2B 46435a2366a278a88786a2dd0e0cbcc48d3ba2fc6d895fb07c81216089a10b2223b2ba692b951ee01a6ab014e84cce9aa3969d063ddf7d04501820aa33084c5c SHA512 d459b24577c9c3f8825c368f864532c97d0a37c94018276a60c941d17dce0e55fe738f7eda3227a47848f2fb32fea1dcec29d9751a5be92cde4d8d38a2eeb0f5
|
||||
DIST gle-manual-4.2.2.pdf 2238766 BLAKE2B 0998b0172d6d4039bd8f5942414dddb6200258975bd3267582b7a38bc2dae1e1af6dd4756d483b274e1a3189809f36c7a432b14a24a59ef2e360749e2446d997 SHA512 0eaa10f1f13c2f65145cbeb8f713b6de787dcc7dd3c3a30e27514b1cc8e74007d38adc12fc7666d665677354c7c14db521dea05126614def4ec30f3429cd1a41
|
||||
|
||||
@@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils elisp-common qt4-r2 flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="Graphics Layout Engine"
|
||||
HOMEPAGE="http://glx.sourceforge.net/"
|
||||
MY_P=${PN}-graphics-${PV}
|
||||
MAN_V=4.2.2
|
||||
SRC_URI="mirror://sourceforge/glx/${MY_P}f-src.tar.gz
|
||||
doc? ( mirror://sourceforge/glx/${PN}-manual-${MAN_V}.pdf
|
||||
mirror://sourceforge/glx/GLEusersguide.pdf )"
|
||||
SLOT="0"
|
||||
LICENSE="BSD-2 emacs? ( GPL-2 ) qt4? ( GPL-2 )"
|
||||
IUSE="X qt4 jpeg png tiff doc emacs vim-syntax"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/ncurses:0=
|
||||
X? ( x11-libs/libX11 )
|
||||
qt4? ( dev-qt/qtopengl:4 )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
emacs? ( virtual/emacs )"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
app-text/ghostscript-gpl
|
||||
virtual/latex-base
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-4.2.4b-parallel.patch
|
||||
eaclocal
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# CPPFLAGS are understood as C++ flags
|
||||
append-cppflags ${CXXFLAGS}
|
||||
econf \
|
||||
--without-rpath \
|
||||
--with-manip \
|
||||
$(use_with qt4 qt "${EPREFIX}"/usr) \
|
||||
$(use_with X x) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with png) \
|
||||
$(use_with tiff)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
if use emacs; then
|
||||
cd contrib/editors/highlighting
|
||||
mv ${PN}-emacs.el ${PN}-mode.el
|
||||
elisp-compile ${PN}-mode.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# -jN failed to install some data files
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
rmdir "${ED}"/usr/share/doc/gle-graphics || die "rmdir gle-graphics failed"
|
||||
dodoc README.txt
|
||||
|
||||
if use qt4; then
|
||||
newicon src/gui/images/gle_icon.png gle.png
|
||||
make_desktop_entry qgle GLE gle
|
||||
newdoc src/gui/readme.txt gui_readme.txt
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${DISTDIR}"/${PN}-manual-${MAN_V}.pdf \
|
||||
"${DISTDIR}"/GLEusersguide.pdf
|
||||
fi
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} contrib/editors/highlighting/gle-mode.{el,elc} || die
|
||||
elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el || die
|
||||
fi
|
||||
|
||||
if use vim-syntax ; then
|
||||
dodir /usr/share/vim/vimfiles/{ftplugins,indent,syntax}
|
||||
cd contrib/editors/highlighting/vim || die
|
||||
chmod 644 ftplugin/* indent/* syntax/*
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r ftplugin indent syntax
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
Reference in New Issue
Block a user