From 3ca984223629f959145099b5b4406b54f6dbebfa Mon Sep 17 00:00:00 2001 From: clsung Date: Mon, 5 Mar 2007 01:59:05 +0000 Subject: - Update to 0.1.3 PR: ports/109301 Submitted by: Herbert J. Skuhra Reviewed by: maintainer (Petar Petrov) Approved by: maintainer --- audio/libmtp/Makefile | 2 +- audio/libmtp/distinfo | 6 +++--- audio/libmtp/files/patch-examples-common.h | 11 +++++++++++ audio/libmtp/files/patch-examples-sendfile.c | 11 +++++++++++ audio/libmtp/files/patch-examples-sendtr.c | 11 +++++++++++ audio/libmtp/pkg-plist | 8 +++++++- 6 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 audio/libmtp/files/patch-examples-common.h create mode 100644 audio/libmtp/files/patch-examples-sendfile.c create mode 100644 audio/libmtp/files/patch-examples-sendtr.c (limited to 'audio/libmtp') diff --git a/audio/libmtp/Makefile b/audio/libmtp/Makefile index fe5bafb6cdb0..6ae651c8be5d 100644 --- a/audio/libmtp/Makefile +++ b/audio/libmtp/Makefile @@ -6,7 +6,7 @@ # PORTNAME= libmtp -PORTVERSION= 0.0.21 +PORTVERSION= 0.1.3 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/audio/libmtp/distinfo b/audio/libmtp/distinfo index 6bca2af8a0f0..894e1a333bb1 100644 --- a/audio/libmtp/distinfo +++ b/audio/libmtp/distinfo @@ -1,3 +1,3 @@ -MD5 (libmtp-0.0.21.tar.gz) = 621b4590c3c0d09f3546ad67f39ef80b -SHA256 (libmtp-0.0.21.tar.gz) = 7d7d28bc92d44f2f8f8c235535428c20a559db227e2184bbd58b22a58f8103be -SIZE (libmtp-0.0.21.tar.gz) = 447358 +MD5 (libmtp-0.1.3.tar.gz) = 311b99c9d9a96efff6383f7466b2b229 +SHA256 (libmtp-0.1.3.tar.gz) = d85f1950b3fbc7a8a89bf06dc4f6fae7e627d9b7b291b98f45259a87bd5b4661 +SIZE (libmtp-0.1.3.tar.gz) = 480522 diff --git a/audio/libmtp/files/patch-examples-common.h b/audio/libmtp/files/patch-examples-common.h new file mode 100644 index 000000000000..95306d240ac3 --- /dev/null +++ b/audio/libmtp/files/patch-examples-common.h @@ -0,0 +1,11 @@ +--- examples/common.h.orig Sun Feb 18 22:24:01 2007 ++++ examples/common.h Sun Feb 18 22:17:34 2007 +@@ -3,7 +3,7 @@ + * These headers are used by absolutely all sample programs. + * Special quirks that apply to all samples go here. + */ +-#include ++#include <../src/libmtp.h> + #ifndef _MSC_VER + #include "config.h" + #ifdef HAVE_GETOPT_H diff --git a/audio/libmtp/files/patch-examples-sendfile.c b/audio/libmtp/files/patch-examples-sendfile.c new file mode 100644 index 000000000000..c0bea71bb306 --- /dev/null +++ b/audio/libmtp/files/patch-examples-sendfile.c @@ -0,0 +1,11 @@ +--- examples/sendfile.c.orig Sun Feb 18 22:25:38 2007 ++++ examples/sendfile.c Sun Feb 18 22:14:53 2007 +@@ -4,7 +4,7 @@ + #include + #include + #include "common.h" +-#include "libmtp.h" ++#include "../src/libmtp.h" + #include "pathutils.h" + + extern LIBMTP_folder_t *folders; diff --git a/audio/libmtp/files/patch-examples-sendtr.c b/audio/libmtp/files/patch-examples-sendtr.c new file mode 100644 index 000000000000..3416e7f5b884 --- /dev/null +++ b/audio/libmtp/files/patch-examples-sendtr.c @@ -0,0 +1,11 @@ +--- examples/sendtr.c.orig Sun Feb 18 22:25:18 2007 ++++ examples/sendtr.c Sun Feb 18 22:18:04 2007 +@@ -12,7 +12,7 @@ + #include + #include + #include "common.h" +-#include "libmtp.h" ++#include "../src/libmtp.h" + #include "pathutils.h" + + extern LIBMTP_folder_t *folders; diff --git a/audio/libmtp/pkg-plist b/audio/libmtp/pkg-plist index 42f915320129..b6078f15debe 100644 --- a/audio/libmtp/pkg-plist +++ b/audio/libmtp/pkg-plist @@ -1,5 +1,9 @@ +bin/mtp-albumart +bin/mtp-albums +bin/mtp-connect bin/mtp-delfile bin/mtp-detect +bin/mtp-emptyfolders bin/mtp-files bin/mtp-folders bin/mtp-format @@ -7,14 +11,16 @@ bin/mtp-getfile bin/mtp-getplaylist bin/mtp-hotplug bin/mtp-newfolder +bin/mtp-newplaylist bin/mtp-playlists bin/mtp-sendfile bin/mtp-sendtr +bin/mtp-thumb bin/mtp-tracks bin/mtp-trexist include/libmtp.h lib/libmtp.a lib/libmtp.la lib/libmtp.so -lib/libmtp.so.3 +lib/libmtp.so.6 libdata/pkgconfig/libmtp.pc -- cgit