diff --git a/index.html b/index.html index af3f7ac9..0019c5e5 100644 --- a/index.html +++ b/index.html @@ -1523,6 +1523,11 @@ aptitude -t squeeze-backports install cmake yasm 0.26 liblo + + liblqr-1 + 0.4.2 + liblqr-1 + libmad 0.15.1b diff --git a/src/liblqr-1-1-pkg-config.patch b/src/liblqr-1-1-pkg-config.patch new file mode 100644 index 00000000..14afc0a5 --- /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 00000000..5a9dca92 --- /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