libraries/libexif-gtk: Initial import

This commit is contained in:
Michael Wagner 2010-05-11 14:56:18 +02:00 committed by Michiel van Wessem
parent 756b4079cf
commit e2818d807b
4 changed files with 103 additions and 0 deletions

View File

@ -0,0 +1,9 @@
Libexif-gtk (provides GTK+ widgets to display/edit EXIF tags)
Most digital cameras produce EXIF files, which are JPEG files with
extra tags that contain information about the image. The EXIF library
allows you to parse an EXIF file and read the data from those tags.
This library provides GTK+ widgets to display/edit EXIF tags.
Homepage: http://libexif.sourceforge.net

View File

@ -0,0 +1,75 @@
#!/bin/sh
#
# Slackware Build Script for libexif-gtk
# (C) 2007 Michael Wagner <lapinours@web.de>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# Modified by the SlackBuild Project
PRGNAM=libexif-gtk
VERSION=0.3.5
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="ABOUT-NLS COPYING ChangeLog INSTALL"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--disable-static \
--disable-rpath \
--program-prefix="" \
$ARCH-slackware-linux \
|| exit 1
make || exit 1
make install-strip DESTDIR=$PKG || exit 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
chmod 644 $PKG/usr/doc/$PRGNAM-$PVERSION/*
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View File

@ -0,0 +1,8 @@
PRGNAM="libexif-gtk"
VERSION="0.3.5"
HOMEPAGE="http://libexif.sourceforge.net"
DOWNLOAD="http://dl.sourceforge.net/libexif/libexif-gtk-0.3.5.tar.bz2"
MD5SUM="0ecdba41f3e0f20a11b8555bd2dd2a07"
MAINTAINER="Michael Wagner"
EMAIL="lapinours@web.de"
APPROVED="BP{k}"

View File

@ -0,0 +1,11 @@
libexif-gtk: libexif-gtk (provides GTK+ widgets to display/edit EXIF tags)
libexif-gtk:
libexif-gtk: Most digital cameras produce EXIF files, which are JPEG files with
libexif-gtk: extra tags that contain information about the image. The EXIF
libexif-gtk: library allows you to parse an EXIF file and read the data from .
libexif-gtk: those tags.
libexif-gtk:
libexif-gtk: This library provides GTK+ widgets to display/edit EXIF tags.
libexif-gtk:
libexif-gtk: Homepage: http://libexif.sourceforge.net
libexif-gtk: