Unverified Commit c610d3ad authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

libbass: 2.4.15 -> 2.4.17 (#256414)

parents 004d51ee 73708846
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -9377,6 +9377,13 @@
    github = "jacbart";
    githubId = 7909687;
  };
  jacekpoz = {
    name = "Jacek Poziemski";
    email = "jacekpoz@proton.me";
    matrix = "@jacekpoz:jacekpoz.pl";
    github = "jacekpoz";
    githubId = 64381190;
  };
  jacfal = {
    name = "Jakub Pravda";
    email = "me@jakubpravda.net";
+19 −14
Original line number Diff line number Diff line
@@ -2,31 +2,37 @@

# Upstream changes files in-place, to update:
# 1. Check latest version at http://www.un4seen.com/
# 2. Update `version`s and `sha256` sums.
# 2. Update `version`s and `hash` sums.
# See also http://www.un4seen.com/forum/?topic=18614.0

# Internet Archive used due to upstream URLs being unstable

let
  allBass = {
    bass = {
      h = "bass.h";
      version = "2.4.15";
      version = "2.4.17";
      so = {
        i686_linux = "libbass.so";
        x86_64-linux = "x64/libbass.so";
        i686_linux = "libs/x86/libbass.so";
        x86_64-linux = "libs/x86_64/libbass.so";
        armv7l-linux = "libs/armhf/libbass.so";
        aarch64-linux = "libs/aarch64/libbass.so";
      };
      urlpath = "bass24-linux.zip";
      sha256 = "1lmysxfhy727zskavml3ibg5w876ir88923bm17c21s59w5lh7l8";
      url = "https://web.archive.org/web/20240501180538/http://www.un4seen.com/files/bass24-linux.zip";
      hash = "sha256-/JAlvtZtnzuzZjWy3n1WT8Q5ZVLO0BJJAJT7/dELS3o=";
    };

    bass_fx = {
      h = "C/bass_fx.h";
      version = "2.4.12.1";
      so = {
        i686_linux = "libbass_fx.so";
        x86_64-linux = "x64/libbass_fx.so";
        i686_linux = "libs/x86/libbass_fx.so";
        x86_64-linux = "libs/x86_64/libbass_fx.so";
        armv7l-linux = "libs/armhf/libbass_fx.so";
        aarch64-linux = "libs/aarch64/libbass_fx.so";
      };
      urlpath = "z/0/bass_fx24-linux.zip";
      sha256 = "1q0g74z7iyhxqps5b3gnnbic8v2jji1r0mkvais57lsx8y21sbin";
      url = "https://web.archive.org/web/20240926184106/https://www.un4seen.com/files/z/0/bass_fx24-linux.zip";
      hash = "sha256-Hul2ELwnaDV8TDRMDXoFisle31GATDkf3PdkR2K9QTs=";
    };
  };

@@ -35,9 +41,9 @@ let
    inherit (bass) version;

    src = fetchurl {
      url = "https://www.un4seen.com/files/${bass.urlpath}";
      inherit (bass) sha256;
      inherit (bass) hash url;
    };

    unpackCmd = ''
      mkdir out
      ${unzip}/bin/unzip $curSrc -d out
@@ -60,8 +66,7 @@ let
      homepage = "https://www.un4seen.com/";
      license = licenses.unfreeRedistributable;
      platforms = builtins.attrNames bass.so;
      # until upstream has stable URLs, this package is prone to always being broken
      broken = true;
      maintainers = with maintainers; [ jacekpoz ];
    };
  };