Skip to content

Commit 3a058f3

Browse files
committed
Don't build and install xmc for Gimp 2.7 or newer.
LP: #630786
1 parent 45d63b5 commit 3a058f3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

xmc/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
2+
ifeq (1,$(strip $(shell if dpkg --compare-versions `dpkg -s libgimp2.0-dev | awk '/^Version/ {print $$2}'` lt 2.7~; then echo 1; fi)))
3+
14
PLUGIN = file-xmc
25
EXTRA_LDFLAGS = -lXcursor
36

47
include ../common.mk
5-
8+
endif

xmc/description

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
* X11 Mouse Cursor (XMC) plug-in {version}:
22
Enables GIMP to import and export X11 mouse cursor files.
3+
(Only shipped if the package was built against libgimp-dev < 2.7~)

0 commit comments

Comments
 (0)