Skip to content

Commit

Permalink
git: switch from GfW's asciidoctor-extensions to MSYS2's asciidoctor
Browse files Browse the repository at this point in the history
While enabling clangarm64 support on GfW's
`mingw-w64-asciidoctor-extensions` package, we realized that the
extensions are likely not needed anymore, because the Git project
added its own `Documentation/asciidoctor-extensions.rb` back in 2017.

Let's switch to the MSYS2-maintaned `mingw-w64-asciidoctor` instead,
so we don't have to maintain our own package anymore.

Ref: #118
Ref: git/git@55d2d81
Signed-off-by: Dennis Ameling <[email protected]>
  • Loading branch information
dennisameling committed May 16, 2024
1 parent 97b2d08 commit 5ba0717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mingw-w64-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ license=('GPL2')

options=()
makedepends=('python' 'less' 'openssh' 'patch' 'make' 'tar' 'diffutils'
'ca-certificates' 'xmlto' "${MINGW_PACKAGE_PREFIX}-asciidoctor-extensions")
'ca-certificates' 'xmlto' "${MINGW_PACKAGE_PREFIX}-asciidoctor")
install=git.install

case "$(printf "%s\n%s\n" "$pkgver" "2.18.0" | sort -V)" in
Expand Down Expand Up @@ -101,7 +101,7 @@ fi
if test CLANGARM64 = "$MSYSTEM"
then
# Asciidoctor depends on Ruby which is not available for CLANGARM64 yet
makedepends=("${makedepends[@]/${MINGW_PACKAGE_PREFIX}-asciidoctor-extensions}")
makedepends=("${makedepends[@]/${MINGW_PACKAGE_PREFIX}-asciidoctor}")
USE_ASCIIDOCTOR=
fi

Expand Down

0 comments on commit 5ba0717

Please sign in to comment.