deepin.deepin-terminal: 3.0.3 -> 3.0.10
- Update to version 3.0.10 - Add some missing dependencies - Remove patch 'remove-vendor.patch' that went upstream - zssh binary path is not hardcoded anymore
This commit is contained in:
parent
1f9bd3c965
commit
1a8d6646d5
|
@ -1,54 +1,57 @@
|
||||||
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, gtk3, vala, cmake,
|
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, cmake, ninja, vala,
|
||||||
ninja, vte, libgee, wnck, zssh, gettext, librsvg, libsecret,
|
gettext, gobjectIntrospection, at-spi2-core, dbus, epoxy, expect,
|
||||||
json-glib, gobjectIntrospection, deepin-menu,
|
gtk3, json-glib, libXdmcp, libgee, libpthreadstubs, librsvg,
|
||||||
deepin-shortcut-viewer, deepin }:
|
libsecret, libtasn1, libxcb, libxkbcommon, p11-kit, pcre, vte, wnck,
|
||||||
|
deepin-menu, deepin-shortcut-viewer, deepin }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "deepin-terminal";
|
pname = "deepin-terminal";
|
||||||
version = "3.0.3";
|
version = "3.0.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linuxdeepin";
|
owner = "linuxdeepin";
|
||||||
repo = "deepin-terminal";
|
repo = "deepin-terminal";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "04yvim97a4j8fq5lq2g6svs8qs79np9m4nl6x83iv02wkb9b7gqa";
|
sha256 = "1jrzx0igq2csb25k4ak5hj81gpvb7zwbg4i64p4mln4vl7x27i5q";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Do not build vendored zssh and vte
|
|
||||||
(fetchurl {
|
|
||||||
name = "remove-vendor.patch";
|
|
||||||
url = https://git.archlinux.org/svntogit/community.git/plain/trunk/remove-vendor.patch?h=packages/deepin-terminal&id=de701614c19c273b98b60fd6790795ff7d8a157e;
|
|
||||||
sha256 = "0g7hhvr7ay9g0cgc6qqvzhbcwvbzvrrilbn8w46ypfzj7w5hlkqv";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace ssh_login.sh --replace /usr/lib/deepin-terminal/zssh "${zssh}/bin/zssh"
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
vala
|
|
||||||
cmake
|
cmake
|
||||||
ninja
|
ninja
|
||||||
|
vala
|
||||||
gettext
|
gettext
|
||||||
gobjectIntrospection # For setup hook
|
gobjectIntrospection # For setup hook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3
|
at-spi2-core
|
||||||
vte
|
dbus
|
||||||
libgee
|
|
||||||
wnck
|
|
||||||
librsvg
|
|
||||||
libsecret
|
|
||||||
json-glib
|
|
||||||
deepin-menu
|
deepin-menu
|
||||||
deepin-shortcut-viewer
|
deepin-shortcut-viewer
|
||||||
|
epoxy
|
||||||
|
expect
|
||||||
|
gtk3
|
||||||
|
json-glib
|
||||||
|
libXdmcp
|
||||||
|
libgee
|
||||||
|
libpthreadstubs
|
||||||
|
librsvg
|
||||||
|
libsecret
|
||||||
|
libtasn1
|
||||||
|
libxcb
|
||||||
|
libxkbcommon
|
||||||
|
p11-kit
|
||||||
|
pcre
|
||||||
|
vte
|
||||||
|
wnck
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
passthru.updateScript = deepin.updateScript { inherit name; };
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
||||||
|
|
Loading…
Reference in New Issue