Merge pull request #296889 from wegank/a52dec-bump

a52dec: 0.7.4 -> 0.8.0
This commit is contained in:
Weijia Wang 2024-03-21 13:25:00 +01:00 committed by GitHub
commit e4521972ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 19 additions and 11 deletions

View file

@ -1,23 +1,31 @@
{ lib, stdenv, fetchurl }: {
lib,
stdenv,
fetchFromGitLab,
autoreconfHook,
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "a52dec"; pname = "a52dec";
version = "0.7.4"; version = "0.8.0";
src = fetchurl { src = fetchFromGitLab {
url = "https://liba52.sourceforge.io/files/${pname}-${version}.tar.gz"; domain = "git.adelielinux.org";
sha256 = "oh1ySrOzkzMwGUNTaH34LEdbXfuZdRPu9MJd5shl7DM="; owner = "community";
repo = "a52dec";
rev = "v${version}";
hash = "sha256-Z4riiwetJkhQYa+AD8qOiwB1+cuLbOyN/g7D8HM8Pkw=";
}; };
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [ configureFlags = [
"--enable-shared" "--enable-shared"
# Define inline as __attribute__ ((__always_inline__)) # Define inline as __attribute__ ((__always_inline__))
"ac_cv_c_inline=yes" "ac_cv_c_inline=yes"
]; ];
makeFlags = [ makeFlags = [ "AR=${stdenv.cc.targetPrefix}ar" ];
"AR=${stdenv.cc.targetPrefix}ar"
];
# fails 1 out of 1 tests with "BAD GLOBAL SYMBOLS" on i686 # fails 1 out of 1 tests with "BAD GLOBAL SYMBOLS" on i686
# which can also be fixed with # which can also be fixed with
@ -28,7 +36,9 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "ATSC A/52 stream decoder"; description = "ATSC A/52 stream decoder";
homepage = "https://liba52.sourceforge.io/"; homepage = "https://liba52.sourceforge.io/";
platforms = platforms.unix;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ wegank ];
mainProgram = "a52dec";
platforms = platforms.unix;
}; };
} }

View file

@ -20184,8 +20184,6 @@ with pkgs;
### DEVELOPMENT / LIBRARIES ### DEVELOPMENT / LIBRARIES
a52dec = callPackage ../development/libraries/a52dec { };
aalib = callPackage ../development/libraries/aalib { }; aalib = callPackage ../development/libraries/aalib { };
abseil-cpp_202103 = callPackage ../development/libraries/abseil-cpp/202103.nix { abseil-cpp_202103 = callPackage ../development/libraries/abseil-cpp/202103.nix {