aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-03-05 01:59:05 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-03-05 01:59:05 +0000
commita9417d531e1ac7594e9a3031fcd2dafd0ff85fbc (patch)
treeee2118a7070de17126ddf7e4d7564c21ce7c6871 /audio
parent969a20c5d29446a3a54ea6e0f908f2fef1d69a74 (diff)
downloadports-a9417d531e1ac7594e9a3031fcd2dafd0ff85fbc.tar.gz
ports-a9417d531e1ac7594e9a3031fcd2dafd0ff85fbc.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/libmtp/Makefile2
-rw-r--r--audio/libmtp/distinfo6
-rw-r--r--audio/libmtp/files/patch-examples-common.h11
-rw-r--r--audio/libmtp/files/patch-examples-sendfile.c11
-rw-r--r--audio/libmtp/files/patch-examples-sendtr.c11
-rw-r--r--audio/libmtp/pkg-plist8
6 files changed, 44 insertions, 5 deletions
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 <libmtp.h>
++#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 <sys/types.h>
+ #include <fcntl.h>
+ #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 <sys/types.h>
+ #include <fcntl.h>
+ #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