Merge pull request #332529 from flokl/update-dockbarx
dockbarx 1.0-beta2 -> 1.0-beta4
This commit is contained in:
@@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "dockbarx";
|
pname = "dockbarx";
|
||||||
version = "1.0-beta2";
|
version = "1.0-beta4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xuzhen";
|
owner = "xuzhen";
|
||||||
repo = "dockbarx";
|
repo = "dockbarx";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-WMRTtprDHUbOOYVHshx7WpBlYshbiDjI12Rw3tQQuPI=";
|
sha256 = "sha256-J/5KpHptGzgRF1qIGrgjkRR3in5pE0ffkiYVTR3iZKY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@@ -46,23 +46,6 @@ python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
dontWrapGApps = true;
|
dontWrapGApps = true;
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace /usr/ "" \
|
|
||||||
--replace '"/", "usr", "share",' '"share",'
|
|
||||||
|
|
||||||
for f in \
|
|
||||||
dbx_preference \
|
|
||||||
dockbarx/applets.py \
|
|
||||||
dockbarx/dockbar.py \
|
|
||||||
dockbarx/iconfactory.py \
|
|
||||||
dockbarx/theme.py \
|
|
||||||
mate_panel_applet/dockbarx_mate_applet
|
|
||||||
do
|
|
||||||
substituteInPlace $f --replace /usr/share/ $out/share/
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
glib-compile-schemas $out/share/glib-2.0/schemas
|
glib-compile-schemas $out/share/glib-2.0/schemas
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user