Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: etlegacy-2.77.1
@ 2021-09-03 19:07 biopsin
  2021-09-03 19:34 ` [PR PATCH] [Updated] " biopsin
                   ` (66 more replies)
  0 siblings, 67 replies; 68+ messages in thread
From: biopsin @ 2021-09-03 19:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1593 bytes --]

There is a new pull request by biopsin against master on the void-packages repository

https://github.com/biopsin/void-packages etlegacy
https://github.com/void-linux/void-packages/pull/32824

New package: etlegacy-2.77.1
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glib)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/32824.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-etlegacy-32824.patch --]
[-- Type: text/x-diff, Size: 3148 bytes --]

From 2dcd71af2c5bb65f0ca4c1b2db8f98a6ca599898 Mon Sep 17 00:00:00 2001
From: biopsin <biopsin@teknik.io>
Date: Sun, 8 Aug 2021 10:16:06 +0000
Subject: [PATCH] New package: etlegacy-2.77.1

---
 srcpkgs/etlegacy/INSTALL  | 19 +++++++++++++++++++
 srcpkgs/etlegacy/REMOVE   |  8 ++++++++
 srcpkgs/etlegacy/template | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 59 insertions(+)
 create mode 100644 srcpkgs/etlegacy/INSTALL
 create mode 100644 srcpkgs/etlegacy/REMOVE
 create mode 100644 srcpkgs/etlegacy/template

diff --git a/srcpkgs/etlegacy/INSTALL b/srcpkgs/etlegacy/INSTALL
new file mode 100644
index 000000000000..fd472dede498
--- /dev/null
+++ b/srcpkgs/etlegacy/INSTALL
@@ -0,0 +1,19 @@
+# INSTALL
+case "${ACTION}" in
+	post)
+		if [ "${UPDATE}" = "no" ]; then
+			echo ""
+			echo "Game depends on original package blobs to run, so lets fetch them"
+			echo ""
+			curl -o /usr/lib/etlegacy/etmain/pak0.pk3 "https://mirror.etlegacy.com/etmain/pak0.pk3" && \
+			curl -o /usr/lib/etlegacy/etmain/pak1.pk3 "https://mirror.etlegacy.com/etmain/pak1.pk3" && \
+			curl -o /usr/lib/etlegacy/etmain/pak2.pk3 "https://mirror.etlegacy.com/etmain/pak2.pk3"
+			res=$?
+			if test "$res" != "0"; then
+				echo ""
+				echo "Download failed, sorry game won't run: exit code $res"
+				echo ""
+			fi
+		fi
+		;;
+esac
diff --git a/srcpkgs/etlegacy/REMOVE b/srcpkgs/etlegacy/REMOVE
new file mode 100644
index 000000000000..5241941773ad
--- /dev/null
+++ b/srcpkgs/etlegacy/REMOVE
@@ -0,0 +1,8 @@
+# REMOVE
+case "${ACTION}" in
+	pre)
+		if [ "${UPDATE}" = "no" ]; then
+			rm /usr/lib/etlegacy/etmain/pak*.pk3
+		fi
+		;;
+esac
diff --git a/srcpkgs/etlegacy/template b/srcpkgs/etlegacy/template
new file mode 100644
index 000000000000..9f48de65c9e2
--- /dev/null
+++ b/srcpkgs/etlegacy/template
@@ -0,0 +1,32 @@
+# Template file for 'etlegacy'
+pkgname=etlegacy
+version=2.77.1
+revision=1
+build_style=cmake
+configure_args="-DCMAKE_BUILD_TYPE=Release  -DCMAKE_LIBRARY_PATH=/usr \
+ -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_DEFAULT_BASEDIR=/usr/lib/etlegacy \
+ -DCLIENT_GLVND=1 -DBUNDLED_LIBS=0 -DFEATURE_AUTOUPDATE=0 \
+ -DINSTALL_OMNIBOT=0"
+hostmakedepends="libtool pkg-config curl"
+makedepends="libglvnd-devel glew-devel SDL2-devel zlib-devel minizip-devel
+ libjpeg-turbo-devel libcurl-devel lua54-devel libvorbis-devel libtheora-devel freetype-devel
+ libpng-devel sqlite-devel libopenal-devel"
+depends="curl"
+short_desc="Project based on Wolfenstein: Enemy Territory"
+maintainer="biopsin <biopsin@teknik.io>"
+license="GPL-3.0-or-later"
+homepage="https://www.etlegacy.com"
+changelog="https://github.com/etlegacy/etlegacy/wiki/Changelog"
+distfiles="https://github.com/etlegacy/etlegacy/archive/refs/tags/v${version}.tar.gz"
+checksum=730a8a52435884b922d8c280fcdeace648902399798c7a973da72fbc4163ebe2
+
+case "${XBPS_TARGET_MACHINE}" in
+		x86_64*) configure_args+=" -DCROSS_COMPILE32=0";;
+		i686*) configure_args+=" -DCROSS_COMPILE32=1";;
+		*) broken="This architecture is not currently supported";;
+esac
+
+post_install() {
+	mkdir ${DESTDIR}/usr/share
+	mv ${DESTDIR}/usr/lib/${pkgname}/share ${DESTDIR}/usr/share/etlegacy
+}

^ permalink raw reply	[flat|nested] 68+ messages in thread

end of thread, other threads:[~2023-07-08  2:05 UTC | newest]

Thread overview: 68+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 19:07 [PR PATCH] New package: etlegacy-2.77.1 biopsin
2021-09-03 19:34 ` [PR PATCH] [Updated] " biopsin
2021-09-03 20:05 ` [PR REVIEW] " Chocimier
2021-09-03 20:05 ` Chocimier
2021-09-03 20:05 ` Chocimier
2021-09-03 20:11 ` biopsin
2021-09-04 18:17 ` biopsin
2021-09-04 18:24 ` Chocimier
2021-09-04 18:27 ` [PR REVIEW] " q66
2021-09-04 18:38 ` biopsin
2021-09-04 20:16 ` ericonr
2021-09-04 20:47 ` biopsin
2021-09-04 20:50 ` biopsin
2021-09-07 13:54 ` [PR REVIEW] " biopsin
2021-09-11 15:09 ` [PR PATCH] [Updated] " biopsin
2021-09-11 15:20 ` [PR PATCH] [Updated] [WIP] " biopsin
2021-09-11 15:28 ` biopsin
2021-09-12  9:02 ` biopsin
2021-09-12  9:03 ` biopsin
2021-09-12 16:31 ` [PR REVIEW] " q66
2021-09-12 16:31 ` q66
2021-09-12 18:21 ` [PR PATCH] [Updated] " biopsin
2021-09-12 18:23 ` [PR REVIEW] " biopsin
2021-09-12 18:26 ` biopsin
2021-09-12 21:26 ` q66
2021-09-12 21:26 ` q66
2021-09-13  5:45 ` [PR PATCH] [Updated] " biopsin
2021-09-13  6:16 ` biopsin
2021-09-13 12:39 ` q66
2021-09-13 12:42 ` q66
2021-09-13 12:44 ` q66
2021-09-13 12:46 ` q66
2021-09-13 16:15 ` biopsin
2021-09-13 17:16 ` [PR REVIEW] " Chocimier
2021-09-13 17:16 ` Chocimier
2021-09-13 17:16 ` Chocimier
2021-09-13 17:16 ` Chocimier
2021-09-13 17:16 ` Chocimier
2021-09-13 17:16 ` Chocimier
2021-09-14  6:57 ` [PR PATCH] [Updated] " biopsin
2021-10-01 17:40 ` [PR PATCH] [Updated] " biopsin
2021-10-01 17:41 ` biopsin
2021-10-01 18:19 ` biopsin
2021-10-01 19:48 ` [PR PATCH] [Updated] " biopsin
2021-10-04  7:01 ` biopsin
2021-10-04 16:20 ` [PR REVIEW] New package: etlegacy-2.78.0 Chocimier
2021-10-04 18:25 ` [PR PATCH] [Updated] " biopsin
2021-10-04 18:26 ` [PR REVIEW] " biopsin
2021-11-03 11:49 ` [PR PATCH] [Updated] " biopsin
2021-12-26  9:22 ` [PR PATCH] [Updated] New package: etlegacy-2.78.1 biopsin
2022-04-13  6:03 ` [PR PATCH] [Updated] New package: etlegacy-2.79.0 biopsin
2022-07-13  2:15 ` github-actions
2022-07-13  7:07 ` [PR PATCH] [Updated] " biopsin
2022-07-13  7:11 ` [WIP] New package: etlegacy-2.80.2 biopsin
2022-07-13  7:11 ` [PR PATCH] [Updated] " biopsin
2022-07-13  7:15 ` biopsin
2022-07-13  7:17 ` biopsin
2022-09-18 13:29 ` biopsin
2022-09-20  9:12 ` atk
2022-09-20 11:22 ` biopsin
2022-09-21 19:24 ` rafal1137
2022-11-29 12:43 ` atk
2023-02-28  2:01 ` github-actions
2023-02-28 12:29 ` rafal1137
2023-03-25 10:09 ` [PR PATCH] [Updated] " biopsin
2023-03-25 10:30 ` [WIP] New package: etlegacy-2.81.1 biopsin
2023-06-24  2:05 ` github-actions
2023-07-08  2:05 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).