libraries/libmirage: Updated for version 1.4.0.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Niels Horn 2011-10-04 01:27:14 -05:00 committed by Robby Workman
parent d24217c1e1
commit f6bff3cfad
4 changed files with 8 additions and 51 deletions

View File

@ -3,7 +3,7 @@
# Slackware build script for libmirage
#
# Copyright 2008 Niklas "Nille" Åkerström
# Copyright 2010 Niels Horn
# Copyright 2010-2011 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,11 +23,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Maintained as of version 1.3.0 by Niels Horn <niels.horn@gmail.com>
# Revision date: 2010/11/20
# Revision date: 2011/09/23
PRGNAM=libmirage
VERSION=${VERSION:-1.3.0}
VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,10 +68,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+rw,go+r-w .
# Patch the parsers for three mime-types that conflict with the freedesktop
# standard included in Slackware
patch -p1 < $CWD/mimetypes.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -85,11 +80,6 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
# Remove some mime-types to avoid duplicates with freedesktop standards
for ext in cue iso toc; do
rm $PKG/usr/share/mime/packages/libmirage-image-$ext.xml
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp AUTHORS ChangeLog COPYING INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,10 +1,10 @@
PRGNAM="libmirage"
VERSION="1.3.0"
VERSION="1.4.0"
HOMEPAGE="http://cdemu.sourceforge.net/pkg_libmirage.php"
DOWNLOAD="http://downloads.sourceforge.net/cdemu/libmirage-1.3.0.tar.gz"
MD5SUM="a223f9fd648e194c72f3809fbb0de63d"
DOWNLOAD="http://downloads.sourceforge.net/cdemu/libmirage-1.4.0.tar.gz"
MD5SUM="cd6cc75e1b76a0ef72821b30168c94d9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Niels Horn"
EMAIL="niels.horn@gmail.com"
APPROVED="pprkut"
APPROVED="Erik Hanson"

View File

@ -1,33 +0,0 @@
--- libmirage-1.3.0_orig/src/parsers/image-iso/image-iso-parser.c 2010-05-28 14:43:59.000000000 -0300
+++ libmirage-1.3.0/src/parsers/image-iso/image-iso-parser.c 2010-10-31 09:36:45.000000000 -0200
@@ -312,7 +312,7 @@
"PARSER-ISO",
"ISO Image Parser",
"ISO images",
- "application/libmirage-iso"
+ "application/x-cd-image"
);
return;
--- libmirage-1.3.0_orig/src/parsers/image-toc/image-toc-parser.c 2010-05-28 14:43:58.000000000 -0300
+++ libmirage-1.3.0/src/parsers/image-toc/image-toc-parser.c 2010-10-31 09:56:38.000000000 -0200
@@ -1337,7 +1337,7 @@
"PARSER-TOC",
"TOC Image Parser",
"Cdrdao TOC files",
- "application/libmirage-toc"
+ "application/x-cdrdao-toc"
);
__mirage_parser_toc_init_regex_parser(MIRAGE_PARSER(instance));
--- libmirage-1.3.0_orig/src/parsers/image-cue/image-cue-parser.c 2010-05-28 14:43:55.000000000 -0300
+++ libmirage-1.3.0/src/parsers/image-cue/image-cue-parser.c 2010-10-31 09:58:34.000000000 -0200
@@ -1030,7 +1030,7 @@
"PARSER-CUE",
"CUE Image Parser",
"CUE images",
- "application/libmirage-cue"
+ "application/x-cue"
);
__mirage_parser_cue_init_regex_parser(MIRAGE_PARSER(instance));

View File

@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|----------------------------handy-ruler---------------------------|
|----------------------------handy-ruler-------------------------------|
libmirage: libMirage (cdrom image access library)
libmirage:
libmirage: libmirage aims to provide uniform access to the data stored