Merge pull request #261588 from wegank/geda-xorn

geda: drop xorn
This commit is contained in:
Weijia Wang 2023-10-23 02:29:39 +02:00 committed by GitHub
commit b6dfb5223d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, groff, pkg-config, python2, guile, gtk2, flex, gawk, perl }:
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook, groff, pkg-config, guile, gtk2, flex, gawk, perl }:
stdenv.mkDerivation rec {
pname = "geda";
@ -9,12 +9,20 @@ stdenv.mkDerivation rec {
hash = "sha256-6GKrJBUoU4+jvuJzkmH1aAERArYMXjmi8DWGY8BCyKQ=";
};
patches = [
(fetchpatch {
name = "geda-1.10.2-drop-xorn.patch";
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sci-electronics/geda/files/geda-1.10.2-drop-xorn.patch?id=5589cc7bc6c4f18f75c40725a550b8d76e7f5ca1";
hash = "sha256-jPQaHjEDwCEfZqDGku+xyIMl5WlWlVcpPv1W6Xf8Grs=";
})
];
configureFlags = [
"--disable-update-xdg-database"
"--without-libfam"
];
nativeBuildInputs = [ groff pkg-config python2 ];
nativeBuildInputs = [ autoreconfHook groff pkg-config ];
buildInputs = [ guile gtk2 flex gawk perl ];
meta = with lib; {