Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/quesoglc/
Date: Wed, 28 Jul 2021 21:23:20
Message-Id: 1627507343.b2c27008cb83263ee4c622ac90d67e01da1fd311.ionen@gentoo
1 commit: b2c27008cb83263ee4c622ac90d67e01da1fd311
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Sat Jul 24 19:02:45 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 28 21:22:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2c27008
7
8 media-libs/quesoglc: EAPI8 bump, minor improvements
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
12 Closes: https://github.com/gentoo/gentoo/pull/21771
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 media-libs/quesoglc/quesoglc-0.7.2-r1.ebuild | 54 ++++++++++++++++++++++++++++
16 1 file changed, 54 insertions(+)
17
18 diff --git a/media-libs/quesoglc/quesoglc-0.7.2-r1.ebuild b/media-libs/quesoglc/quesoglc-0.7.2-r1.ebuild
19 new file mode 100644
20 index 00000000000..6f4fe15c6eb
21 --- /dev/null
22 +++ b/media-libs/quesoglc/quesoglc-0.7.2-r1.ebuild
23 @@ -0,0 +1,54 @@
24 +# Copyright 1999-2021 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=8
28 +
29 +DESCRIPTION="Free implementation of the OpenGL Character Renderer (GLC)"
30 +HOMEPAGE="http://quesoglc.sourceforge.net/"
31 +SRC_URI="mirror://sourceforge/${PN}/${P}-free.tar.bz2"
32 +
33 +LICENSE="LGPL-2.1+"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
36 +IUSE="doc"
37 +
38 +RDEPEND="
39 + dev-libs/fribidi
40 + media-libs/fontconfig
41 + media-libs/freetype:2
42 + virtual/glu
43 + virtual/opengl"
44 +DEPEND="${RDEPEND}"
45 +BDEPEND="
46 + virtual/pkgconfig
47 + doc? (
48 + app-doc/doxygen
49 + dev-texlive/texlive-latexextra
50 + virtual/latex-base
51 + )"
52 +
53 +src_prepare() {
54 + default
55 + rm -r src/fribidi || die
56 +}
57 +
58 +src_configure() {
59 + # Uses its own copy of media-libs/glew with GLEW_MX
60 + local myeconfargs=(
61 + --disable-executables
62 + --with-fribidi
63 + --without-glew
64 + )
65 + econf "${myeconfargs[@]}"
66 +}
67 +
68 +src_compile() {
69 + emake all $(usev doc)
70 +}
71 +
72 +src_install() {
73 + default
74 +
75 + use doc && dodoc -r docs/html
76 + find "${ED}" -name '*.la' -delete || die
77 +}