From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- games-fps/ezquake-bin/Manifest | 2 +- games-fps/ezquake-bin/ezquake-bin-2.2-r2.ebuild | 72 +++++++++++++++++++++++++ games-fps/ezquake-bin/ezquake-bin-2.2.ebuild | 71 ------------------------ 3 files changed, 73 insertions(+), 72 deletions(-) create mode 100644 games-fps/ezquake-bin/ezquake-bin-2.2-r2.ebuild delete mode 100644 games-fps/ezquake-bin/ezquake-bin-2.2.ebuild (limited to 'games-fps/ezquake-bin') diff --git a/games-fps/ezquake-bin/Manifest b/games-fps/ezquake-bin/Manifest index 87e86e0d944c..fd917764c8c6 100644 --- a/games-fps/ezquake-bin/Manifest +++ b/games-fps/ezquake-bin/Manifest @@ -2,5 +2,5 @@ DIST ezquake_linux-x86_1.9.3.tar.gz 19230315 BLAKE2B df2128f8aa05a1e4d970b52d193 DIST ezquake_linux-x86_64.1.9.3.tar.gz 18624824 BLAKE2B 619d2ef3c03a9d105000c75c0c2d21398d4080810b7cab6d6a143ac0a4513420f0756c01d932f7332cbd87dfba335d6b82b1ee122fb94c2fcf4331e7beab7689 SHA512 4c2f5060bbf08ca3b9583d4c3502e69bf6d503efd0e14df9d5fe54e1e8ac1c5ca0b920c3748e4a8e1f86c60d6e5809977352636d4758fd9cb3934cea03b1138f DIST ezquake_linux32_2.2.tar.gz 1685934 BLAKE2B f4e1374992ac548c45ca59161c0e86214f50db17502f6bc89d56ec4e9c596478399ff02c86a539e3590f0ad82d90dd7b2f02df25089573068b4e24e1085d0898 SHA512 2a42b43a0b4ad75c22c58bb53f8161eec1460cac3b841ccf2593e0cb803c4ef5cee23f939f859eb6d95409a01c4ccc3eabae108eac6c1cb850f9c5c3445bf5ab DIST ezquake_linux64_2.2.tar.gz 1804397 BLAKE2B 9ad294fda829a9dd68201a7c5deb9e3a708f4ac81caa97745e965bcececfc0c1aa787b53ad5465238452bee4ded256214eb234658e8bc17795ef519faaa67057 SHA512 c1f1772971980a7b349da6c6eea5643591d5bc81a939b28e50651c5773d8372277fb6bc9a5681c59e8273ca6250fa712c3b76db488bf521dd3675aabd5e1af8e -EBUILD ezquake-bin-2.2.ebuild 1947 BLAKE2B 320e929a05931406741c86197f2942edd1f5ced3e39624d3cc548cceff87213987b444d2941ff9c89e5719953a21aa0780dbe3c812b80e2f9b7d158986df95ff SHA512 00f22b5412d339d18b4d533cf976ae604649473ccf98217425977959f323980d06e2c9fa534c2e4bb0c94e0a124a8f2110316d7668bfeb5797c9edc261e9252f +EBUILD ezquake-bin-2.2-r2.ebuild 1952 BLAKE2B 8eb36d74f9b313705253a2b18f60e34c798ebf5cb94b0fac6a5f2dbd5e0be247e610361ebda7297dcf10907c011b823be74c202e7460ba4b5c00e1fcf2401b62 SHA512 40b56dffc6f236366198d25825a6d68e312f295db6c84e9f1bb648a7ff302d73093eaa906f37580f536a7201a899d40ef0775955fb148ac88428fad3a94d45ee MISC metadata.xml 340 BLAKE2B 0e535869685c648fd759901404ee04e736d85783bd09f34756917ce5bfb1239048accdf32fd59ae3a11828da8dbc6ca1b337f28259013b864b9e02e687758cac SHA512 4922600550155470211bb2fe2eab50f02e120d82261d2956f7f73604ec5e76c71e37be5d9a542d9f963eaa0927da7bcb9b464428a7b778d17a383135e423063e diff --git a/games-fps/ezquake-bin/ezquake-bin-2.2-r2.ebuild b/games-fps/ezquake-bin/ezquake-bin-2.2-r2.ebuild new file mode 100644 index 000000000000..2a31a079e3b6 --- /dev/null +++ b/games-fps/ezquake-bin/ezquake-bin-2.2-r2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit wrapper + +MY_FULL_PV=1.9.3 +MY_PN="${PN/-bin/}" +DESCRIPTION="Quakeworld client with mqwcl functionality and many more features" +HOMEPAGE="http://ezquake.sf.net/" +SRC_URI=" + amd64? ( mirror://sourceforge/${MY_PN}/${MY_PN}_linux-x86_64.${MY_FULL_PV}.tar.gz + mirror://sourceforge/${MY_PN}/${MY_PN}_linux64_${PV}.tar.gz ) + x86? ( mirror://sourceforge/${MY_PN}/${MY_PN}_linux-x86_${MY_FULL_PV}.tar.gz + mirror://sourceforge/${MY_PN}/${MY_PN}_linux32_${PV}.tar.gz ) +" +S="${WORKDIR}"/${MY_PN} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="cdinstall" + +RESTRICT="strip mirror" + +DEPEND="cdinstall? ( games-fps/quake1-data )" +RDEPEND=" + ${DEPEND} + virtual/opengl + x11-libs/libXpm + x11-libs/libXxf86dga + x11-libs/libXxf86vm +" + +MY_DIR=opt/${PN} +QA_PREBUILT="${MY_DIR}/ezquake*" + +src_unpack() { + unpack ${A} + + if use amd64; then + mv ${MY_PN}_linux-x86_64.${MY_FULL_PV} "${MY_PN}" || die + mv ezquake-gl_linux-x64.glx "${MY_PN}"/ezquake-gl.glx || die + else + mv ${MY_PN}_linux-x86.${MY_FULL_PV} "${MY_PN}" || die + mv ezquake-gl_linux-x86.glx "${MY_PN}"/ezquake-gl.glx || die + fi +} + +src_install() { + exeinto ${MY_DIR} + insinto ${MY_DIR} + + doexe ezquake-gl.glx + doins -r ezquake qw + dosym ../../usr/share/quake1/id1 ${MY_DIR}/id1 + make_wrapper ezquake-gl.glx ./ezquake-gl.glx "${MY_DIR}" "${MY_DIR}" +} + +pkg_postinst() { + if ! use cdinstall; then + elog "NOTE that this client doesn't include .pak files. You *should*" + elog "enable \"cdinstall\" flag or install quake1-demodata with the symlink use flag." + elog "You can also copy the files from your Quake1 CD to" + elog " ${MY_DIR}/quake1/id1 (all names lowercase)" + elog "" + elog "You may also want to check:" + elog " http://fuhquake.quakeworld.nu - complete howto on commands and variables" + elog " http://equake.quakeworld.nu - free package containing various files" + fi +} diff --git a/games-fps/ezquake-bin/ezquake-bin-2.2.ebuild b/games-fps/ezquake-bin/ezquake-bin-2.2.ebuild deleted file mode 100644 index 5e6fe5800999..000000000000 --- a/games-fps/ezquake-bin/ezquake-bin-2.2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit games - -MY_FULL_PV=1.9.3 -MY_PN="${PN/-bin/}" -DESCRIPTION="Quakeworld client with mqwcl functionality and many more features" -HOMEPAGE="http://ezquake.sf.net/" -SRC_URI=" - amd64? ( mirror://sourceforge/${MY_PN}/${MY_PN}_linux-x86_64.${MY_FULL_PV}.tar.gz - mirror://sourceforge/${MY_PN}/${MY_PN}_linux64_${PV}.tar.gz ) - x86? ( mirror://sourceforge/${MY_PN}/${MY_PN}_linux-x86_${MY_FULL_PV}.tar.gz - mirror://sourceforge/${MY_PN}/${MY_PN}_linux32_${PV}.tar.gz )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="strip mirror" -IUSE="cdinstall" - -DEPEND="cdinstall? ( games-fps/quake1-data )" -RDEPEND="${DEPEND} - virtual/opengl - x11-libs/libXxf86dga - x11-libs/libXxf86vm" - -S=${WORKDIR}/${MY_PN} - -dir=${GAMES_PREFIX_OPT}/${PN} - -QA_PREBUILT="${dir:1}/ezquake*" - -src_unpack() { - unpack ${A} - if use amd64; then - mv ${MY_PN}_linux-x86_64.${MY_FULL_PV} "${MY_PN}" - mv ezquake-gl_linux-x64.glx "${MY_PN}"/ezquake-gl.glx - else - mv ${MY_PN}_linux-x86.${MY_FULL_PV} "${MY_PN}" - mv ezquake-gl_linux-x86.glx "${MY_PN}"/ezquake-gl.glx - fi -} - -src_install() { - exeinto "${dir}" - insinto "${dir}" - - doexe ezquake-gl.glx - doins -r ezquake qw - dosym "${GAMES_DATADIR}"/quake1/id1 "${dir}"/id1 - games_make_wrapper ezquake-gl.glx ./ezquake-gl.glx "${dir}" "${dir}" - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - - if ! use cdinstall; then - elog "NOTE that this client doesn't include .pak files. You *should*" - elog "enable \"cdinstall\" flag or install quake1-demodata with the symlink use flag." - elog "You can also copy the files from your Quake1 CD to" - elog " ${dir}/quake1/id1 (all names lowercase)" - elog "" - elog "You may also want to check:" - elog " http://fuhquake.quakeworld.nu - complete howto on commands and variables" - elog " http://equake.quakeworld.nu - free package containing various files" - fi -} -- cgit v1.2.3