changeset 4491:7bf3a5b0f0fa

xcursor: New module.
author John W. Eaton <jwe@octave.org>
date Thu, 05 Oct 2017 14:24:29 -0400
parents 788dc298ec00
children 4c0606a85383
files dist-files.mk index.html src/x11.mk src/xcursor.mk
diffstat 4 files changed, 33 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dist-files.mk	Thu Oct 05 14:23:20 2017 -0400
+++ b/dist-files.mk	Thu Oct 05 14:24:29 2017 -0400
@@ -705,6 +705,7 @@
   xau.mk \
   xcb-proto.mk \
   xcb.mk \
+  xcursor.mk \
   xdamage.mk \
   xdmcp.mk \
   xerces-1-fix-pkgconfig.patch \
--- a/index.html	Thu Oct 05 14:23:20 2017 -0400
+++ b/index.html	Thu Oct 05 14:24:29 2017 -0400
@@ -2458,6 +2458,10 @@
         <td class="website"><a href="http://xorg.freedesktop.org/">xcb</a></td>
     </tr>
     <tr>
+        <td class="package">xcursor</td>
+        <td class="website"><a href="http://xorg.freedesktop.org/">xcursor</a></td>
+    </tr>
+    <tr>
         <td class="package">xcb-proto</td>
         <td class="website"><a href="http://xorg.freedesktop.org/">xcb-proto</a></td>
     </tr>
--- a/src/x11.mk	Thu Oct 05 14:23:20 2017 -0400
+++ b/src/x11.mk	Thu Oct 05 14:24:29 2017 -0400
@@ -8,7 +8,7 @@
 $(PKG)_SUBDIR   := libX11-$($(PKG)_VERSION)
 $(PKG)_FILE     := libX11-$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := http://xorg.freedesktop.org/archive/individual/lib/$($(PKG)_FILE)
-$(PKG)_DEPS     := inputproto kbproto xcb xextproto xproto xtrans
+$(PKG)_DEPS     := inputproto kbproto xcb xcursor xextproto xproto xtrans
 
 ifeq ($(MXE_WINDOWS_BUILD),yes)
   define $(PKG)_BUILD
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/xcursor.mk	Thu Oct 05 14:24:29 2017 -0400
@@ -0,0 +1,27 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := xcursor
+$(PKG)_IGNORE   :=
+$(PKG)_VERSION  := 1.1.14
+$(PKG)_CHECKSUM := 89870756758439f9216ddf5f2d3dca56570fc6b7
+$(PKG)_SUBDIR   := libXcursor-$($(PKG)_VERSION)
+$(PKG)_FILE     := libXcursor-$($(PKG)_VERSION).tar.bz2
+$(PKG)_URL      := http://xorg.freedesktop.org/archive/individual/lib/$($(PKG)_FILE)
+$(PKG)_DEPS     := 
+
+ifeq ($(MXE_WINDOWS_BUILD),yes)
+  define $(PKG)_BUILD
+  endef
+else
+  define $(PKG)_BUILD
+    mkdir '$(1)/.build'
+    cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
+        $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
+        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
+        --prefix='$(HOST_PREFIX)' \
+        && $(CONFIGURE_POST_HOOK)
+
+    $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
+  endef
+endif