You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.3 KiB
55 lines
1.3 KiB
1 year ago
|
# Copyright 1999-2023 Gentoo Authors
|
||
2 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
inherit cmake
|
||
|
|
||
|
DESCRIPTION="The protein secondary structure standard"
|
||
|
HOMEPAGE="https://swift.cmbi.umcn.nl/gv/dssp/ https://github.com/PDB-REDO/dssp"
|
||
1 year ago
|
SRC_URI="https://github.com/PDB-REDO/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||
2 years ago
|
|
||
|
LICENSE="BSD-2"
|
||
|
SLOT="0"
|
||
2 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
10 months ago
|
# doc disabled as it only generates a PDF from the manpage for now
|
||
|
# https://github.com/PDB-REDO/dssp/issues/64
|
||
|
#IUSE="doc"
|
||
2 years ago
|
|
||
10 months ago
|
CDEPEND="
|
||
2 years ago
|
dev-libs/boost:=[zlib]
|
||
1 year ago
|
>=dev-libs/libmcfp-1.2.2
|
||
10 months ago
|
>=sci-libs/libcifpp-5.1.0
|
||
2 years ago
|
"
|
||
10 months ago
|
BDEPEND="${CDEPEND}"
|
||
|
# doc? (
|
||
|
# || ( app-text/pandoc-bin[pandoc-symlink] app-text/pandoc )
|
||
|
# dev-python/weasyprint
|
||
|
# )
|
||
2 years ago
|
DEPEND=""
|
||
10 months ago
|
RDEPEND="${CDEPEND}"
|
||
|
|
||
|
#src_prepare() {
|
||
|
# # wkhtmltopdf is not available on Gentoo
|
||
|
# sed -i -e \
|
||
|
# 's/-t html/-t html --pdf-engine=weasyprint/' \
|
||
|
# CMakeLists.txt
|
||
|
# cmake_src_prepare
|
||
|
#}
|
||
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
#-DGENERATE_DOCUMENTATION=$(usex doc)
|
||
|
-DGENERATE_DOCUMENTATION=NO
|
||
|
)
|
||
|
cmake_src_configure
|
||
|
}
|
||
2 years ago
|
|
||
|
pkg_postinst() {
|
||
|
if has_version "<=sci-chemistry/gromacs-2022"; then
|
||
|
ewarn "DSSP > 3.0.x is not compatible with gmx do_dssp:"
|
||
|
ewarn "https://gitlab.com/gromacs/gromacs/-/issues/4129"
|
||
|
ewarn
|
||
|
ewarn "Feel free to mask newer versions if needed."
|
||
|
fi
|
||
|
}
|