Update to 1.0.0 and add support for flac/ogg
ok sthen@
This commit is contained in:
parent
f101dac86c
commit
763ee7d667
@ -1,8 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.41 2011/10/18 18:57:15 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.42 2011/11/15 15:43:51 mpi Exp $
|
||||
|
||||
COMMENT= GTK+2 program to synchronize an Apple iPod
|
||||
DISTNAME= gtkpod-0.99.14
|
||||
REVISION= 7
|
||||
DISTNAME= gtkpod-1.0.0
|
||||
CATEGORIES= audio x11
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtkpod/}
|
||||
|
||||
@ -21,14 +20,15 @@ WANTLIB += Xcomposite Xdamage c cairo expat fontconfig freetype m pthread
|
||||
WANTLIB += pthread-stubs xcb z xml2 png glib-2.0 gmodule-2.0 gobject-2.0
|
||||
WANTLIB += gthread-2.0 pango-1.0 pangoft2-1.0 pangocairo-1.0 atk-1.0 pixman-1
|
||||
WANTLIB += gio-2.0 id3tag gpod gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 curl
|
||||
WANTLIB += glade-2.0 mp4v2 xcb-render GL xcb-shm
|
||||
WANTLIB += glade-2.0 mp4v2 xcb-render GL xcb-shm FLAC ogg vorbis vorbisfile
|
||||
|
||||
USE_GMAKE= Yes
|
||||
USE_GROFF = Yes
|
||||
|
||||
RUN_DEPENDS= devel/desktop-file-utils
|
||||
LIB_DEPENDS= audio/libid3tag \
|
||||
audio/libgpod \
|
||||
audio/flac \
|
||||
audio/libvorbis \
|
||||
devel/libglade2 \
|
||||
net/curl \
|
||||
multimedia/libmp4v2
|
||||
@ -36,11 +36,9 @@ LIB_DEPENDS= audio/libid3tag \
|
||||
MODULES= devel/gettext textproc/intltool
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS+=--without-hal \
|
||||
--without-gnome-vfs
|
||||
# trampolines needed for display_playlists.c
|
||||
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
CFLAGS="${CFLAGS} -ftrampolines" \
|
||||
CPPFLAGS="-I${LOCALBASE}/include"
|
||||
CONFIGURE_ARGS+= --with-curl \
|
||||
--with-ogg \
|
||||
--with-flac
|
||||
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -logg -lvorbis -lm"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (gtkpod-0.99.14.tar.gz) = 95SOzrlVswL0xH2kwOHsEg==
|
||||
RMD160 (gtkpod-0.99.14.tar.gz) = 7EgGkYMQswccM9Rhrzo1S1gmqEw=
|
||||
SHA1 (gtkpod-0.99.14.tar.gz) = kpd0IMC1ToXdyA++LpnNSl5Ogbk=
|
||||
SHA256 (gtkpod-0.99.14.tar.gz) = c+EoNIJnmuDMd0qkoHrslJFZgoizaYZQXsPRxqB37D0=
|
||||
SIZE (gtkpod-0.99.14.tar.gz) = 1856919
|
||||
MD5 (gtkpod-1.0.0.tar.gz) = yt1ALc0c++3aA1e/JJZafA==
|
||||
RMD160 (gtkpod-1.0.0.tar.gz) = Jx6a6yVJO4mTPyA+vOTABM4NpXM=
|
||||
SHA1 (gtkpod-1.0.0.tar.gz) = d7doZjRYBppBTFm3qtKFAgyToDU=
|
||||
SHA256 (gtkpod-1.0.0.tar.gz) = 2AiUVdCJuFOQ2u/FIrfWBAPM8kWFpXyun0ewUvTyXxI=
|
||||
SIZE (gtkpod-1.0.0.tar.gz) = 1899869
|
||||
|
12
audio/gtkpod/patches/patch-scripts_gtkpod-convert-common_sh
Normal file
12
audio/gtkpod/patches/patch-scripts_gtkpod-convert-common_sh
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-scripts_gtkpod-convert-common_sh,v 1.1 2011/11/15 15:43:52 mpi Exp $
|
||||
--- scripts/gtkpod-convert-common.sh Sun Nov 13 19:05:33 2011
|
||||
+++ scripts/gtkpod-convert-common.sh Sun Nov 13 19:05:45 2011
|
||||
@@ -90,7 +90,7 @@
|
||||
case "$filetype" in
|
||||
flac) decoder="flac" ; options="-d -c --" ;;
|
||||
oga|ogg|ogv|ogx)
|
||||
- decoder="oggdec" ; options="--output - --" ;;
|
||||
+ decoder="oggdec" ; options="-Q --output - --" ;;
|
||||
m4a) decoder="faad" ; options="-o -" ;;
|
||||
wav) decoder="" ;;
|
||||
*) exit 4 ;;
|
12
audio/gtkpod/patches/patch-src_Makefile_in
Normal file
12
audio/gtkpod/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1 2011/11/15 15:43:52 mpi Exp $
|
||||
--- src/Makefile.in Sun Nov 13 17:32:12 2011
|
||||
+++ src/Makefile.in Sun Nov 13 17:33:08 2011
|
||||
@@ -282,7 +282,7 @@
|
||||
rb_rating_helper.c rb_rating_helper.h \
|
||||
rb_cell_renderer_rating.c rb_cell_renderer_rating.h
|
||||
|
||||
-gtkpod_LDADD = $(LIBS) -lm $(INTLLIBS) -ldl @LIBOBJS@
|
||||
+gtkpod_LDADD = $(LIBS) -lm $(INTLLIBS) @LIBOBJS@
|
||||
EXTRA_DIST = getopt.h
|
||||
CLEANFILES = date_parser.c date_parser2.c
|
||||
all: all-am
|
0
audio/gtkpod/patches/patch-src_Makefile_in.orig
Normal file
0
audio/gtkpod/patches/patch-src_Makefile_in.orig
Normal file
28
audio/gtkpod/patches/patch-src_mp4file_c
Normal file
28
audio/gtkpod/patches/patch-src_mp4file_c
Normal file
@ -0,0 +1,28 @@
|
||||
$OpenBSD: patch-src_mp4file_c,v 1.1 2011/11/15 15:43:52 mpi Exp $
|
||||
--- src/mp4file.c Sun Nov 13 17:27:50 2011
|
||||
+++ src/mp4file.c Sun Nov 13 17:47:00 2011
|
||||
@@ -35,6 +35,10 @@
|
||||
# include <endian.h> /* for be32toh () */
|
||||
#endif
|
||||
|
||||
+#ifdef __OpenBSD__
|
||||
+#define be32toh betoh32
|
||||
+#endif
|
||||
+
|
||||
#include "charset.h"
|
||||
#include "itdb.h"
|
||||
#include "misc.h"
|
||||
@@ -375,11 +379,11 @@
|
||||
|
||||
void mp4_init()
|
||||
{
|
||||
- mp4v2_handle = dlopen("libmp4v2.so.1", RTLD_LAZY);
|
||||
+ mp4v2_handle = dlopen("libmp4v2.so", RTLD_LAZY);
|
||||
|
||||
if (!mp4v2_handle)
|
||||
{
|
||||
- mp4v2_handle = dlopen("libmp4v2.so.0", RTLD_LAZY);
|
||||
+ mp4v2_handle = dlopen("libmp4v2.so", RTLD_LAZY);
|
||||
|
||||
if (!mp4v2_handle)
|
||||
{
|
0
audio/gtkpod/patches/patch-src_mp4file_c.orig
Normal file
0
audio/gtkpod/patches/patch-src_mp4file_c.orig
Normal file
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.10 2009/12/22 15:43:15 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.11 2011/11/15 15:43:52 mpi Exp $
|
||||
@bin bin/gtkpod
|
||||
@man man/man1/gtkpod.1
|
||||
share/applications/gtkpod.desktop
|
||||
@ -119,6 +119,7 @@ share/icons/hicolor/64x64/apps/gtkpod.png
|
||||
share/icons/hicolor/scalable/
|
||||
share/icons/hicolor/scalable/apps/
|
||||
share/icons/hicolor/scalable/apps/gtkpod.svg
|
||||
share/locale/ca/LC_MESSAGES/gtkpod.mo
|
||||
share/locale/de/LC_MESSAGES/gtkpod.mo
|
||||
share/locale/es/LC_MESSAGES/gtkpod.mo
|
||||
share/locale/fr/LC_MESSAGES/gtkpod.mo
|
||||
|
Loading…
Reference in New Issue
Block a user