Package Details: zytrax-git 1.0.alpha.r13.gd60cc42-1

Git Clone URL: https://aur.archlinux.org/zytrax-git.git (read-only, click to copy)
Package Base: zytrax-git
Description: Easy to use, tracker-inspired music sequencer.
Upstream URL: http://zytrax.org/
Licenses: MIT
Submitter: guilhermefelipe
Maintainer: guilhermefelipe
Last Packager: guilhermefelipe
Votes: 0
Popularity: 0.000000
First Submitted: 2019-06-12 14:48 (UTC)
Last Updated: 2023-07-12 15:32 (UTC)

Dependencies (6)

Required by (0)

Sources (3)

Latest Comments

guilhermefelipe commented on 2023-07-12 15:42 (UTC)

Thanks @okxa, I added a patch with your suggestion.

okxa commented on 2023-06-21 08:57 (UTC) (edited on 2023-06-21 10:42 (UTC) by okxa)

The build seems to detect the variable from XDG_CURRENT_DESKTOP env var.

zytrax-git/src/zytrax-git/SConstruct

if (os.getenv("XDG_CURRENT_DESKTOP")!=None):
        detected_platform="freedesktop"
elif (os.getenv("APPDATA")!=None):
        detected_platform = "windows"
else:
        detected_platform = ""

exporting that variable gets it to build, but it fails with

globals/base64.h:7:40: error: ‘uint8_t’ was not declared in this scope
    7 | std::string base64_encode(const Vector<uint8_t> &p_buffer);
      |                                        ^~~~~~~
globals/base64.h:5:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    4 | #include "vector.h"
  +++ |+#include <cstdint>
    5 | #include <string>

As suggested by compiler, this can be circumvented by adding #include <cstdint> to base64.h, and compling with makepkg -e.

Reported this to upstream: https://github.com/reduz/zytrax/issues/19

a821 commented on 2022-03-28 12:08 (UTC)

Fails to compile in a clean chroot. The build.log file is rather short.

scons: Reading SConscript files ...

scons: *** Invalid value for option platform: .  Valid values are: ('windows', 'osx', 'freedesktop')
File "/build/zytrax-git/src/zytrax-git/SConstruct", line 33, in <module>
==> ERROR: A failure occurred in build().
    Aborting...

pio commented on 2020-09-30 15:49 (UTC)

If it fails to compile with "Invalid value for option platform", export XDG_CURRENT_DESKTOP=something before running makepkg