From eecd75a62239257eb2235bfe8697c73887a9a080 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 29 Jan 2024 00:57:18 +0000 Subject: gentoo auto-resync : 29:01:2024 - 00:57:18 --- games-fps/Manifest.gz | Bin 12203 -> 12210 bytes games-fps/serioussam/Manifest | 4 +- games-fps/serioussam/serioussam-1.10.6.ebuild | 106 ------------------------- games-fps/serioussam/serioussam-1.10.6c.ebuild | 106 +++++++++++++++++++++++++ games-fps/serioussam/serioussam-1.10.6d.ebuild | 106 +++++++++++++++++++++++++ 5 files changed, 215 insertions(+), 107 deletions(-) delete mode 100644 games-fps/serioussam/serioussam-1.10.6.ebuild create mode 100644 games-fps/serioussam/serioussam-1.10.6c.ebuild create mode 100644 games-fps/serioussam/serioussam-1.10.6d.ebuild (limited to 'games-fps') diff --git a/games-fps/Manifest.gz b/games-fps/Manifest.gz index 9b5fa51547bf..50a13db64cba 100644 Binary files a/games-fps/Manifest.gz and b/games-fps/Manifest.gz differ diff --git a/games-fps/serioussam/Manifest b/games-fps/serioussam/Manifest index 3885cb2875d3..63496b2d3f5c 100644 --- a/games-fps/serioussam/Manifest +++ b/games-fps/serioussam/Manifest @@ -1,3 +1,5 @@ DIST serioussam-1.10.6c.tar.gz 47908208 BLAKE2B 90af9f8c11b474ce0e114c3390e1afd5c746c1b2ca4e61bd6085f1dc42f6f73981cc4434ff8fdcc1306178ae9d2707026765a3a1da006d5adb841d2d314a4214 SHA512 de1ba536c84977d1e7335833b8a2080b13a22ca25efba88363972dceb4bcbfda1db448de42d262fa003fe9df393327509e76afc3cc501f96ed6495d29b74b6bb -EBUILD serioussam-1.10.6.ebuild 3065 BLAKE2B 0996d3f56299cef540fefefe5ed26b685951bc9709a23891f037c9359d3231a25524a1b540d18e88404fdc66987ecd9911acaf6b0b892fa8b9addc78c16c58e6 SHA512 e771822e53a879adc999785d6673b4d930f17b4890510a762c7fafacfb8b404bd51fc174d6e4f422423e0474f91650cd9279d7dcede5eb239117d47844ae7a11 +DIST serioussam-1.10.6d.tar.gz 47922084 BLAKE2B b035df25f897e498e8e6bf4707c3003e0aeb79eff8d0067b5887716acd3630640e2d599434288635f4ae7d6aeb522a0e814c0b5acb64dc6166d7b7487e9ee88c SHA512 1a71e1277f6d2e7d0d059a15c51877d3d838e1c97ea6d8c61cdeb4ff0a4c2640be6a412db2c099b78d15b657d3b0bf8f324416d9258f7867fee6cf54923a542d +EBUILD serioussam-1.10.6c.ebuild 3056 BLAKE2B ad4c9c694d371cb9846abb8853551cd46c4aa0d35e149fcc36abbfd433b61458d760ccea166f6616d7bd0d5776c514c5ccc26ea3dde58b2e7efbee82547e145d SHA512 72124b0accf8b3856165cbfb990fe14825d0c2d7f8319f1a4c43c8c852d2bca655028769c51afb9d259db85417f6cac91549268a5700df4d90a8567776ed87a5 +EBUILD serioussam-1.10.6d.ebuild 3051 BLAKE2B b9ae07e66c0afcaf559f3e184c6d279cef1f55a12fdfe8d458e403028edb3e24f08e437c796b3d89814eeee1fbffe55bbc3b4b4bd3ce94b2191ce599c0313a40 SHA512 a7373ca82b64a39212dfc1a07efc2ff1414f416c298d85bbbaefc8b1f7b660e0ab34bffdcf404d5affb45316557854e8926b994370b5cf3356523edce3b362ee MISC metadata.xml 846 BLAKE2B 59dd6e1ebcb1b9e4c19271f53f8564a003b78627640312b18a0e52b686d59878b6b00fd946803df40c8b4a9e60fcc85886d11d318c3f0d4be3544aa5d9f4be9b SHA512 80a0b25d6d0f2dd23b030179e17c55d6d8b42b5bd8aa68103eee6250e228d0860d35d8b98e6c833156ee0fbe7b2663a988469362631ce218a657f742b8463a91 diff --git a/games-fps/serioussam/serioussam-1.10.6.ebuild b/games-fps/serioussam/serioussam-1.10.6.ebuild deleted file mode 100644 index 5f7794528412..000000000000 --- a/games-fps/serioussam/serioussam-1.10.6.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop - -MY_PN1="SamTFE" -MY_PN2="SamTSE" -# Game name -GN1="serioussam" -GN2="serioussamse" - -DESCRIPTION="Linux port of Serious Sam Classic with Vulkan support" -HOMEPAGE="https://github.com/tx00100xt/SeriousSamClassic-VK" -SRC_URI="https://github.com/tx00100xt/SeriousSamClassic-VK/archive/refs/tags/${PV}c.tar.gz -> ${P}c.tar.gz" -S="${WORKDIR}/SeriousSamClassic-VK-${PV}c" - -MY_CONTENT1="${WORKDIR}/SeriousSamClassic-VK-${PV}c/${MY_PN1}" -MY_CONTENT2="${WORKDIR}/SeriousSamClassic-VK-${PV}c/${MY_PN2}" - -LICENSE="GPL-2 BSD ZLIB" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="alsa pipewire vulkan" - -RDEPEND=" - games-fps/serioussam-tfe-data - games-fps/serioussam-tse-data - media-libs/libsdl2[video,joystick,opengl] - media-libs/libvorbis - sys-libs/zlib - alsa? ( - >=media-libs/libsdl2-2.0.6[alsa,sound] - ) - pipewire? ( - >=media-libs/libsdl2-2.0.6[pipewire,sound] - ) - vulkan? ( - dev-util/vulkan-headers - media-libs/vulkan-loader - media-libs/libsdl2[video,joystick,opengl,vulkan] - ) -" - -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - app-alternatives/lex - app-alternatives/yacc - media-gfx/imagemagick -" - -src_configure() { - einfo "Remove Win32 stuff..." - rm -rf "${MY_CONTENT1}"/Tools.Win32 || die "Failed to remove stuff Win32" - rm -rf "${MY_CONTENT2}"/Tools.Win32 || die "Failed to remove stuff Win32" - - einfo "Setting build type Release..." - CMAKE_BUILD_TYPE="Release" - local mycmakeargs=( - -DUSE_SYSTEM_INSTALL=ON - -DUSE_SYSTEM_VULKAN=$(usex vulkan ON OFF) - -DUSE_ASM=$(usex x86 OFF ON) - ) - cmake_src_configure -} - -src_install() { - local dir1="/usr/share/${GN1}" - local dir2="/usr/share/${GN2}" - local dir3="/usr/share/applications" - cmake_src_install - - # install man pages - mv "${S}"/man/gentoo/serioussam-vk.1 "${S}"/man/gentoo/serioussam.1 \ - || die "Failed move man pages" - doman "${S}"/man/gentoo/serioussam.1 - - # removing repo stuff - rm -fr "${MY_CONTENT1}/Sources" && rm -fr "${MY_CONTENT2}/Sources" \ - || die "Failed to remove Sources" - rm -f "${MY_CONTENT1}"/{*.png,*.desktop} \ - || die "Failed to remove serioussam icon and desktop file" - rm -f "${MY_CONTENT2}"/{*.png,*.desktop} \ - || die "Failed to remove serioussamse icon and desktop file" - rm -f "${ED}${dir3}/${GN1}.desktop" "${ED}${dir3}/${GN2}.desktop" \ - || die "Failed to remove desktop file" - - # moving repo content (Scripts, Data, Settings ...) - cp -fr "${MY_CONTENT1}"/* "${ED}${dir1}" \ - || die "Failed to copy repo content (Scripts, Settings)" - cp -fr "${MY_CONTENT2}"/* "${ED}${dir2}" \ - || die "Failed to copy repo content (Scripts, Settings)" - - make_desktop_entry ${GN1} "Serious Sam The First Encounter" ${GN1} - make_desktop_entry ${GN2} "Serious Sam The Second Encounter" ${GN2} -} - -pkg_postinst() { - elog " Look at:" - elog " man serioussam" - elog " https://github.com/tx00100xt/SeriousSamClassic-VK" - elog " https://github.com/tx00100xt/SeriousSamClassic-VK/wiki" - elog " For information on the first launch of the game" -} diff --git a/games-fps/serioussam/serioussam-1.10.6c.ebuild b/games-fps/serioussam/serioussam-1.10.6c.ebuild new file mode 100644 index 000000000000..79d84e4d8acf --- /dev/null +++ b/games-fps/serioussam/serioussam-1.10.6c.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop + +MY_PN1="SamTFE" +MY_PN2="SamTSE" +# Game name +GN1="serioussam" +GN2="serioussamse" + +DESCRIPTION="Linux port of Serious Sam Classic with Vulkan support" +HOMEPAGE="https://github.com/tx00100xt/SeriousSamClassic-VK" +SRC_URI="https://github.com/tx00100xt/SeriousSamClassic-VK/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/SeriousSamClassic-VK-${PV}" + +MY_CONTENT1="${WORKDIR}/SeriousSamClassic-VK-${PV}/${MY_PN1}" +MY_CONTENT2="${WORKDIR}/SeriousSamClassic-VK-${PV}/${MY_PN2}" + +LICENSE="GPL-2 ZLIB" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="alsa pipewire vulkan" + +RDEPEND=" + games-fps/serioussam-tfe-data + games-fps/serioussam-tse-data + media-libs/libsdl2[video,joystick,opengl] + media-libs/libvorbis + sys-libs/zlib + alsa? ( + >=media-libs/libsdl2-2.0.6[alsa,sound] + ) + pipewire? ( + >=media-libs/libsdl2-2.0.6[pipewire,sound] + ) + vulkan? ( + dev-util/vulkan-headers + media-libs/vulkan-loader + media-libs/libsdl2[video,joystick,opengl,vulkan] + ) +" + +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + app-alternatives/lex + app-alternatives/yacc + media-gfx/imagemagick +" + +src_configure() { + einfo "Remove Win32 stuff..." + rm -rf "${MY_CONTENT1}"/Tools.Win32 || die "Failed to remove stuff Win32" + rm -rf "${MY_CONTENT2}"/Tools.Win32 || die "Failed to remove stuff Win32" + + einfo "Setting build type Release..." + CMAKE_BUILD_TYPE="Release" + local mycmakeargs=( + -DUSE_SYSTEM_INSTALL=ON + -DUSE_SYSTEM_VULKAN=$(usex vulkan ON OFF) + -DUSE_ASM=$(usex x86 OFF ON) + ) + cmake_src_configure +} + +src_install() { + local dir1="/usr/share/${GN1}" + local dir2="/usr/share/${GN2}" + local dir3="/usr/share/applications" + cmake_src_install + + # install man pages + mv "${S}"/man/gentoo/serioussam-vk.1 "${S}"/man/gentoo/serioussam.1 \ + || die "Failed move man pages" + doman "${S}"/man/gentoo/serioussam.1 + + # removing repo stuff + rm -fr "${MY_CONTENT1}/Sources" && rm -fr "${MY_CONTENT2}/Sources" \ + || die "Failed to remove Sources" + rm -f "${MY_CONTENT1}"/{*.png,*.desktop} \ + || die "Failed to remove serioussam icon and desktop file" + rm -f "${MY_CONTENT2}"/{*.png,*.desktop} \ + || die "Failed to remove serioussamse icon and desktop file" + rm -f "${ED}${dir3}/${GN1}.desktop" "${ED}${dir3}/${GN2}.desktop" \ + || die "Failed to remove desktop file" + + # moving repo content (Scripts, Data, Settings ...) + cp -fr "${MY_CONTENT1}"/* "${ED}${dir1}" \ + || die "Failed to copy repo content (Scripts, Settings)" + cp -fr "${MY_CONTENT2}"/* "${ED}${dir2}" \ + || die "Failed to copy repo content (Scripts, Settings)" + + make_desktop_entry ${GN1} "Serious Sam The First Encounter" ${GN1} + make_desktop_entry ${GN2} "Serious Sam The Second Encounter" ${GN2} +} + +pkg_postinst() { + elog " Look at:" + elog " man serioussam" + elog " https://github.com/tx00100xt/SeriousSamClassic-VK" + elog " https://github.com/tx00100xt/SeriousSamClassic-VK/wiki" + elog " For information on the first launch of the game" +} diff --git a/games-fps/serioussam/serioussam-1.10.6d.ebuild b/games-fps/serioussam/serioussam-1.10.6d.ebuild new file mode 100644 index 000000000000..4df47b2386ee --- /dev/null +++ b/games-fps/serioussam/serioussam-1.10.6d.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop + +MY_PN1="SamTFE" +MY_PN2="SamTSE" +# Game name +GN1="serioussam" +GN2="serioussamse" + +DESCRIPTION="Linux port of Serious Sam Classic with Vulkan support" +HOMEPAGE="https://github.com/tx00100xt/SeriousSamClassic-VK" +SRC_URI="https://github.com/tx00100xt/SeriousSamClassic-VK/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/SeriousSamClassic-VK-${PV}" + +MY_CONTENT1="${WORKDIR}/SeriousSamClassic-VK-${PV}/${MY_PN1}" +MY_CONTENT2="${WORKDIR}/SeriousSamClassic-VK-${PV}/${MY_PN2}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="alsa pipewire vulkan" + +RDEPEND=" + games-fps/serioussam-tfe-data + games-fps/serioussam-tse-data + media-libs/libsdl2[video,joystick,opengl] + media-libs/libvorbis + sys-libs/zlib + alsa? ( + >=media-libs/libsdl2-2.0.6[alsa,sound] + ) + pipewire? ( + >=media-libs/libsdl2-2.0.6[pipewire,sound] + ) + vulkan? ( + dev-util/vulkan-headers + media-libs/vulkan-loader + media-libs/libsdl2[video,joystick,opengl,vulkan] + ) +" + +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + app-alternatives/lex + app-alternatives/yacc + media-gfx/imagemagick +" + +src_configure() { + einfo "Remove Win32 stuff..." + rm -rf "${MY_CONTENT1}"/Tools.Win32 || die "Failed to remove stuff Win32" + rm -rf "${MY_CONTENT2}"/Tools.Win32 || die "Failed to remove stuff Win32" + + einfo "Setting build type Release..." + CMAKE_BUILD_TYPE="Release" + local mycmakeargs=( + -DUSE_SYSTEM_INSTALL=ON + -DUSE_SYSTEM_VULKAN=$(usex vulkan ON OFF) + -DUSE_ASM=$(usex x86 OFF ON) + ) + cmake_src_configure +} + +src_install() { + local dir1="/usr/share/${GN1}" + local dir2="/usr/share/${GN2}" + local dir3="/usr/share/applications" + cmake_src_install + + # install man pages + mv "${S}"/man/gentoo/serioussam-vk.1 "${S}"/man/gentoo/serioussam.1 \ + || die "Failed move man pages" + doman "${S}"/man/gentoo/serioussam.1 + + # removing repo stuff + rm -fr "${MY_CONTENT1}/Sources" && rm -fr "${MY_CONTENT2}/Sources" \ + || die "Failed to remove Sources" + rm -f "${MY_CONTENT1}"/{*.png,*.desktop} \ + || die "Failed to remove serioussam icon and desktop file" + rm -f "${MY_CONTENT2}"/{*.png,*.desktop} \ + || die "Failed to remove serioussamse icon and desktop file" + rm -f "${ED}${dir3}/${GN1}.desktop" "${ED}${dir3}/${GN2}.desktop" \ + || die "Failed to remove desktop file" + + # moving repo content (Scripts, Data, Settings ...) + cp -fr "${MY_CONTENT1}"/* "${ED}${dir1}" \ + || die "Failed to copy repo content (Scripts, Settings)" + cp -fr "${MY_CONTENT2}"/* "${ED}${dir2}" \ + || die "Failed to copy repo content (Scripts, Settings)" + + make_desktop_entry ${GN1} "Serious Sam The First Encounter" ${GN1} + make_desktop_entry ${GN2} "Serious Sam The Second Encounter" ${GN2} +} + +pkg_postinst() { + elog " Look at:" + elog " man serioussam" + elog " https://github.com/tx00100xt/SeriousSamClassic-VK" + elog " https://github.com/tx00100xt/SeriousSamClassic-VK/wiki" + elog " For information on the first launch of the game" +} -- cgit v1.2.3