2019-10-25 03:00:00 +02:00
|
|
|
{ stdenv, fetchurl, fetchpatch }:
|
2005-01-19 22:48:45 +01:00
|
|
|
|
2014-09-24 15:07:18 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-09-27 17:50:43 +02:00
|
|
|
name = "libogg-1.3.4";
|
2012-08-23 21:01:00 +02:00
|
|
|
|
2005-01-19 22:48:45 +01:00
|
|
|
src = fetchurl {
|
2012-02-08 20:54:16 +01:00
|
|
|
url = "http://downloads.xiph.org/releases/ogg/${name}.tar.xz";
|
2019-09-27 17:50:43 +02:00
|
|
|
sha256 = "1zlk33vxvxr0l9lhkbhkdwvylw96d2n0fnd3d8dl031hph9bqqy1";
|
2010-08-01 16:33:43 +02:00
|
|
|
};
|
|
|
|
|
2016-08-29 02:30:01 +02:00
|
|
|
outputs = [ "out" "dev" "doc" ];
|
2015-07-27 00:25:53 +02:00
|
|
|
|
2019-10-25 03:00:00 +02: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-13 00:53:21 +02:00
|
|
|
meta = with stdenv.lib; {
|
2018-12-28 15:26:37 +01: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 23:50:51 +02:00
|
|
|
homepage = https://xiph.org/ogg/;
|
2014-06-13 00:53:21 +02:00
|
|
|
license = licenses.bsd3;
|
2015-12-05 22:41:25 +01:00
|
|
|
maintainers = [ maintainers.ehmry ];
|
2014-06-13 00:53:21 +02:00
|
|
|
platforms = platforms.all;
|
2005-01-19 22:48:45 +01:00
|
|
|
};
|
|
|
|
}
|