ptlib: bump version and fix build for ZHF
This commit is contained in:
parent
52d9c93abe
commit
59cfbf4d7d
|
@ -1,47 +1,31 @@
|
||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, pkgconfig, bison, flex, unixODBC
|
||||||
, autoconf, automake, libtool, doxygen, pkgconfig, bison, flex, unixODBC
|
, openssl, openldap, cyrus_sasl, krb5, expat, SDL, libdv, libv4l, alsaLib }:
|
||||||
, openssl, openldap, cyrus_sasl, krb5, expat, SDL, libdv, libv4l, alsaLib
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
stdenv.mkDerivation rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "ptlib-2.10.10";
|
||||||
sourceInfo = rec {
|
|
||||||
baseName="ptlib";
|
src = fetchurl {
|
||||||
baseVersion="2.6";
|
url = "mirror://gnome/sources/ptlib/2.10/${name}.tar.xz";
|
||||||
patchlevel="7";
|
sha256 = "7fcaabe194cbd3bc0b370b951dffd19cfe7ea0298bfff6aecee948e97f3207e4";
|
||||||
version="${baseVersion}.${patchlevel}";
|
|
||||||
name="${baseName}-${version}";
|
|
||||||
url="mirror://gnome/sources/${baseName}/${baseVersion}/${name}.tar.bz2";
|
|
||||||
hash="0zxrygl2ivbciqf97yd9n67ch9vd9gp236w96i6ia8fxzqjq5lkx";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
buildInputs = [ pkgconfig bison flex unixODBC openssl openldap
|
||||||
inherit buildInputs;
|
cyrus_sasl krb5 expat SDL libdv libv4l alsaLib ];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
enableParallelBuilding = true;
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
||||||
|
patches = [ ./bison.patch ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Portable Tools from OPAL VoIP";
|
description = "Portable Tools from OPAL VoIP";
|
||||||
maintainers = [ a.lib.maintainers.raskin ];
|
maintainers = [ maintainers.raskin ];
|
||||||
platforms = a.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateInfo = {
|
updateInfo = {
|
||||||
downloadPage = "http://ftp.gnome.org/sources/ptlib/";
|
downloadPage = "http://ftp.gnome.org/sources/ptlib/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}) x
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue