debian swirl logo

Back to the packages list gedit

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

DEB_PYTHON3_MODULE_PACKAGES = gedit

binary-install/gedit::
		cd debian/gedit/usr/share/gedit && mv gedit-bugreport.sh gedit-bugreport
		chmod 755 debian/gedit/usr/share/bug/gedit/script
		dh_python3 -pgedit
		dh_python3 -pgedit /usr/lib/*/gedit/plugins

LDFLAGS += -Wl,-O1 -Wl,--as-needed

DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc \
		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

DEB_DH_MAKESHLIBS_ARGS_gedit += -X/usr/lib/$(DEB_HOST_MULTIARCH)/gedit

DEB_DH_GIREPOSITORY_ARGS_gedit += -ldebian/tmp/usr/share/gedit/gir-1.0 /usr/lib/gedit/girepository-1.0

Builds:

gedit-common
official text editor of the gnome desktop environment (support files)
gedit-dev
official text editor of the gnome desktop environment (development files)
gedit
official text editor of the gnome desktop environment