1. 18 Mar, 2019 4 commits
    • Max Kellermann's avatar
      win32/res/meson.build: drop tilde suffix from version number before splitting · e22bdee8
      Max Kellermann authored
      MPD sometimes uses version numbers like "0.22~git" to mark unreleased
      versions.  That makes the win32 resource compiler unhappy, because it
      expects numbers only.
      e22bdee8
    • Jörg Krause's avatar
      src/lib/gcrypt/meson.build: use dependency() for quering linker flags · 7f87de78
      Jörg Krause authored
      Since version 0.49.0 the Meson build system has native support for
      finding and using the gcrypt library using the `dependency()` function.
      
      `dependency()` has the advantage over `find_library()` as it queries the
      required linker flags for proper linking with external libraries, e.g.
      libgpg-error.
      
      As the latest released version 1.8.4 of libgcrypt does not
      provide a .pc file, using `libgcrypt-config` is the only way to query
      the required linker flags.
      
      Unfortunately, there is an issue when cross compiling mpd and the user does not
      define `libgcrypt-config` in the cross file. If the user sets the qobuz feature
      to `auto` and the target does not have libgcrypt installed, the Meson
      build system will falsly assume libgcrypt is available for the target as
      it uses the native `libgcrypt-config` on the host and pretend is has
      found the library.
      
      Therefore, we still rely on `find_library()` to workaround this buggy
      behavior. This way, if qobuz feature detection is set to `auto`, the
      feature is disabled in case there is no target libgcrypt available.
      
      Fixes building mpd statically with the qobuz feature enabled. Otherwise
      the build fails with undefined references because of the missing libgpg-error
      dependency:
      
      ```
      /sysroot/usr/lib/libgcrypt.a(libgcrypt_la-visibility.o): In function `gcry_strerror':
      visibility.c:(.text+0x14): undefined reference to `gpg_strerror'
      ```
      7f87de78
    • Jörg Krause's avatar
      meson.build: require Meson 0.49.0 · c66389a4
      Jörg Krause authored
      Meson 0.49.0 adds native support for `libgcrypt-config` which is
      necessary for detecting libgcrypt dependencies, as the latest
      version 1.8.4 of libgcrypt does not provide a .pc file.
      c66389a4
    • Max Kellermann's avatar
      increment version number to 0.21.7 · b63c1a21
      Max Kellermann authored
      b63c1a21
  2. 17 Mar, 2019 6 commits
  3. 16 Mar, 2019 12 commits
  4. 15 Mar, 2019 9 commits
  5. 14 Mar, 2019 3 commits
  6. 27 Feb, 2019 5 commits
  7. 25 Feb, 2019 1 commit