commit: 1a90a9bd6a062ab4f93fb3cc6a9c5b37445b4bd3 Author: Lucas Mitrak <lucas <AT> lucasmitrak <DOT> com> AuthorDate: Mon Jul 26 17:48:33 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Sat Jul 31 11:11:53 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1a90a9bd
media-libs/libgfx: version bump to 1.1.1 which is hosted on github * Version bump to 1.1.1 which is hosted on github on its own branch Currently, the science repo only has media-libs/libgfx-1.1.0. Upstream has made available version 1.1.1; however, it is not located in 1.1.0's SRC_URI [1]. Instead, he made version 1.1.1 available on github in its own branch [2]. This new version implements both patches stored in the ebuild's files directory[3]. These patches were made available upstream by me, Lucas Mitrak, via email. This commit was tested in a docker image with dev-util/ebuildtester. This commit was written, tested, and submitted by Lucas Mitrak. [1] http://mgarland.org/files/dist/ [2] https://github.com/mjgarland/libgfx/tree/branch-1.1.1 [3] https://github.com/gentoo/sci/tree/master/media-libs/libgfx/files Closes: https://github.com/gentoo/sci/pull/1100 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Lucas Mitrak <lucas <AT> lucasmitrak.com> Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> media-libs/libgfx/libgfx-1.1.1.ebuild | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/media-libs/libgfx/libgfx-1.1.1.ebuild b/media-libs/libgfx/libgfx-1.1.1.ebuild new file mode 100644 index 000000000..6cbedc968 --- /dev/null +++ b/media-libs/libgfx/libgfx-1.1.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Simplify the creation of computer graphics software" +HOMEPAGE="http://mgarland.org/software/libgfx.html" + +COMMIT="f28ca5f0df3044f6399d6214faf66daa36712b91" +SRC_URI="https://github.com/mjgarland/libgfx/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +DEPEND=" + virtual/opengl + x11-libs/fltk +" + +RDEPEND="${DEPEND}" + +src_compile() { + cd src || die + default +} + +src_install() { + use static-libs && dolib.a src/*.a + doheader include/gfx/gfx.h + + dodoc doc/* +} + +src_test() { + cd tests || die + sed -i -e 's/t-vec.cxx t-img.cxx t-gui.cxx t-glimg.cxx t-script.cxx t-glext.cxx/t-vec.cxx t-img.cxx t-script.cxx/' Makefile + emake +}
