Andreas Wacknitz
2023-10-21 34dce27f308ff881f96b4955f44fdbe21224f500
components/editor/geany-plugins/Makefile
@@ -12,66 +12,50 @@
#
# Copyright 2016-2017 Predrag Zečević.  All rights reserved.
# Copyright 2022 Nona Hansel
# Copyright 2023 Andreas Wacknitz
#
BUILD_BITS=64
BUILD_BITS= 64
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=         geany-plugins
COMPONENT_VERSION=      1.38
COMPONENT_REVISION=     6
COMPONENT_CLASSIFICATION=System/Text Tools
COMPONENT_FMRI=         editor/geany/plugins
COMPONENT_VERSION=      2.0
COMPONENT_SUMMARY=      Plugins for Geany editor
COMPONENT_DESCRIPTION= Geany-Plugins is a collection of different plugins for Geany, a lightweight IDE.
COMPONENT_DESCRIPTION=   Geany-Plugins is a collection of different plugins for Geany, a lightweight IDE.
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= sha256:44dedf70605220d6e4094703a85c5f5a224c150cb1538b6b7f908b403b1bcc1b
COMPONENT_ARCHIVE_URL=  https://plugins.geany.org/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
COMPONENT_PROJECT_URL=  https://plugins.geany.org/
COMPONENT_ARCHIVE_HASH= sha256:cd7d27f00aef4afe2040d7e5246a863234c340c8520ef698be9a15005ed8f57e
COMPONENT_PROJECT_URL=  https://plugins.geany.org
COMPONENT_ARCHIVE_URL=  $(COMPONENT_PROJECT_URL)/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
COMPONENT_FMRI=         editor/geany/plugins
COMPONENT_CLASSIFICATION= System/Text Tools
COMPONENT_LICENSE=      GPLv2
PYTHON_VERSION= 3.9
COMPONENT_PREP_ACTION += ( cd $(@D) && rm ltmain.sh; autoreconf -fi )
TEST_TARGET=      $(NO_TESTS)
TEST_TARGET= $(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
PATH=$(PATH.gnu)
PATH= $(PATH.gnu)
CFLAGS+= $(XPG6MODE)
CFLAGS+= -D_FILE_OFFSET_BITS=64
CFLAGS += $(XPG6MODE)
CFLAGS += -D_FILE_OFFSET_BITS=64
CONFIGURE_ENV+= CHECK_CFLAGS="-I/usr/include/check"
CONFIGURE_ENV+= PYTHON=$(PYTHON.3.9.64)
# cppcheck is not packaged
CONFIGURE_OPTIONS+= --disable-cppcheck
CONFIGURE_ENV += CHECK_CFLAGS="-I/usr/include/check"
CONFIGURE_ENV += PYTHON=$(PYTHON.3.9.64)
# requires libutil
CONFIGURE_OPTIONS+= --disable-debugger
CONFIGURE_OPTIONS+= --disable-scope
# requires webkit 1.x
CONFIGURE_OPTIONS+= --disable-devhelp
CONFIGURE_OPTIONS+= --disable-markdown
CONFIGURE_OPTIONS+= --disable-webhelper
CONFIGURE_OPTIONS += --disable-debugger
CONFIGURE_OPTIONS += --disable-scope
# no lipsum (www.lipsum.com) in OI yet
CONFIGURE_OPTIONS+= --disable-lipsum
# requires Python2.7, https://plugins.geany.org/geanypy.html
CONFIGURE_OPTIONS+= --disable-geanypy
CONFIGURE_OPTIONS += --disable-lipsum
# Enable to avoid relying on the environment
CONFIGURE_OPTIONS+= --enable-gtkspell
CONFIGURE_OPTIONS += --enable-gtkspell
# Manually added build dependencies
REQUIRED_PACKAGES += developer/vala
REQUIRED_PACKAGES += gnome/config/gconf
REQUIRED_PACKAGES += library/desktop/gtkspell
REQUIRED_PACKAGES += library/python/pygobject-3-39
# Auto-generated dependencies
REQUIRED_PACKAGES += editor/geany
@@ -80,6 +64,7 @@
REQUIRED_PACKAGES += library/desktop/gtk3
REQUIRED_PACKAGES += library/desktop/gtkspell3
REQUIRED_PACKAGES += library/desktop/pango
REQUIRED_PACKAGES += library/desktop/webkitgtk2
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/libgit2
REQUIRED_PACKAGES += library/libsoup
@@ -87,3 +72,4 @@
REQUIRED_PACKAGES += library/security/gpgme
REQUIRED_PACKAGES += library/spell-checking/enchant
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math