Package Details: odamex 0.8.0-1

Git Clone URL: https://aur.archlinux.org/odamex.git (read-only)
Package Base: odamex
Description: A free client/server multiplayer engine for the classic FPS Doom.
Upstream URL: http://odamex.net/
Licenses: GPL
Submitter: None
Maintainer: miffe
Last Packager: miffe
Votes: 11
Popularity: 0.066600
First Submitted: 2007-02-26 16:18
Last Updated: 2019-03-10 23:14

Dependencies (5)

Required by (1)

Sources (2)

Latest Comments

1 2 3 Next › Last »

Pol_M commented on 2019-03-06 16:27

New update released :) here is the patch:

diff --git a/.SRCINFO b/.SRCINFO
index 7a3b39f..c3f0db8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = odamex
    pkgdesc = A free client/server multiplayer engine for the classic FPS Doom.
-   pkgver = 0.7.0
-   pkgrel = 2
+   pkgver = 0.8.0
+   pkgrel = 1
    url = http://odamex.net/
    arch = i686
    arch = x86_64
@@ -9,11 +9,12 @@ pkgbase = odamex
    makedepends = cmake
    depends = sdl_mixer>=1.2.6
    depends = wxgtk
+   depends = miniupnpc
    optdepends = timidity++: Required for music
-   source = http://downloads.sourceforge.net/odamex/odamex-src-0.7.0.tar.bz2
+   source = http://downloads.sourceforge.net/odamex/odamex-src-0.8.0.tar.gz
    source = 0001-Fix-WAD-path.patch
-   md5sums = 312769b98bbdb450454e4676b2c55986
-   md5sums = bb32f96f8b78f71456ae758b48e3fbe1
+   sha256sums = 52b4d0ba504edfea53e24d8b19c86da6f7e3b75980c3133eb6b5e97d24a606ea
+   sha256sums = c4ce4072515c7dbfe65d1829a317d21b5f1091e04997761cdfee345a60141638

 pkgname = odamex

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dbfb6b9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.xz
+*.tar.gz
+src/**
+pkg/**
diff --git a/0001-Fix-WAD-path.patch b/0001-Fix-WAD-path.patch
index 00926cc..12b485a 100644
--- a/0001-Fix-WAD-path.patch
+++ b/0001-Fix-WAD-path.patch
@@ -1,25 +1,14 @@
-From 02dcf788ba288ddebb7164b86aef22e0e5fbf96a Mon Sep 17 00:00:00 2001
-From: Mikael Eriksson <mikael_eriksson@miffe.org>
-Date: Mon, 17 Dec 2012 12:04:02 +0100
-Subject: [PATCH] Fix WAD path
-
----
- common/d_main.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/common/d_main.cpp b/common/d_main.cpp
-index a31cb62..4abf6be 100644
---- a/common/d_main.cpp
-+++ b/common/d_main.cpp
-@@ -490,6 +490,8 @@ static std::string BaseFileSearch(std::string file, std::string ext = "", std::s
-   dirs.push_back(progdir);
- 
-   D_AddSearchDir(dirs, Args.CheckValue("-waddir"), separator);
-+  D_AddSearchDir(dirs, "/usr/share/odamex", separator);
-+  D_AddSearchDir(dirs, "/usr/share/doom", separator);
-   D_AddSearchDir(dirs, getenv("DOOMWADDIR"), separator);
-   D_AddSearchDir(dirs, getenv("DOOMWADPATH"), separator);
-   D_AddSearchDir(dirs, getenv("HOME"), separator);
--- 
-1.8.0.2
-
+diff --unified --recursive --text odamex-src-0.8.0/common/d_main.cpp "odamex-src-0.8.0 diff/common/d_main.cpp"
+--- odamex-src-0.8.0/common/d_main.cpp 2019-01-23 04:01:47.000000000 +0100
++++ "odamex-src-0.8.0 diff/common/d_main.cpp"  2019-03-07 22:31:46.807985980 +0100
+@@ -499,6 +499,8 @@
+   dirs.push_back(progdir);
+ 
+   D_AddSearchDir(dirs, Args.CheckValue("-waddir"), separator);
++  D_AddSearchDir(dirs, "/usr/share/odamex", separator);
++  D_AddSearchDir(dirs, "/usr/share/doom", separator);
+   D_AddSearchDir(dirs, getenv("DOOMWADDIR"), separator);
+   D_AddSearchDir(dirs, getenv("DOOMWADPATH"), separator);
+   D_AddSearchDir(dirs, getenv("HOME"), separator);
+ 
+ VERSION_CONTROL (d_main_cpp, "$Id: cc97705a3130a984ef22d249de74a1dc64ba33a8 $")
diff --git a/PKGBUILD b/PKGBUILD
index 05a9b35..dcea0e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,45 +1,42 @@
 # Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
+# Contributor: Pol Marcet Sardà <polmarcetsarda@gmail.com>
 # Contributor: Thomas Dziedzic < gostrc at gmail >
 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
 # Contributor: Curtis Smith <kman922002@gmail.com>

 pkgname=odamex
-pkgver=0.7.0
-pkgrel=2
+pkgver=0.8.0
+pkgrel=1
 pkgdesc='A free client/server multiplayer engine for the classic FPS Doom.'
 arch=('i686' 'x86_64')
 url='http://odamex.net/'
 license=('GPL')
-depends=('sdl_mixer>=1.2.6' 'wxgtk')
+depends=('sdl_mixer>=1.2.6' 'wxgtk' 'miniupnpc')
 makedepends=('cmake')
 optdepends=('timidity++: Required for music')
-source=("http://downloads.sourceforge.net/odamex/odamex-src-${pkgver}.tar.bz2"
+source=("http://downloads.sourceforge.net/odamex/odamex-src-${pkgver}.tar.gz"
         0001-Fix-WAD-path.patch)
-md5sums=('312769b98bbdb450454e4676b2c55986'
-         'bb32f96f8b78f71456ae758b48e3fbe1')
+sha256sums=('52b4d0ba504edfea53e24d8b19c86da6f7e3b75980c3133eb6b5e97d24a606ea'
+            'c4ce4072515c7dbfe65d1829a317d21b5f1091e04997761cdfee345a60141638')

-build() {
-   cd odamex-src-${pkgver}
-  
-  patch -p1 -i $srcdir/0001-Fix-WAD-path.patch
+prepare() {
+  cd $pkgname-src-$pkgver
+  patch --forward --strip=1 --input="${srcdir}/0001-Fix-WAD-path.patch"
+}

-  cmake .
+build() {
+  cd $pkgname-src-${pkgver}
+  cmake -DCMAKE_BUILD_TYPE=Release                              \
+        -DCMAKE_INSTALL_PREFIX=/usr                             \
+        .
   make
 }

 package() {
-   cd odamex-src-${pkgver}
-
-  install -Dm755 client/odamex "$pkgdir/usr/bin/odamex"
-  install -Dm755 server/odasrv "$pkgdir/usr/bin/odasrv"
-  install -Dm755 odalaunch/odalaunch "$pkgdir/usr/bin/odalaunch"
-  install -Dm644 odamex.wad "$pkgdir/usr/share/odamex/odamex.wad"
-  install -Dm644 media/icon_odamex_96.png "$pkgdir/usr/share/pixmaps/odamex.png"
-  install -Dm644 media/icon_odasrv_96.png "$pkgdir/usr/share/pixmaps/odasrv.png"
-  install -Dm644 media/icon_odalaunch_96.png "$pkgdir/usr/share/pixmaps/odalaunch.png"
-  install -Dm644 installer/arch/odamex.desktop "$pkgdir/usr/share/applications/odamex.desktop"
-  install -Dm644 installer/arch/odasrv.desktop "$pkgdir/usr/share/applications/odasrv.desktop"
-  install -Dm644 installer/arch/odalaunch.desktop "$pkgdir/usr/share/applications/odalaunch.desktop"
+  cd $pkgname-src-${pkgver}
+  make DESTDIR=$pkgdir install
+  # Use system headers.
+  rm -r "$pkgdir/usr/include/miniupnpc/"
 }

 # vim:set ts=2 sw=2 et:

miffe commented on 2014-04-01 16:06

odamex 0.7.0-2:
- New upstream release

They updated the source but didn't bump the version number...

Zucca commented on 2014-04-01 14:10

odamex-src-0.7.0.tar.bz2 does not pass checksum.

miffe commented on 2014-03-29 20:35

odamex 0.7.0-1:
- New upstream release

Packages at http://arch.miffe.org/

miffe commented on 2013-08-08 02:07

odamex 0.6.4-1:
- New upstream release
- Binaries at http://arch.miffe.org/

miffe commented on 2013-04-30 09:50

odamex 0.6.3-1:
- New upstream release
- Binaries at http://arch.miffe.org/

miffe commented on 2012-12-17 11:17

odamex 0.6.2-1:
- New upstream release
- Binaries at http://arch.miffe.org/

miffe commented on 2012-07-07 21:16

odamex 0.6.1-1:
- New upstream release
- Binaries at http://arch.miffe.org/

miffe commented on 2012-05-13 02:44

odamex 0.6.0-1:
- New upstream release
- Binaries at http://arch.miffe.org/

Anonymous comment on 2012-01-26 01:02

Ah..., I see what you mean by "envar" now.

To globally set it, I just added this to my .bash_profile.

export SDL_SOUNDFONTS=/path/to/some/soundfont.sf2

Although, I suppose you could set it from any other startup script.

Thanks again.