[Midnightbsd-cvs] mports: mports/audio: add libgpod

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Dec 5 21:50:57 EST 2007


Log Message:
-----------
add libgpod

Modified Files:
--------------
    mports/audio:
        Makefile (r1.48 -> r1.49)

Added Files:
-----------
    mports/audio/libgpod:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/audio/Makefile,v
retrieving revision 1.48
retrieving revision 1.49
diff -L audio/Makefile -L audio/Makefile -u -r1.48 -r1.49
--- audio/Makefile
+++ audio/Makefile
@@ -36,6 +36,7 @@
     SUBDIR += libaudiofile
     SUBDIR += libcdaudio
     SUBDIR += libcddb
+    SUBDIR += libgpod
     SUBDIR += libid3tag
     SUBDIR += libmad
     SUBDIR += libmikmod
--- /dev/null
+++ audio/libgpod/pkg-descr
@@ -0,0 +1,13 @@
+libgpod is a shared library to access the contents of an iPod.  This
+library is based on code used in the gtkpod project.  Starting with
+V0.96.CVS gtkpod depends on this library.
+
+This code was originally part of gtkpod itself.  When the parsing code
+was made self-contained with gtkpod V0.93, decision was made to put
+this code in a separate library so that other projects can benefit from
+it without duplicating code.
+
+libgpod supports playlists, smart playlists, playcounts, ratings, podcasts,
+cover art, audio and video.  Photo support is implemented as well.
+
+WWW: http://www.gtkpod.org/libgpod.html
--- /dev/null
+++ audio/libgpod/pkg-plist
@@ -0,0 +1,38 @@
+include/gpod-1.0/gpod/itdb.h
+ at dirrm include/gpod-1.0/gpod
+ at dirrm include/gpod-1.0
+lib/libgpod.so.2
+lib/libgpod.so
+lib/libgpod.la
+lib/libgpod.a
+libdata/pkgconfig/libgpod-1.0.pc
+share/locale/de/LC_MESSAGES/libgpod.mo
+share/locale/es/LC_MESSAGES/libgpod.mo
+share/locale/fr/LC_MESSAGES/libgpod.mo
+share/locale/he/LC_MESSAGES/libgpod.mo
+share/locale/it/LC_MESSAGES/libgpod.mo
+share/locale/ja/LC_MESSAGES/libgpod.mo
+share/locale/sv/LC_MESSAGES/libgpod.mo
+%%PORTDOCS%%%%DOCSDIR%%/ch01.html
+%%PORTDOCS%%%%DOCSDIR%%/home.png
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/index.sgml
+%%PORTDOCS%%%%DOCSDIR%%/itunesdb.html
+%%PORTDOCS%%%%DOCSDIR%%/left.png
+%%PORTDOCS%%%%DOCSDIR%%/libgpod-Artwork.html
+%%PORTDOCS%%%%DOCSDIR%%/libgpod-Device.html
+%%PORTDOCS%%%%DOCSDIR%%/libgpod-File-handling-functions.html
+%%PORTDOCS%%%%DOCSDIR%%/libgpod-Low-level-functions.html
+%%PORTDOCS%%%%DOCSDIR%%/libgpod-Photo-database.html
+%%PORTDOCS%%%%DOCSDIR%%/libgpod-Playlists.html
+%%PORTDOCS%%%%DOCSDIR%%/libgpod-Smart-Playlists.html
+%%PORTDOCS%%%%DOCSDIR%%/libgpod-The-Itdb-iTunesDB-structure.html
+%%PORTDOCS%%%%DOCSDIR%%/libgpod-Time-handling.html
+%%PORTDOCS%%%%DOCSDIR%%/libgpod-Tracks.html
+%%PORTDOCS%%%%DOCSDIR%%/libgpod.devhelp
+%%PORTDOCS%%%%DOCSDIR%%/libgpod.devhelp2
+%%PORTDOCS%%%%DOCSDIR%%/photodb.html
+%%PORTDOCS%%%%DOCSDIR%%/up.png
+%%PORTDOCS%%%%DOCSDIR%%/right.png
+%%PORTDOCS%%%%DOCSDIR%%/style.css
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- /dev/null
+++ audio/libgpod/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for:	libgpod
+# Date created:				Wed Jan 1 00:48:58 EST 2006
+# Whom:					Devon Ryan <dpryan at dpryan.com>
+#
+# $MidnightBSD: mports/audio/libgpod/Makefile,v 1.1 2007/12/06 02:50:55 laffer1 Exp $
+# $FreeBSD: ports/audio/libgpod/Makefile,v 1.16 2007/08/04 11:40:39 gabor Exp $
+#
+
+PORTNAME=	libgpod
+PORTVERSION=	0.5.2
+CATEGORIES=	audio
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	gtkpod
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	A library for direct access of iPod's contents
+LICENSE=	lgpl
+
+USE_GNOME=	gtk20
+USE_GETTEXT=	yes
+USE_GMAKE=	yes
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+# Disable python bindings for now, something does not work there
+CONFIGURE_ARGS=	--without-python
+
+.if !defined(NOPORTDOCS)
+CONFIGURE_ARGS+=	--with-html-dir="${PREFIX}/share/doc"
+.endif
+
+post-extract: .SILENT
+	${REINPLACE_CMD} -e \
+		's,libdir)/pkgconfig,prefix)/libdata/pkgconfig,' \
+		${WRKSRC}/Makefile.in
+.if defined(NOPORTDOCS)
+	${REINPLACE_CMD} -e 's, docs,,' ${WRKSRC}/Makefile.in
+.endif
+	# Stop configure script want Perl and XML::Parser
+	${REINPLACE_CMD} '19568,19590d' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
--- /dev/null
+++ audio/libgpod/distinfo
@@ -0,0 +1,3 @@
+MD5 (libgpod-0.5.2.tar.gz) = e4f8d2a7be9512268267bfbe712fe9be
+SHA256 (libgpod-0.5.2.tar.gz) = f2a4396dd92ad557a538ffce892020da6ed967454f1027314d270e21c56ec79b
+SIZE (libgpod-0.5.2.tar.gz) = 791704


More information about the Midnightbsd-cvs mailing list