Merge pull request #332529 from flokl/update-dockbarx

dockbarx 1.0-beta2 -> 1.0-beta4
This commit is contained in:
José Romildo Malaquias 2024-08-20 09:28:23 -03:00 committed by GitHub
commit 773abcbfca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,13 +11,13 @@
python3Packages.buildPythonApplication rec {
pname = "dockbarx";
version = "1.0-beta2";
version = "1.0-beta4";
src = fetchFromGitHub {
owner = "xuzhen";
repo = "dockbarx";
rev = version;
sha256 = "sha256-WMRTtprDHUbOOYVHshx7WpBlYshbiDjI12Rw3tQQuPI=";
sha256 = "sha256-J/5KpHptGzgRF1qIGrgjkRR3in5pE0ffkiYVTR3iZKY=";
};
nativeBuildInputs = [
@ -46,23 +46,6 @@ python3Packages.buildPythonApplication rec {
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 = ''
glib-compile-schemas $out/share/glib-2.0/schemas
'';