diff options
author | Sam James <sam@gentoo.org> | 2022-10-29 13:01:43 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-29 13:07:51 +0100 |
commit | 6bb2843afd8a0e6813749372e9aa5cebb6da4c5a (patch) | |
tree | ee0c81bd3c50e66d626b6307d4e101d4c142853c /media-libs/ftgl | |
parent | media-libs/dssi: EAPI 8 (diff) | |
download | gentoo-6bb2843afd8a0e6813749372e9aa5cebb6da4c5a.tar.gz gentoo-6bb2843afd8a0e6813749372e9aa5cebb6da4c5a.tar.bz2 gentoo-6bb2843afd8a0e6813749372e9aa5cebb6da4c5a.zip |
media-libs/ftgl: EAPI 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/ftgl')
-rw-r--r-- | media-libs/ftgl/ftgl-2.1.3_rc5-r1.ebuild (renamed from media-libs/ftgl/ftgl-2.1.3_rc5.ebuild) | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild b/media-libs/ftgl/ftgl-2.1.3_rc5-r1.ebuild index 22107b5dd36a..7421ddac0cc2 100644 --- a/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild +++ b/media-libs/ftgl/ftgl-2.1.3_rc5-r1.ebuild @@ -1,31 +1,33 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 + inherit autotools flag-o-matic MY_PV="${PV/_/-}" -MY_PV2="${PV/_/~}" +MY_PV2="${PV/_/\~}" MY_P="${PN}-${MY_PV}" MY_P2="${PN}-${MY_PV2}" DESCRIPTION="library to use arbitrary fonts in OpenGL applications" HOMEPAGE="https://sourceforge.net/projects/ftgl/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P2}" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="static-libs" -DEPEND=">=media-libs/freetype-2.0.9 +DEPEND=" + media-libs/freeglut + >=media-libs/freetype-2.0.9 virtual/opengl virtual/glu - media-libs/freeglut" -RDEPEND="${DEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/${MY_P2}" +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-gentoo.patch @@ -36,6 +38,7 @@ PATCHES=( src_prepare() { default + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die eautoreconf } @@ -47,7 +50,9 @@ src_configure() { src_install() { local DOCS=( AUTHORS BUGS ChangeLog NEWS README TODO docs/projects_using_ftgl.txt) + default - rm -r "${ED%/}"/usr/share/doc/ftgl || die + + rm -r "${ED}"/usr/share/doc/ftgl || die find "${ED}" -name '*.la' -delete || die } |