Skip to content

Commit

Permalink
x11-wm/hyprland: simplify GIT_COMMIT_MESSAGE after da13408
Browse files Browse the repository at this point in the history
(cherry picked from commit c9b8859)
  • Loading branch information
jbeich committed Apr 28, 2023
1 parent b768861 commit d19055d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x11-wm/hyprland/Makefile
Expand Up @@ -46,7 +46,7 @@ post-patch:
# Extract (snapshot) version from the port instead of meson.build
@${REINPLACE_CMD} -i .nogit -e "/GIT_BRANCH/s/run_command.*/'main'/" \
-e "/GIT_COMMIT_HASH/s/run_command.*/'${DISTVERSIONFULL}'/" \
-e "/GIT_COMMIT_MESSAGE/s/run_command.*/'?'/" \
-e "/GIT_COMMIT_MESSAGE/d" \
-e "/GIT_DIRTY/s/run_command.*/'portbld'/" \
-e "/version.*jq/s/run_command.*/'${DISTVERSIONFULL}',/" \
${WRKSRC}/meson.build
Expand Down
2 changes: 1 addition & 1 deletion x11/hyprpaper/Makefile
Expand Up @@ -28,7 +28,7 @@ post-patch:
@${REINPLACE_CMD} -i .nogit -e '/Get git info/,/^#$$/d' \
-e 's/$${GIT_BRANCH}/main/' \
-e 's/$${GIT_COMMIT_HASH}/${GH_TAGNAME}/' \
-e 's/$${GIT_COMMIT_MESSAGE}/?/' \
-e '/$${GIT_COMMIT_MESSAGE}/d' \
-e 's/$${GIT_DIRTY}/portbld/' \
${WRKSRC}/CMakeLists.txt
# https://clang.llvm.org/cxx_status.html#cxx23
Expand Down
2 changes: 1 addition & 1 deletion x11/hyprpicker/Makefile
Expand Up @@ -33,7 +33,7 @@ post-patch:
@${REINPLACE_CMD} -i .nogit -e '/Get git info/,/^#$$/d' \
-e 's/$${GIT_BRANCH}/main/' \
-e 's/$${GIT_COMMIT_HASH}/${GH_TAGNAME}/' \
-e 's/$${GIT_COMMIT_MESSAGE}/?/' \
-e '/$${GIT_COMMIT_MESSAGE}/d' \
-e 's/$${GIT_DIRTY}/portbld/' \
${WRKSRC}/CMakeLists.txt
# https://clang.llvm.org/cxx_status.html#cxx23
Expand Down

0 comments on commit d19055d

Please sign in to comment.