3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

11 commits

Author SHA1 Message Date
Thomas Tuegel 02ad6bbb42
aacgain: build with -Wno-narrowing
In recent GCC versions, -Wnarrowing is enabled by default, and compilation of
aacgain fails due to -Werror. This commit disables the warning again.
2021-03-29 13:42:00 -05:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Raghav Sood fe1a36fe5b
aacgain: fix src 2020-11-17 15:30:31 +00:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Jörg Thalheim de7f76603d aacgain: fix compilation error 2018-02-27 17:38:23 +00:00
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster 1cf63c85be aacgain: turn off format hardening 2016-02-08 15:43:12 +00:00
Robbin C c07fb11cd2 aacgain: Use more up-to-date upstream repository.
Use more up-to-date upstream repostiory, which allows for a cleaner
build. It includes mp4v2 and faad, which will be built statically and
linked to the resulting binary.
2015-06-12 12:54:08 +02:00
Robbin C 681cbedd4a aacgain: Use fetchFromGitHub instead of fetchgit. 2015-06-12 12:54:07 +02:00
Robbin C dbac15d66c aacgain: Add package.
This adds aacgain which is a normalizer for AAC (.m4a) audio files.
2015-06-12 12:54:07 +02:00