Skip to content

Commit

Permalink
geany-plugins: update to 2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
oreo639 committed Feb 26, 2024
1 parent dc0b880 commit bab633f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 183 deletions.

This file was deleted.

This file was deleted.

27 changes: 17 additions & 10 deletions srcpkgs/geany-plugins/template
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
# Template file for 'geany-plugins'
pkgname=geany-plugins
version=1.38.0
revision=3
version=2.0
revision=1
build_style=gnu-configure
configure_args="--enable-all-plugins --disable-devhelp
--disable-webhelper --disable-debugger --disable-geanypy --disable-multiterm"
configure_args="--enable-all-plugins
--disable-geniuspaste --disable-updatechecker --disable-debugger"
hostmakedepends="automake gettext-devel intltool libtool pkg-config vala
glib-devel"
makedepends="geany-devel lua51-devel ctpl-devel zlib-devel
gpgme-devel enchant2-devel libgit2-devel libsoup-devel
gtkspell-devel webkit2gtk-devel vte3-devel"
gpgme-devel enchant2-devel libgit2-devel
gtkspell-devel libwebkit2gtk41-devel vte3-devel"
short_desc="Geany IDE plugins"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://plugins.geany.org"
changelog="https://raw.githubusercontent.com/geany/geany-plugins/master/NEWS"
distfiles="https://github.com/geany/${pkgname}/archive/${version}.tar.gz"
checksum=86d2fe05290136d020b0d22f849a1aaa74b83cb49b767ae2dc19aaedcdf3d469
distfiles="https://download.geany.org/geany-plugins/geany-plugins-${version}.tar.gz"
checksum=cd7d27f00aef4afe2040d7e5246a863234c340c8520ef698be9a15005ed8f57e

post_patch() {
# Use libwebkit2gtk41, cannot be used with updatechecker or geniuspaste
# See: https://github.com/geany/geany-plugins/issues/1302#issuecomment-1925011272
vsed -e 's/webkit2gtk-4.0/webkit2gtk-4.1/' -i build/markdown.m4
vsed -e 's/webkit2gtk-4.0/webkit2gtk-4.1/' -i build/webhelper.m4
}

pre_configure() {
NOCONFIGURE=1 ./autogen.sh
autoreconf -fi
}

pre_build() {
Expand All @@ -32,7 +39,7 @@ geany-plugins-extra_package() {
short_desc+=" - extra plugins"
pkg_install() {
for p in geanygendoc geanylua geanypg geniuspaste \
git-changebar pretty-printer spellcheck updatechecker; do
git-changebar pretty-printer spellcheck; do
if [ -x ${DESTDIR}/usr/lib/geany/${p}.so ]; then
vmove usr/lib/geany/${p}.so
fi
Expand Down

0 comments on commit bab633f

Please sign in to comment.