summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNiels Kristian Bech Jensen <nkbj1970@hotmail.com>2013-03-25 05:55:59 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-03-25 05:55:59 (GMT)
commitf785c6c315cd5e1a783f84d428876cf58d480a4e (patch)
tree0620c02304925d2c1ef18aa51151ceb8b370bcd0 /src
parent107bd8856edf8a45a4d85122ab6809b4b5ceb64f (diff)
downloadmxe-f785c6c315cd5e1a783f84d428876cf58d480a4e.zip
mxe-f785c6c315cd5e1a783f84d428876cf58d480a4e.tar.gz
mxe-f785c6c315cd5e1a783f84d428876cf58d480a4e.tar.bz2
add package liblqr-1 (Liquid Rescale Library)
Diffstat (limited to 'src')
-rw-r--r--src/liblqr-1-1-pkg-config.patch14
-rw-r--r--src/liblqr-1.mk25
2 files changed, 39 insertions, 0 deletions
diff --git a/src/liblqr-1-1-pkg-config.patch b/src/liblqr-1-1-pkg-config.patch
new file mode 100644
index 0000000..14afc0a
--- /dev/null
+++ b/src/liblqr-1-1-pkg-config.patch
@@ -0,0 +1,14 @@
+This file is part of MXE.
+See index.html for further information.
+
+diff -u liblqr-1-0.4.2.orig/lqr-1.pc.in liblqr-1-0.4.2/lqr-1.pc.in
+--- liblqr-1-0.4.2.orig/lqr-1.pc.in 2008-04-06 23:05:19.000000000 +0200
++++ liblqr-1-0.4.2/lqr-1.pc.in 2013-03-25 03:40:34.092174135 +0100
+@@ -7,5 +7,5 @@
+ Description: LiquidRescale seam-carving library
+ Requires: glib-2.0
+ Version: @PACKAGE_VERSION@
+-Libs: -l@LIBRARY_SNAME@
++Libs: -l@LIBRARY_SNAME@ -lglib-2.0
+ Cflags: -I${includedir}/@LIBRARY_SNAME@
+Common subdirectories: liblqr-1-0.4.2.orig/man and liblqr-1-0.4.2/man
diff --git a/src/liblqr-1.mk b/src/liblqr-1.mk
new file mode 100644
index 0000000..5a9dca9
--- /dev/null
+++ b/src/liblqr-1.mk
@@ -0,0 +1,25 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := liblqr-1
+$(PKG)_IGNORE :=
+$(PKG)_CHECKSUM := 69639f7dc56a084f59a3198f3a8d72e4a73ff927
+$(PKG)_SUBDIR := liblqr-1-$($(PKG)_VERSION)
+$(PKG)_FILE := liblqr-1-$($(PKG)_VERSION).tar.bz2
+$(PKG)_URL := http://liblqr.wdfiles.com/local--files/en:download-page/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc glib
+
+define $(PKG)_UPDATE
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ --host='$(TARGET)' \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --disable-shared \
+ --enable-static \
+ --disable-declspec \
+ --disable-install-man
+ $(MAKE) -C '$(1)' -j
+ $(MAKE) -C '$(1)' -j 1 install
+endef