From 721e451ec418e1712f6962404e111f0ebd487389 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 27 Dec 2024 06:30:35 +0000 Subject: gentoo auto-resync : 27:12:2024 - 06:30:34 --- games-util/glbsp/Manifest | 2 +- games-util/glbsp/glbsp-2.24-r1.ebuild | 70 +++++++++++++++++++++++++++++++++++ games-util/glbsp/glbsp-2.24.ebuild | 70 ----------------------------------- 3 files changed, 71 insertions(+), 71 deletions(-) create mode 100644 games-util/glbsp/glbsp-2.24-r1.ebuild delete mode 100644 games-util/glbsp/glbsp-2.24.ebuild (limited to 'games-util/glbsp') diff --git a/games-util/glbsp/Manifest b/games-util/glbsp/Manifest index 2f59c3d38d03..c945d5f72517 100644 --- a/games-util/glbsp/Manifest +++ b/games-util/glbsp/Manifest @@ -1,5 +1,5 @@ AUX glbsp-2.24-ldflags.patch 593 BLAKE2B 56cc840205923798cad39b6930d3d0d8b5b8b9c988064c6d8181c13a257970332ce8dda676d7062cbed9da7380430508d2987a9a26c52c85775c26435d99ad87 SHA512 6a3b0889a0c0cdf3adb8b24f69713b89d88559f4bdb2913fc5b0e697f2c78cd8804b719b4de71792da7d0aae8e6fd109b28eb5dc1d0b21a4d0b9396a8abf855c AUX glbsp-2.24-return-type.patch 262 BLAKE2B cd8df7d7ca89a0edb3acd45fd8922e3b12f7b73a4b9f836e3e61b4ef27297f41317cfbb06d0d9842e3aa690d0ae6fd8e69d15bed3f0b365830cbbe6483ab2fc1 SHA512 980f2a952600450cb9f02dee8d67256a7ab3f95977b7566568c58cf236a3b0d0d6ab44dc6f31076dd131df66b1084620a513ed74eb9b4e4169adbb9ef4145500 DIST glbsp_src_224.tar.gz 230977 BLAKE2B a8fce559e2d37e0662dd773f94d781a63bbce66d7fca87b785b7ba095670844fe441093d721eba95eb679457d6217327e93002e54848ed919cf34e552e152030 SHA512 562201093b69ae1db113479f8dd71e474d2d4ea7798b5e156dc096660e0b725a16ba44e8d2bfd332eba89b66d07ac2a1ddd803e75802c8fb3739a420701b2e1a -EBUILD glbsp-2.24.ebuild 1566 BLAKE2B 3e4397e3d172fa7301e12361beca5fa16caaaf0f166debcddc251dd64fe4e875439adea98eaadb58956ced28fef193357fb006e7aee1b7303c7159c9ec01c49b SHA512 adeda956fe65de6f7476191ee601a61938cff43765d61d702aad3b72e7a5486e813cacbb5e8146175b8284ff09968550a12d25486a4a1e5f87ceffd18574f56c +EBUILD glbsp-2.24-r1.ebuild 1567 BLAKE2B 816ca3013db147aae9aec863b82cb8814be454f73ce728aa303d33673ca540eede39b9f87cbd29a78eee9db176b2f5fd59220e3ceba93d287ff6487a536953bf SHA512 41ed0ce0927f5b7bb37b58e158d2b2e2098aa1c5e1855e3dafad6b9760384852a1d2b5d6ae913f831643c27cb4923ee2fdfda17842a78e77d1177e024f9f57f8 MISC metadata.xml 329 BLAKE2B 4fcc33824c1db188b38481bd2dca74c9442abfb60cde69d8673e9a3dc05bae1121c5c662eefb425fbb004e93ccb300995109d334274a2b1bf0bfda998ff693f5 SHA512 bc5b9332f8dbc4b42fcad7f1c319646a4ee666de3f5ab11ab7edf84702300b011618365e50a456dfe1b26ff052ffcffda52d04b355d58f5d7cfb568efba7923f diff --git a/games-util/glbsp/glbsp-2.24-r1.ebuild b/games-util/glbsp/glbsp-2.24-r1.ebuild new file mode 100644 index 000000000000..f2accf2462e3 --- /dev/null +++ b/games-util/glbsp/glbsp-2.24-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs + +MY_PV=$(ver_rs 1 '') +DESCRIPTION="Node builder specially designed for OpenGL ports of the DOOM game engine" +HOMEPAGE="https://glbsp.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/glbsp/${PN}_src_${MY_PV}.tar.gz" +S="${WORKDIR}"/${P}-source + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="fltk" + +DEPEND="fltk? ( x11-libs/fltk:1= )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-ldflags.patch + "${FILESDIR}"/${P}-return-type.patch +) + +src_prepare() { + default + + sed -i \ + -e "/^CC=/s:=.*:=$(tc-getCC):" \ + -e "/^CXX=/s:=.*:=$(tc-getCXX):" \ + -e "/^AR=/s:ar:$(tc-getAR):" \ + -e "/^RANLIB=/s:=.*:=$(tc-getRANLIB):" \ + -e "s:-O2:${CFLAGS}:" \ + -e "s:-O -g3:${CFLAGS}:" \ + Makefile.unx \ + nodeview/Makefile.unx || die +} + +src_compile() { + emake -f Makefile.unx + if use fltk ; then + emake -f Makefile.unx glBSPX \ + FLTK_FLAGS="$(fltk-config --cflags)" \ + FLTK_LIBS="$(fltk-config --use-images --ldflags)" + emake -f Makefile.unx -C nodeview \ + FLTK_CFLAGS="$(fltk-config --cflags)" \ + FLTK_LIBS="$(fltk-config --use-images --ldflags)" + fi +} + +src_install() { + dobin glbsp + dolib.a libglbsp.a + doman glbsp.1 + dodoc AUTHORS.txt glbsp.txt + insinto "/usr/include" + doins "src/glbsp.h" + + if use fltk ; then + newbin glBSPX glbspx + newicon gui/icon.xpm glbspx.xpm + make_desktop_entry glbspx glBSPX glbspx + + dobin nodeview/nodeview + docinto nodeview + dodoc nodeview/{README,TODO}.txt + fi +} diff --git a/games-util/glbsp/glbsp-2.24.ebuild b/games-util/glbsp/glbsp-2.24.ebuild deleted file mode 100644 index d1dfbf4aca7b..000000000000 --- a/games-util/glbsp/glbsp-2.24.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop toolchain-funcs - -MY_PV=$(ver_rs 1 '') -DESCRIPTION="Node builder specially designed for OpenGL ports of the DOOM game engine" -HOMEPAGE="https://glbsp.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/glbsp/${PN}_src_${MY_PV}.tar.gz" -S="${WORKDIR}"/${P}-source - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="fltk" - -DEPEND="fltk? ( x11-libs/fltk:1 )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-ldflags.patch - "${FILESDIR}"/${P}-return-type.patch -) - -src_prepare() { - default - - sed -i \ - -e "/^CC=/s:=.*:=$(tc-getCC):" \ - -e "/^CXX=/s:=.*:=$(tc-getCXX):" \ - -e "/^AR=/s:ar:$(tc-getAR):" \ - -e "/^RANLIB=/s:=.*:=$(tc-getRANLIB):" \ - -e "s:-O2:${CFLAGS}:" \ - -e "s:-O -g3:${CFLAGS}:" \ - Makefile.unx \ - nodeview/Makefile.unx || die -} - -src_compile() { - emake -f Makefile.unx - if use fltk ; then - emake -f Makefile.unx glBSPX \ - FLTK_FLAGS="$(fltk-config --cflags)" \ - FLTK_LIBS="$(fltk-config --use-images --ldflags)" - emake -f Makefile.unx -C nodeview \ - FLTK_CFLAGS="$(fltk-config --cflags)" \ - FLTK_LIBS="$(fltk-config --use-images --ldflags)" - fi -} - -src_install() { - dobin glbsp - dolib.a libglbsp.a - doman glbsp.1 - dodoc AUTHORS.txt glbsp.txt - insinto "/usr/include" - doins "src/glbsp.h" - - if use fltk ; then - newbin glBSPX glbspx - newicon gui/icon.xpm glbspx.xpm - make_desktop_entry glbspx glBSPX glbspx - - dobin nodeview/nodeview - docinto nodeview - dodoc nodeview/{README,TODO}.txt - fi -} -- cgit v1.2.3