public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/opencsg/
Date: Fri, 22 Apr 2022 10:22:37 +0000 (UTC)	[thread overview]
Message-ID: <1650622953.c38e764c452df53a9a7959debddd7b46bbaab8b1.juippis@gentoo> (raw)

commit:     c38e764c452df53a9a7959debddd7b46bbaab8b1
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Fri Apr 15 10:24:33 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 10:22:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38e764c

media-gfx/opencsg: bump to 1.5.1

Closes: https://bugs.gentoo.org/838439
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-gfx/opencsg/Manifest             |  1 +
 media-gfx/opencsg/opencsg-1.5.1.ebuild | 58 ++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/media-gfx/opencsg/Manifest b/media-gfx/opencsg/Manifest
index d211f22f22dd..3f9563bd4b32 100644
--- a/media-gfx/opencsg/Manifest
+++ b/media-gfx/opencsg/Manifest
@@ -1 +1,2 @@
 DIST OpenCSG-1.4.2.tar.gz 933135 BLAKE2B 20882afaddf40cc4e0c43c3e70bad334aae3885241a3993ce7083de20f9b10d6e6c4eb3a55abba2b1eca64fdae784c491492543a5012b8b2d67eb63a16dd693b SHA512 fbe6f925982717ecca7bd0eacc4fc5b362c80c7663b1ff0d9a228f2b5e1d3625d3e6d324d9e634665c74e9c0fc37d10290ece293e59a3eba67035b6b700b7778
+DIST OpenCSG-1.5.1.tar.gz 967182 BLAKE2B a24d7e736b58af78dfed218e7015c9a580c447b65367209fade0c90a36cf7bb638c4abe10cdf37a07c8f16d46389e92341ab72ea8d9c189e380502cbb2962d29 SHA512 aef3e785e730fd8f2ee06719d1c7a57c105e7432fb4dc6f4ad4305aabf1c7d4438ef869ae4eb840dc272b35f20c4ff296e6dd5418337230081e74ac4c91cd342

diff --git a/media-gfx/opencsg/opencsg-1.5.1.ebuild b/media-gfx/opencsg/opencsg-1.5.1.ebuild
new file mode 100644
index 000000000000..e530115c0f39
--- /dev/null
+++ b/media-gfx/opencsg/opencsg-1.5.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+MY_P="OpenCSG-${PV}"
+
+DESCRIPTION="The Constructive Solid Geometry rendering library"
+HOMEPAGE="https://www.opencsg.org"
+SRC_URI="https://www.opencsg.org/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc"
+RESTRICT="test"
+
+RDEPEND="
+	media-libs/glew:0=
+	virtual/opengl
+"
+
+# qtgui is needed for opengles2 feature by
+# /usr/lib64/qt5/mkspecs/feature/unix/opengl.prf
+DEPEND="${RDEPEND}
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+"
+
+DOCS=( build.txt changelog.txt )
+
+PATCHES=( "${FILESDIR}"/${PN}-1.4.2-includepath.patch )
+
+src_prepare() {
+	default
+
+	# removes duplicated headers
+	rm -r glew || die "failed to remove bundled glew"
+}
+
+src_configure() {
+	eqmake5 opencsg.pro INSTALLDIR="${EPREFIX}/usr" LIBDIR="$(get_libdir)"
+}
+
+src_compile() {
+	# rebuild Makefiles in subdirs
+	emake INSTALLDIR="${EPREFIX}/usr" LIBDIR="$(get_libdir)" qmake_all
+	emake sub-src
+}
+
+src_install() {
+	emake -C src INSTALL_ROOT="${ED}" install
+	use doc && local HTML_DOCS=( doc/. )
+	einstalldocs
+}


             reply	other threads:[~2022-04-22 10:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-22 10:22 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-06  7:49 [gentoo-commits] repo/gentoo:master commit in: media-gfx/opencsg/ Sam James
2024-12-05 21:16 Sam James
2024-12-03  7:58 Joonas Niilola
2024-12-01 22:36 Jakov Smolić
2023-12-11 13:30 Joonas Niilola
2023-12-03  5:45 Arthur Zamarin
2022-06-22  7:03 Joonas Niilola
2022-06-03  7:16 Joonas Niilola
2022-06-03  7:16 Joonas Niilola
2022-04-22 13:28 Joonas Niilola
2021-12-08 10:14 Yixun Lan
2021-02-07 17:07 Conrad Kostecki
2020-12-28  2:19 Jonas Stein
2020-08-25 10:25 Sam James
2020-04-14 12:32 Agostino Sarubbo
2020-04-14  7:58 Agostino Sarubbo
2020-04-13  8:31 Joonas Niilola
2020-04-05 19:47 Andreas Sturmlechner
2018-10-23 10:09 Matthew Marlowe
2017-09-03  6:08 Michael Palimaka
2017-09-03  6:08 Michael Palimaka
2017-07-04 13:29 Michael Palimaka
2016-08-06 17:55 Michael Orlitzky
2016-08-06  9:16 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1650622953.c38e764c452df53a9a7959debddd7b46bbaab8b1.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox