Package Details: dunelegacy 0.96.4-2

Git Clone URL: https://aur.archlinux.org/dunelegacy.git (read-only, click to copy)
Package Base: dunelegacy
Description: Updated clone of Westood Studios' Dune2
Upstream URL: http://dunelegacy.sourceforge.net
Licenses: GPL
Submitter: encelo
Maintainer: encelo
Last Packager: encelo
Votes: 29
Popularity: 0.003345
First Submitted: 2006-10-12 21:33
Last Updated: 2021-04-14 08:08

Latest Comments

1 2 Next › Last »

encelo commented on 2021-04-14 08:10

I have added a patch file to rename MIX_INIT_FLUIDSYNTH to MIX_INIT_MID and fix compilation with latest version of SDL2_mixer.

damonh commented on 2021-04-12 04:14

I get this error installing:

FileClasses/music/DirectoryPlayer.cpp: In constructor ‘DirectoryPlayer::DirectoryPlayer()’:
FileClasses/music/DirectoryPlayer.cpp:64:14: error: ‘MIX_INIT_FLUIDSYNTH’ was not declared in this scope
   64 |     Mix_Init(MIX_INIT_FLUIDSYNTH | MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG);
      |              ^~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:1423: FileClasses/music/DirectoryPlayer.o] Error 1
make[1]: *** Waiting for unfinished jobs....
FileClasses/music/XMIPlayer.cpp: In constructor ‘XMIPlayer::XMIPlayer()’:
FileClasses/music/XMIPlayer.cpp:35:18: error: ‘MIX_INIT_FLUIDSYNTH’ was not declared in this scope
   35 |     if((Mix_Init(MIX_INIT_FLUIDSYNTH) & MIX_INIT_FLUIDSYNTH) == 0) {
      |                  ^~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:1423: FileClasses/music/XMIPlayer.o] Error 1
MapEditor/MapEditorOperation.cpp: In member function ‘virtual std::shared_ptr<MapEditorOperation> MapEditorChangeChoam::perform(MapEditor*)’:
MapEditor/MapEditorOperation.cpp:265:46: warning: ‘?:’ using integer constants in boolean context [-Wint-in-bool-context]
  265 |     bool oldAmount = choam.count(itemID) > 0 ? choam[itemID] : -1;
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/mlopez/.cache/yay/dunelegacy/src/dunelegacy-0.96.4/src'
make: *** [Makefile:450: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: dunelegacy

jmazon commented on 2018-07-09 11:31

I've had to patch the source a bit to make it compile with whatever sdl2_mixer my system had.

prepare() {
  cd $srcdir/$pkgname-$pkgver
  sed -e 's/MIX_INIT_FLUIDSYNTH/MIX_INIT_MID/g'  \
    -i src/FileClasses/music/DirectoryPlayer.cpp \
    -i src/FileClasses/music/XMIPlayer.cpp
}

Seems to date back to this: http://hg.libsdl.org/SDL_mixer/diff/92882ef2ab81/SDL_mixer.h

(17 Oct 2017, http://hg.libsdl.org/SDL_mixer/rev/92882ef2ab81)

koponomarenko commented on 2017-06-24 21:14

Here is where *.PAK files can be obtained http://nyerguds.arsaneus-design.com/dune/dune2versions/
dune2_eu_1.07.zip worked for me.

encelo commented on 2017-01-02 22:37

Updated to 0.96.4

encelo commented on 2013-04-12 22:44

- Using $srcdir and $pkgdir variables
- Installing icon and .desktop file
- Updated dependencies array
- Added a .install file

Thanks cars10t for the useful notes.

shaman commented on 2013-04-12 10:50

Fixed PKGBUILD:

http://pastebin.com/axdUakuT

carstene1ns commented on 2013-04-11 15:34

Package is not compatible with new makepkg, due to a folder change.
Please use $pkgdir instead of $startdir to fix it.
Also gcc-libs is in base group and so not needed in depends.
And I think it is a good idea to include the .desktop file in package.

See also my dunelegacy-git package for reference.

encelo commented on 2013-03-09 02:01

Updated to 0.96.3

encelo commented on 2011-07-25 22:58

Updated to 0.96.2