mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-biology/seaview: drop old EAPI=5
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST seaview_4.3.5.tar.gz 309530 BLAKE2B a4210b179bba5ab40215603738fe844d48b4f953e7b79749786afcedce0625f17c343a2d4ed2a45d4a7cfc2d4c9abbb7ab856e98405694160ecfac186f86fadd SHA512 b20c018da9a29d79fe0393fed5d29117729492ea8f36e72d4aeb98044a3de4a13331bd29e76ca552a08f6da764e57e69f9fb0325fc031551514d7a54b56c849a
|
||||
DIST seaview_4.5.4.tar.gz 420608 BLAKE2B 14b044706440da88987cd6b546595497f2de61e8d03615bfce4634104914a56544a464b0abedc83e6c96329697dccb2087c2b1af5a1fdbf0d9bdc26418a49a75 SHA512 a8a2e49a13f87ae4279311068147169b1e17874e9ce5787003b854c7271efc7a128db6916bb883a9b7b0b90f855fe40d83c77e9fd9f5751464e04346b9923301
|
||||
DIST seaview_4.6.tar.gz 424258 BLAKE2B e958ff4b1f6bb283a2122d65917a352914f33e5c9593c34c449800fbcac74b0dd4fa98bb1f47c45e11f24e07dfebb3ced54fbd8440b2bcd2b1df32dc398d5892 SHA512 e005d9dcc9e03c5636404e94f0059f7d4a9289fe77ecdab765e3ca2b59d826b8711a344f3824d079383a7ede0fe17b3b06694dfb7b709bb6a0a1e38cef6ee1d6
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="A graphical multiple sequence alignment editor"
|
||||
HOMEPAGE="http://pbil.univ-lyon1.fr/software/seaview.html"
|
||||
SRC_URI="ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+xft"
|
||||
|
||||
CDEPEND="
|
||||
sys-libs/zlib
|
||||
x11-libs/fltk:1
|
||||
x11-libs/libX11
|
||||
xft? (
|
||||
x11-libs/libXft
|
||||
x11-libs/fltk:1[xft] )"
|
||||
RDEPEND="${CDEPEND}
|
||||
sci-biology/clustalw
|
||||
|| ( sci-libs/libmuscle sci-biology/muscle )
|
||||
sci-biology/phyml"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
# respect CXXFLAGS (package uses them as CFLAGS)
|
||||
sed \
|
||||
-e "s:^CC.*:CC = $(tc-getCC):" \
|
||||
-e "s:^CXX.*:CXX = $(tc-getCXX):" \
|
||||
-e "s:\$(OPT):${CXXFLAGS}:" \
|
||||
-e "s:^OPT:#OPT:" \
|
||||
-e "s:^FLTK = .*$:FLTK = ${EPREFIX}/usr/include/fltk-1:" \
|
||||
-e "s:^#IFLTK .*:IFLTK = $(fltk-config --use-images --cflags):" \
|
||||
-e "s:^#LFLTK .*:LFLTK = $(fltk-config --use-images --ldflags):" \
|
||||
-e "s:^USE_XFT:#USE_XFT:" \
|
||||
-e "s:^#HELPFILE:HELPFILE:" \
|
||||
-e "s:/usr/share/doc/seaview/seaview.htm:${EPREFIX}/usr/share/seaview/seaview.htm:" \
|
||||
-e "s:^#PHYMLNAME:PHYMLNAME:" \
|
||||
-e 's:-lXinerama::g' \
|
||||
-e 's:-lpng::g' \
|
||||
-e 's:-ljpeg::g' \
|
||||
-e 's:-lfontconfig::g' \
|
||||
-i Makefile || die "sed failed while editing Makefile"
|
||||
|
||||
if use xft; then
|
||||
sed \
|
||||
-e "s:^#USE_XFT .*:USE_XFT = -DUSE_XFT $($(tc-getPKG_CONFIG) --cflags xft):" \
|
||||
-e "s:-lXft:$($(tc-getPKG_CONFIG) --libs xft):" \
|
||||
-i Makefile || die "sed failed while editing Makefile to enable xft"
|
||||
else
|
||||
sed -i -e "s:-lXft::" Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin seaview
|
||||
|
||||
# /usr/share/seaview/seaview.html is hardcoded in the binary, see Makefile
|
||||
insinto /usr/share/seaview
|
||||
doins example.nxs seaview.html
|
||||
|
||||
insinto /usr/share/seaview/images
|
||||
doins seaview.xpm
|
||||
|
||||
make_desktop_entry seaview Seaview
|
||||
|
||||
doman seaview.1
|
||||
}
|
||||
Reference in New Issue
Block a user