gl_presenter: get rid of qt4 and increase eapi

This commit is contained in:
layman 2020-07-21 11:38:53 +02:00
parent c93d6ef8df
commit b4c6ebafd0
No known key found for this signature in database
GPG key ID: 92D2BF778E1308C0
3 changed files with 4 additions and 43 deletions

View file

@ -1 +0,0 @@
DIST gl_presenter-0.3.3.tar.bz2 25037 SHA256 00aaf56a88148cbda5e56934a9ec3d8cf35ccd2ed4d484fc0180adebccb64d65 SHA512 13f4ec1de3802eff1f159849ca96ea0e14931b330a2a1b504b02036de30041d562b4cfc70fca84a180ccedd606b102facf428c516c66e528eccf78c3bfd62ee0 WHIRLPOOL d6d7045bc837f51fff9e19959d11844d55114ab48a811eacc2fd4410a2e9dd86c8ab2d3c47b0f24cfcf493932c98872cc5e6d405f4e3372a24bba6d99af91794

View file

@ -1,28 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils qt4-r2
DESCRIPTION="advanced dual-screen pdf presenter using OpenGL"
HOMEPAGE="http://www.unix-ag.uni-kl.de/~kldenker/gl_presenter/"
SRC_URI="http://www.unix-ag.uni-kl.de/~kldenker/gl_presenter/download/source/gl_presenter-0.3.3.tar.bz2"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="app-text/poppler[qt4]
>=dev-qt/qtopengl-4.8
virtual/glu"
RDEPEND="${DEPEND}
media-fonts/dejavu"
src_install() {
dobin gl_presenter
}

View file

@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
EAPI=6
inherit eutils qmake-utils git-r3
@ -16,25 +16,15 @@ SLOT="0"
KEYWORDS=""
IUSE="qt4 +qt5"
DEPEND="qt5? ( app-text/poppler[qt5]
dev-qt/qtopengl:5
)
qt4? ( app-text/poppler[qt4]
dev-qt/qtopengl:4
)
DEPEND="app-text/poppler[qt5]
dev-qt/qtopengl:5
virtual/glu"
REQUIRED_USE="|| ( qt4 qt5 )"
RDEPEND="${DEPEND}
media-fonts/dejavu"
src_configure() {
if use qt4 ; then
eqmake4
else
eqmake5
fi
eqmake5
}
src_install() {