the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: mp3info%type_pkg[-x11]
Version: 0.8.5a
Revision: 3
Maintainer: None
Type: -x11 (boolean)
BuildDepends: <<
(%type_raw[-x11] = -x11) atk1 (>= 1.20.0-1),
(%type_raw[-x11] = -x11) cairo (>= 1.6-1),
(%type_raw[-x11] = -x11) expat1,
fink (>= 0.24.12-1),
(%type_raw[-x11] = -x11) fontconfig2-dev (>= 2.4.1-1),
(%type_raw[-x11] = -x11) freetype219 (>= 2.3.5-1),
(%type_raw[-x11] = -x11) glib2-dev (>= 2.14.0-1),
(%type_raw[-x11] = -x11) glitz,
(%type_raw[-x11] = -x11) gtk+2-dev (>= 2.12.0-1),
(%type_raw[-x11] = -x11) libgettext3-dev,
(%type_raw[-x11] = -x11) libiconv-dev,
(%type_raw[-x11] = -x11) libpng3,
(%type_raw[-x11] = -x11) pango1-xft2-ft219-dev (>= 1.18.4-4),
(%type_raw[-x11] = -x11) pixman (>= 0.10.0-1),
(%type_raw[-x11] = -x11) x11-dev,
(%type_raw[-x11] = -x11) xft2-dev,
libncurses5
<<
Depends: <<
(%type_raw[-x11] = -x11) atk1-shlibs (>= 1.20.0-1),
(%type_raw[-x11] = -x11) glib2-shlibs (>= 2.14.0-1),
(%type_raw[-x11] = -x11) gtk+2-shlibs (>= 2.12.0-1),
(%type_raw[-x11] = -x11) libgettext3-shlibs,
(%type_raw[-x11] = -x11) libiconv,
(%type_raw[-x11] = -x11) pango1-xft2-ft219-shlibs (>= 1.18.4-4),
(%type_raw[-x11] = -x11) x11-shlibs,
libncurses5-shlibs
<<
Conflicts: mp3info, mp3info-x11
Replaces: mp3info, mp3info-x11
Source: ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/%{Ni}-%v.tgz
Source-MD5: cb7b619a10a40aaac2113b87bb2b2ea2
PatchFile: %{Ni}.patch
PatchFile-MD5: c3f37f2ef3020a56c6d875100dc260fb
CompileScript: <<
#!/bin/sh -ev
export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
make mp3info
make doc
if [ "%type_raw[-x11]" = "-x11" ]; then
make gmp3info
fi
<<
InstallScript: <<
#!/bin/sh -ev
mkdir -m0755 -p %i/bin %i/share/man/man1
make install-mp3info prefix=%i mandir=%i/share/man/man1
if [ "%type_raw[-x11]" = "-x11" ]; then
make install-gmp3info prefix=%i
fi
<<
DocFiles: ChangeLog INSTALL LICENSE README mp3info.txt
Description: Read and modify the id3 tags of mp3 files
DescPort: <<
No configuration file, so the Makefile is directly patched.
<<
DescDetail: <<
MP3Info is a little utility used to read and modify the ID3 tags of MP3 files.
MP3Info can also display various techincal aspects of an MP3 file including
playing time, bit-rate, sampling frequency and other attributes in a
pre-defined or user-specifiable output format.
<<
License: GPL
Homepage: http://ibiblio.org/mp3info/
<<
diff -Nurd -x'*~' mp3info-0.8.5a.orig/Makefile mp3info-0.8.5a/Makefile
--- mp3info-0.8.5a.orig/Makefile 2006-11-09 19:14:11.000000000 -0500
+++ mp3info-0.8.5a/Makefile 2006-12-19 12:32:48.000000000 -0500
@@ -52,7 +52,7 @@
doc: mp3info.txt
mp3info: $(OBJS)
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
gmp3info: $(XSRC) $(XOBJ)
$(CC) $(XSRC) $(CFLAGS) -o $@ $(XOBJ) `pkg-config --cflags --libs gtk+-2.0`
--- mp3info-0.8.5a/mp3info.h~ 2006-11-10 01:14:52.000000000 +0100
+++ mp3info-0.8.5a/mp3info.h 2007-11-16 08:04:25.000000000 +0100
@@ -39,6 +39,7 @@
#else
#include
#endif
+#include
#include
#include "mp3tech.h"
#include "textfunc.h"
Info2: <<
Package: mp3info%type_pkg[-x11]
Version: 0.8.5a
Revision: 3
Maintainer: None
Type: -x11 (boolean)
BuildDepends: <<
(%type_raw[-x11] = -x11) atk1 (>= 1.20.0-1),
(%type_raw[-x11] = -x11) cairo (>= 1.6-1),
(%type_raw[-x11] = -x11) expat1,
fink (>= 0.24.12-1),
(%type_raw[-x11] = -x11) fontconfig2-dev (>= 2.4.1-1),
(%type_raw[-x11] = -x11) freetype219 (>= 2.3.5-1),
(%type_raw[-x11] = -x11) glib2-dev (>= 2.14.0-1),
(%type_raw[-x11] = -x11) glitz,
(%type_raw[-x11] = -x11) gtk+2-dev (>= 2.12.0-1),
(%type_raw[-x11] = -x11) libgettext3-dev,
(%type_raw[-x11] = -x11) libiconv-dev,
(%type_raw[-x11] = -x11) libpng3,
(%type_raw[-x11] = -x11) pango1-xft2-ft219-dev (>= 1.18.4-4),
(%type_raw[-x11] = -x11) pixman (>= 0.10.0-1),
(%type_raw[-x11] = -x11) x11-dev,
(%type_raw[-x11] = -x11) xft2-dev,
libncurses5
<<
Depends: <<
(%type_raw[-x11] = -x11) atk1-shlibs (>= 1.20.0-1),
(%type_raw[-x11] = -x11) glib2-shlibs (>= 2.14.0-1),
(%type_raw[-x11] = -x11) gtk+2-shlibs (>= 2.12.0-1),
(%type_raw[-x11] = -x11) libgettext3-shlibs,
(%type_raw[-x11] = -x11) libiconv,
(%type_raw[-x11] = -x11) pango1-xft2-ft219-shlibs (>= 1.18.4-4),
(%type_raw[-x11] = -x11) x11-shlibs,
libncurses5-shlibs
<<
Conflicts: mp3info, mp3info-x11
Replaces: mp3info, mp3info-x11
Source: ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/%{Ni}-%v.tgz
Source-MD5: cb7b619a10a40aaac2113b87bb2b2ea2
PatchFile: %{Ni}.patch
PatchFile-MD5: c3f37f2ef3020a56c6d875100dc260fb
CompileScript: <<
#!/bin/sh -ev
export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH" FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
make mp3info
make doc
if [ "%type_raw[-x11]" = "-x11" ]; then
make gmp3info
fi
<<
InstallScript: <<
#!/bin/sh -ev
mkdir -m0755 -p %i/bin %i/share/man/man1
make install-mp3info prefix=%i mandir=%i/share/man/man1
if [ "%type_raw[-x11]" = "-x11" ]; then
make install-gmp3info prefix=%i
fi
<<
DocFiles: ChangeLog INSTALL LICENSE README mp3info.txt
Description: Read and modify the id3 tags of mp3 files
DescPort: <<
No configuration file, so the Makefile is directly patched.
<<
DescDetail: <<
MP3Info is a little utility used to read and modify the ID3 tags of MP3 files.
MP3Info can also display various techincal aspects of an MP3 file including
playing time, bit-rate, sampling frequency and other attributes in a
pre-defined or user-specifiable output format.
<<
License: GPL
Homepage: http://ibiblio.org/mp3info/
<<
diff -Nurd -x'*~' mp3info-0.8.5a.orig/Makefile mp3info-0.8.5a/Makefile
--- mp3info-0.8.5a.orig/Makefile 2006-11-09 19:14:11.000000000 -0500
+++ mp3info-0.8.5a/Makefile 2006-12-19 12:32:48.000000000 -0500
@@ -52,7 +52,7 @@
doc: mp3info.txt
mp3info: $(OBJS)
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
gmp3info: $(XSRC) $(XOBJ)
$(CC) $(XSRC) $(CFLAGS) -o $@ $(XOBJ) `pkg-config --cflags --libs gtk+-2.0`
--- mp3info-0.8.5a/mp3info.h~ 2006-11-10 01:14:52.000000000 +0100
+++ mp3info-0.8.5a/mp3info.h 2007-11-16 08:04:25.000000000 +0100
@@ -39,6 +39,7 @@
#else
#include
#endif
+#include
#include
#include "mp3tech.h"
#include "textfunc.h"