DIST liborigin-3.0.0.tar.gz 156736 BLAKE2B 1c1fda3fc3ad47394b65637a808eca1ecf4cff19eb49de0811e50d395c3b7759f8ec19c680ed83f7a8191022aa17b4ba1211baa6ea16a48a5153736d9138ed5c SHA512 1cf00ec33a90b4baede0cd3b2a3e6d78ca4810511c6be58c4d1cce12e7e1001752422fe2ddbca80cd9016b91c5321eca1ab43606ace3acc21955a034ebc4094c
-DIST liborigin2-20110829.zip 158364 BLAKE2B fb6902142fe20bd29c8f3dd4c6d0c77b6f94e66f082c6950809367a4049adc1092a5e1abc2705670a15a32d1d680c14fc05061d34d422cd55689bb778ee47fde SHA512 d0e4013a686fbc61c58b1f39e98aace91978bcadffbb2ef9d32576a3b2f19cc2443d595da2d3ecc19298ec6e29c20717db94e1fda6a64d71f3763841228a01c0
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit qmake-utils
-
-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/qtcore:5
- dev-qt/qtgui:5
-"
-DEPEND="${RDEPEND}
- app-arch/unzip
- dev-cpp/tree
- doc? ( app-doc/doxygen )
-"
-
-DOCS=( readme FORMAT )
-
-S="${WORKDIR}"/${PN}${SLOT}
-
-src_prepare() {
- default
-
- cat >> liborigin2.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_configure() {
- eqmake5 liborigin2.pro
-}
-
-src_compile() {
- default
- if use doc; then
- cd doc || die
- doxygen Doxyfile || die "doc generation failed"
- fi
-}
-
-src_install() {
- use doc && local HTML_DOCS=( doc/html/. )
- einstalldocs
- emake install INSTALL_ROOT="${D}"
-}