diff options
Diffstat (limited to 'media-libs/quesoglc/quesoglc-0.7.2-r2.ebuild')
| -rw-r--r-- | media-libs/quesoglc/quesoglc-0.7.2-r2.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/quesoglc/quesoglc-0.7.2-r2.ebuild b/media-libs/quesoglc/quesoglc-0.7.2-r2.ebuild new file mode 100644 index 0000000..ed6d3bf --- /dev/null +++ b/media-libs/quesoglc/quesoglc-0.7.2-r2.ebuild | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | # Copyright 1999-2024 Gentoo Authors | ||
| 2 | # Distributed under the terms of the GNU General Public License v2 | ||
| 3 | |||
| 4 | EAPI=8 | ||
| 5 | |||
| 6 | DESCRIPTION="Free implementation of the OpenGL Character Renderer (GLC)" | ||
| 7 | HOMEPAGE="https://quesoglc.sourceforge.net/" | ||
| 8 | SRC_URI="https://downloads.sourceforge.net/${PN}/${P}-free.tar.bz2" | ||
| 9 | |||
| 10 | LICENSE="LGPL-2.1+" | ||
| 11 | SLOT="0" | ||
| 12 | KEYWORDS="amd64 ppc sparc x86" | ||
| 13 | IUSE="doc" | ||
| 14 | |||
| 15 | RDEPEND=" | ||
| 16 | dev-libs/fribidi | ||
| 17 | media-libs/fontconfig | ||
| 18 | media-libs/freetype:2 | ||
| 19 | virtual/glu | ||
| 20 | virtual/opengl" | ||
| 21 | DEPEND="${RDEPEND}" | ||
| 22 | BDEPEND=" | ||
| 23 | virtual/pkgconfig | ||
| 24 | doc? ( | ||
| 25 | app-text/doxygen | ||
| 26 | dev-texlive/texlive-latexextra | ||
| 27 | virtual/latex-base | ||
| 28 | )" | ||
| 29 | |||
| 30 | PATCHES=( | ||
| 31 | "${FILESDIR}"/fedora.patch | ||
| 32 | ) | ||
| 33 | |||
| 34 | src_prepare() { | ||
| 35 | default | ||
| 36 | rm -r src/fribidi || die | ||
| 37 | } | ||
| 38 | |||
| 39 | src_configure() { | ||
| 40 | # Uses its own copy of media-libs/glew with GLEW_MX | ||
| 41 | local myeconfargs=( | ||
| 42 | --disable-executables | ||
| 43 | --with-fribidi | ||
| 44 | --without-glew | ||
| 45 | ) | ||
| 46 | econf "${myeconfargs[@]}" | ||
| 47 | } | ||
| 48 | |||
| 49 | src_compile() { | ||
| 50 | emake all $(usev doc) | ||
| 51 | } | ||
| 52 | |||
| 53 | src_install() { | ||
| 54 | default | ||
| 55 | |||
| 56 | use doc && dodoc -r docs/html | ||
| 57 | find "${ED}" -name '*.la' -delete || die | ||
| 58 | } | ||
