mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sci-libs/liborigin: Drop old
Closes: https://bugs.gentoo.org/644468 Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib qt4-r2
|
||||
|
||||
DESCRIPTION="Library for reading OriginLab OPJ project files"
|
||||
HOMEPAGE="http://soft.proindependent.com/liborigin2/"
|
||||
SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${PN}2-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="2"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost
|
||||
dev-qt/qtgui:4"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
dev-cpp/tree
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S="${WORKDIR}"/${PN}${SLOT}
|
||||
|
||||
src_prepare() {
|
||||
mv liborigin2.pro liborigin.pro || die
|
||||
qt4-r2_src_prepare
|
||||
cat >> liborigin.pro <<-EOF
|
||||
INCLUDEPATH += "${EPREFIX}/usr/include/tree"
|
||||
headers.files = \$\$HEADERS
|
||||
headers.path = "${EPREFIX}/usr/include/liborigin2"
|
||||
target.path = "${EPREFIX}/usr/$(get_libdir)"
|
||||
INSTALLS = target headers
|
||||
EOF
|
||||
# use system one
|
||||
rm -f tree.hh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
qt4-r2_src_compile
|
||||
if use doc; then
|
||||
cd doc && \
|
||||
doxygen Doxyfile || die "doc generation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS="readme FORMAT"
|
||||
use doc && local HTML_DOCS=( doc/html/. )
|
||||
qt4-r2_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user