2019-10-24 18:00:00 -07:00
|
|
|
{ stdenv, fetchurl, fetchpatch }:
|
2005-01-19 13:48:45 -08:00
|
|
|
|
2014-09-24 06:07:18 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-09-27 08:50:43 -07:00
|
|
|
name = "libogg-1.3.4";
|
2012-08-23 12:01:00 -07:00
|
|
|
|
2005-01-19 13:48:45 -08:00
|
|
|
src = fetchurl {
|
2012-02-08 11:54:16 -08:00
|
|
|
url = "http://downloads.xiph.org/releases/ogg/${name}.tar.xz";
|
2019-09-27 08:50:43 -07:00
|
|
|
sha256 = "1zlk33vxvxr0l9lhkbhkdwvylw96d2n0fnd3d8dl031hph9bqqy1";
|
2010-08-01 07:33:43 -07:00
|
|
|
};
|
|
|
|
|
2016-08-28 17:30:01 -07:00
|
|
|
outputs = [ "out" "dev" "doc" ];
|
2015-07-26 15:25:53 -07:00
|
|
|
|
2019-10-24 18:00:00 -07:00
|
|
|
patches = stdenv.lib.optionals stdenv.isDarwin [
|
|
|
|
# Fix unsigned typedefs on darwin. Remove with the next release https://github.com/xiph/ogg/pull/64
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/xiph/ogg/commit/c8fca6b4a02d695b1ceea39b330d4406001c03ed.patch";
|
|
|
|
sha256 = "1s72g37y87x0a74zjji9vx2hyk86kr4f2l3m4y2fipvlf9348b3f";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2014-06-12 15:53:21 -07:00
|
|
|
meta = with stdenv.lib; {
|
2018-12-28 06:26:37 -08:00
|
|
|
description = "Media container library to manipulate Ogg files";
|
|
|
|
longDescription = ''
|
|
|
|
Library to work with Ogg multimedia container format.
|
|
|
|
Ogg is flexible file storage and streaming format that supports
|
|
|
|
plethora of codecs. Open format free for anyone to use.
|
|
|
|
'';
|
2017-08-02 14:50:51 -07:00
|
|
|
homepage = https://xiph.org/ogg/;
|
2014-06-12 15:53:21 -07:00
|
|
|
license = licenses.bsd3;
|
2015-12-05 13:41:25 -08:00
|
|
|
maintainers = [ maintainers.ehmry ];
|
2014-06-12 15:53:21 -07:00
|
|
|
platforms = platforms.all;
|
2005-01-19 13:48:45 -08:00
|
|
|
};
|
|
|
|
}
|