Revert "gtk-doc: build with meson"
This reverts commit 064ca0afe9
.
The previous gtk-doc version won't build with our current meson.
This commit is contained in:
parent
451be596d3
commit
7c1568645b
|
@ -1,15 +1,5 @@
|
||||||
{ stdenv
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, perl, python3, libxml2Python, libxslt, which
|
||||||
, fetchFromGitLab
|
, docbook_xml_dtd_43, docbook_xsl, gnome-doc-utils, gettext, itstool, gnome3
|
||||||
, meson
|
|
||||||
, ninja
|
|
||||||
, pkgconfig
|
|
||||||
, python3
|
|
||||||
, libxml2Python
|
|
||||||
, docbook_xml_dtd_43
|
|
||||||
, docbook_xsl
|
|
||||||
, libxslt
|
|
||||||
, gettext
|
|
||||||
, gnome3
|
|
||||||
, withDblatex ? false, dblatex
|
, withDblatex ? false, dblatex
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -17,12 +7,9 @@ stdenv.mkDerivation rec {
|
||||||
pname = "gtk-doc";
|
pname = "gtk-doc";
|
||||||
version = "1.30";
|
version = "1.30";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchurl {
|
||||||
domain = "gitlab.gnome.org";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
owner = "GNOME";
|
sha256 = "17h6nwhis66z4dxjrc833wvfl6pqjp81yfx3fq6x7k1qp2749xm4";
|
||||||
repo = pname;
|
|
||||||
rev = "GTK_DOC_${stdenv.lib.replaceStrings ["."] ["_"] version }";
|
|
||||||
sha256 = "05lr6apj3pd3s59a7k6p45k9ywwrp577ra4pvkhxvb5p7v90c2fi";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -31,27 +18,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputDevdoc = "out";
|
outputDevdoc = "out";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
gettext
|
buildInputs =
|
||||||
meson
|
[ pkgconfig perl python3 libxml2Python libxslt docbook_xml_dtd_43 docbook_xsl
|
||||||
ninja
|
gnome-doc-utils gettext which itstool
|
||||||
];
|
] ++ stdenv.lib.optional withDblatex dblatex;
|
||||||
|
|
||||||
buildInputs = [
|
configureFlags = [ "--disable-scrollkeeper" ];
|
||||||
docbook_xml_dtd_43
|
|
||||||
docbook_xsl
|
|
||||||
libxslt
|
|
||||||
pkgconfig
|
|
||||||
python3
|
|
||||||
libxml2Python
|
|
||||||
]
|
|
||||||
++ stdenv.lib.optional withDblatex dblatex
|
|
||||||
;
|
|
||||||
|
|
||||||
mesonFlags = [
|
|
||||||
"-Dtests=false"
|
|
||||||
"-Dyelp_manual=false"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Make pygments available for binaries, python.withPackages creates a wrapper
|
# Make pygments available for binaries, python.withPackages creates a wrapper
|
||||||
# but scripts are not allowed in shebangs so we link it into sys.path.
|
# but scripts are not allowed in shebangs so we link it into sys.path.
|
||||||
|
|
Loading…
Reference in New Issue