pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libmtp Initial import of libmtp-0.3.1, based on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a69f99aba13c
branches:  trunk
changeset: 546703:a69f99aba13c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Sep 06 23:24:08 2008 +0000

description:
Initial import of libmtp-0.3.1, based on pkgsrc-wip package originally
by neimal, with work by netcap, hoka_adam, bsadewitz and me.

libmtp is an implementation of Microsoft's Media Transfer Protocol
(MTP) in the form of a library suitable primarily for POSIX compliant
operating systems. We implement MTP Basic, the stuff proposed for
standardization.

It is used by:
    * XNJB
    * Gnomad2
    * MTPdude
    * AmaroK

diffstat:

 devel/libmtp/DESCR            |  10 ++++++++++
 devel/libmtp/Makefile         |  29 +++++++++++++++++++++++++++++
 devel/libmtp/PLIST            |  25 +++++++++++++++++++++++++
 devel/libmtp/buildlink3.mk    |  21 +++++++++++++++++++++
 devel/libmtp/distinfo         |   6 ++++++
 devel/libmtp/patches/patch-aa |  13 +++++++++++++
 6 files changed, 104 insertions(+), 0 deletions(-)

diffs (128 lines):

diff -r 02710f010ee4 -r a69f99aba13c devel/libmtp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libmtp/DESCR        Sat Sep 06 23:24:08 2008 +0000
@@ -0,0 +1,10 @@
+libmtp is an implementation of Microsoft's Media Transfer Protocol
+(MTP) in the form of a library suitable primarily for POSIX compliant
+operating systems. We implement MTP Basic, the stuff proposed for
+standardization.
+
+It is used by:
+    * XNJB
+    * Gnomad2
+    * MTPdude
+    * AmaroK
diff -r 02710f010ee4 -r a69f99aba13c devel/libmtp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libmtp/Makefile     Sat Sep 06 23:24:08 2008 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/06 23:24:08 wiz Exp $
+#
+
+DISTNAME=              libmtp-0.3.1
+CATEGORIES=            devel
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=libmtp/}
+
+MAINTAINER=            ku3%sl.aanet.ru@localhost
+HOMEPAGE=              http://libmtp.sourceforge.net/
+COMMENT=               Implementation of Media Transfer Protocol (MTP)
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_PKGLOCALEDIR=      yes
+USE_LIBTOOL=           yes
+USE_TOOLS+=            pkg-config
+GNU_CONFIGURE=         yes
+
+PKGCONFIG_OVERRIDE+=   libmtp.pc.in
+
+REPLACE_SH=            hotplug.sh.in
+REPLACE_SH+=           libmtp.sh.in
+
+# XXX ?
+LDFLAGS.FreeBSD+=      -liconv
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/libusb/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 02710f010ee4 -r a69f99aba13c devel/libmtp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libmtp/PLIST        Sat Sep 06 23:24:08 2008 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/06 23:24:08 wiz Exp $
+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
+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-reset
+bin/mtp-thumb
+bin/mtp-tracks
+bin/mtp-trexist
+include/libmtp.h
+lib/libmtp.la
+lib/pkgconfig/libmtp.pc
diff -r 02710f010ee4 -r a69f99aba13c devel/libmtp/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libmtp/buildlink3.mk        Sat Sep 06 23:24:08 2008 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/06 23:24:08 wiz Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBMTP_BUILDLINK3_MK:= ${LIBMTP_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+=    libmtp
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nlibmtp}
+BUILDLINK_PACKAGES+=   libmtp
+BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmtp
+
+.if ${LIBMTP_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libmtp+= libmtp>=0.3.0
+BUILDLINK_PKGSRCDIR.libmtp?=   ../../devel/libmtp
+.endif # LIBMTP_BUILDLINK3_MK
+
+.include "../../devel/libusb/buildlink3.mk"
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH:S/+$//}
diff -r 02710f010ee4 -r a69f99aba13c devel/libmtp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libmtp/distinfo     Sat Sep 06 23:24:08 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/06 23:24:08 wiz Exp $
+
+SHA1 (libmtp-0.3.1.tar.gz) = 416510e65018cc50b10883b1fc893e2a05387439
+RMD160 (libmtp-0.3.1.tar.gz) = f9b3eac1b6b69771ef123edf76b8a6242f96c6f5
+Size (libmtp-0.3.1.tar.gz) = 556206 bytes
+SHA1 (patch-aa) = 8d962323f099efec2bf2f3ac0ef3109151d5d57d
diff -r 02710f010ee4 -r a69f99aba13c devel/libmtp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libmtp/patches/patch-aa     Sat Sep 06 23:24:08 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/06 23:24:08 wiz Exp $
+
+--- hotplug.sh.in.orig 2008-09-07 01:18:04.000000000 +0200
++++ hotplug.sh.in
+@@ -170,7 +170,7 @@ if [ "x${CVSTAG}" != "x" ]; then
+       fi
+     fi
+ fi
+-if [ "x${EDITMAP}" == "xyes" ]; then
++if [ "x${EDITMAP}" = "xyes" ]; then
+     echo "We need to edit the ${HOTPLUGPATH}/usb.usermap if it exists..."
+     if test -f ${HOTPLUGPATH}/usb.usermap
+     then



Home | Main Index | Thread Index | Old Index