forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11-libs/libQGLViewer: version bump 2.7.2
Signed-off-by: Dennis Lamm <[email protected]> Closes: gentoo#16173 Signed-off-by: Dennis Lamm <[email protected]>
- Loading branch information
1 parent
cb5cf7e
commit 01483fa
Showing
3 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST libQGLViewer-2.7.1.tar.gz 3078737 BLAKE2B 0374c60374af0f4594ee79fafd53440654e9bb5114cef38e50deba86584cc55eef03d2177b5d54829f5b111d4d029384fff19f8a5bebf750cac1ab8cfe6afaa5 SHA512 1f597d737614f07682bde0d886c9c2eee57f478607a4caeac40922f66a6310ff30ea32e8ab44de0b23e0d1e5db2e6deea8c4fe3bc2cddc78ed5b971f638b09bd | ||
DIST libQGLViewer-2.7.2.tar.gz 3135146 BLAKE2B a46df06a135821fcb7895d4d037ee422cd9041695c57601cb7dccad3e1c4905ccbcacad91e47a79aa4adc85550db572adbb2311b1254d8779aba12d8fb36b255 SHA512 888695e413aa42b62d029efd1313f8aa101b4529f51edcea6416b58f6281715f8cdf27289d8f60cf1b0cdceba204e43e8477d30166350f8d3e090e6a93d8d595 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit flag-o-matic qmake-utils | ||
|
||
DESCRIPTION="C++ library based on Qt that eases the creation of OpenGL 3D viewers" | ||
HOMEPAGE="http://www.libqglviewer.com" | ||
SRC_URI="http://www.libqglviewer.com/src/${P}.tar.gz" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0/qt5" | ||
KEYWORDS="~amd64 ~arm" | ||
IUSE="designer examples" | ||
|
||
DEPEND=" | ||
dev-qt/qtcore:5 | ||
dev-qt/qtgui:5 | ||
dev-qt/qtopengl:5 | ||
dev-qt/qtwidgets:5 | ||
dev-qt/qtxml:5 | ||
virtual/glu | ||
virtual/opengl | ||
" | ||
RDEPEND="${DEPEND} | ||
designer? ( dev-qt/designer:5 ) | ||
" | ||
|
||
src_configure() { | ||
append-ldflags "-LQGLViewer" | ||
sed -e 's#designerPlugin##' -i ${P}.pro || die | ||
use examples || sed -e 's#examples examples/contribs##' -i ${P}.pro || die | ||
eqmake5 ${P}.pro \ | ||
PREFIX="${EPREFIX}/usr" \ | ||
LIB_DIR="${EPREFIX}/usr/$(get_libdir)" \ | ||
DOC_DIR="${EPREFIX}/usr/share/doc/${PF}/html" | ||
if use designer ; then | ||
cd "designerPlugin" || die | ||
eqmake5 designerPlugin.pro | ||
fi | ||
} | ||
|
||
src_install() { | ||
emake INSTALL_ROOT="${D}" install | ||
dodoc README | ||
|
||
if use designer ; then | ||
cd "${S}/designerPlugin" || die | ||
emake INSTALL_ROOT="${D}" install | ||
fi | ||
|
||
if use examples ; then | ||
exeinto /usr/bin/${PN}-examples | ||
doexe $(find "${S}/examples" -type f -executable ! -name '*.vcproj') | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters