Import libgexiv2 0.2.1, needed by an upcoming shotwell port:
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the basic features of Exiv2 available to GNOME applications. ok ajacoutot@ jasper@
This commit is contained in:
parent
8297d6d4fe
commit
1e50e9947e
31
graphics/libgexiv2/Makefile
Normal file
31
graphics/libgexiv2/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/10/24 22:29:50 landry Exp $
|
||||
|
||||
COMMENT= GObject wrapper around exiv2
|
||||
CATEGORIES= graphics
|
||||
DISTNAME= libgexiv2-0.2.1
|
||||
|
||||
SHARED_LIBS += gexiv2 0.0 # .0.0
|
||||
|
||||
# GPLv2
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
HOMEPAGE= http://trac.yorba.org/wiki/gexiv2
|
||||
MASTER_SITES= http://yorba.org/download/gexiv2/0.2/
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
LIB_DEPENDS = :exiv2->=0.19:graphics/exiv2 \
|
||||
::devel/glib2
|
||||
|
||||
WANTLIB = expat m pcre z exiv2 glib-2.0 gthread-2.0 gobject-2.0 stdc++
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
graphics/libgexiv2/distinfo
Normal file
5
graphics/libgexiv2/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (libgexiv2-0.2.1.tar.gz) = +IBwMSgbNCdrxq8lD4YFYQ==
|
||||
RMD160 (libgexiv2-0.2.1.tar.gz) = aP76ypK1/l1nkcmN4JD/Ou3+UbI=
|
||||
SHA1 (libgexiv2-0.2.1.tar.gz) = 9CZ/8qt/n8A9HwExw4jpMdKfeq0=
|
||||
SHA256 (libgexiv2-0.2.1.tar.gz) = dhls0FyAaZXsdFB8HwwTroZR5dh57Sw3S+r/38XjIRw=
|
||||
SIZE (libgexiv2-0.2.1.tar.gz) = 29594
|
38
graphics/libgexiv2/patches/patch-Makefile
Normal file
38
graphics/libgexiv2/patches/patch-Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2010/10/24 22:29:50 landry Exp $
|
||||
--- Makefile.orig Sat Aug 21 01:07:07 2010
|
||||
+++ Makefile Mon Sep 6 21:45:03 2010
|
||||
@@ -134,7 +134,7 @@ vapi: $(VAPI_FILE)
|
||||
.PHONY: install
|
||||
install:
|
||||
@mkdir -p $(DESTDIR)$(PREFIX)/$(LIB)
|
||||
- libtool --mode=install $(INSTALL_PROGRAM) $(LIBRARY).la $(DESTDIR)$(PREFIX)/$(LIB)
|
||||
+ ${LIBTOOL} --mode=install $(INSTALL_PROGRAM) $(LIBRARY).la $(DESTDIR)$(PREFIX)/$(LIB)
|
||||
@mkdir -p $(DESTDIR)$(PREFIX)/include/$(PKGNAME)
|
||||
$(INSTALL_DATA) $(EXPANDED_INSTALLED_HEADER_FILES) $(DESTDIR)$(PREFIX)/include/$(PKGNAME)
|
||||
@mkdir -p $(DESTDIR)$(PREFIX)/$(LIB)/pkgconfig
|
||||
@@ -147,7 +147,7 @@ install-vapi:
|
||||
$(INSTALL_DATA) $(VAPI_FILE) $(DESTDIR)$(PREFIX)/share/vala/vapi
|
||||
|
||||
uninstall:
|
||||
- libtool --mode=uninstall rm -f $(DESTDIR)$(PREFIX)/$(LIB)/$(LIBRARY).la
|
||||
+ ${LIBTOOL} --mode=uninstall rm -f $(DESTDIR)$(PREFIX)/$(LIB)/$(LIBRARY).la
|
||||
rm -rf $(DESTDIR)$(PREFIX)/include/$(PKGNAME)
|
||||
rm -f $(DESTDIR)$(PREFIX)/$(LIB)/pkgconfig/$(PKGNAME).pc
|
||||
rm -f $(DESTDIR)$(PREFIX)/share/vala/vapi/$(PKGNAME).vapi
|
||||
@@ -158,13 +158,13 @@ $(VAPI_FILE): $(EXPANDED_VAPI_INPUT) $(DESTDIR_HEADER_
|
||||
vapigen --library=$(PKGNAME) --metadata=vapi/$(PKGNAME).metadata vapi/$(PKGNAME).gi
|
||||
|
||||
$(PC_FILE) : $(PC_INPUT) Makefile $(CONFIG_IN)
|
||||
- m4 '--define=_VERSION_=$(VERSION)' '--define=_PREFIX_=$(PREFIX)' $< > $@
|
||||
+ m4 '-D_VERSION_=$(VERSION)' '-D_PREFIX_=$(PREFIX)' $< > $@
|
||||
|
||||
$(EXPANDED_OBJ_FILES): $(BUILD_DIR)/%.o: gexiv2/%.cpp $(EXPANDED_HEADER_FILES) $(CONFIG_IN) Makefile
|
||||
@pkg-config --print-errors --exists '$(EXT_PKG_VERSIONS)'
|
||||
@mkdir -p $(BUILD_DIR)
|
||||
- libtool --mode=compile --tag=CC $(CXX) -c $(EXT_PKGS_CFLAGS) $(CFLAGS) -I. -o $@ $<
|
||||
+ ${LIBTOOL} --mode=compile --tag=CC $(CXX) -c $(EXT_PKGS_CFLAGS) $(CFLAGS) -I. -o $@ $<
|
||||
|
||||
$(LIBRARY_BIN): $(EXPANDED_OBJ_FILES)
|
||||
- libtool --mode=link --tag=CC $(CXX) -rpath $(PREFIX)/$(LIB) $(EXPANDED_LO_FILES) $(EXT_PKGS_LDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(LIBRARY_BIN)
|
||||
+ ${LIBTOOL} --mode=link --tag=CC $(CXX) -rpath $(PREFIX)/$(LIB) $(EXPANDED_LO_FILES) $(EXT_PKGS_LDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(LIBRARY_BIN)
|
||||
|
9
graphics/libgexiv2/patches/patch-configure
Normal file
9
graphics/libgexiv2/patches/patch-configure
Normal file
@ -0,0 +1,9 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2010/10/24 22:29:50 landry Exp $
|
||||
--- configure.orig Thu Jul 1 22:15:58 2010
|
||||
+++ configure Thu Jul 1 22:16:02 2010
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/bash
|
||||
+#!/bin/sh
|
||||
#
|
||||
# Copyright 2010 Yorba Foundation
|
||||
#
|
2
graphics/libgexiv2/pkg/DESCR
Normal file
2
graphics/libgexiv2/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes
|
||||
the basic features of Exiv2 available to GNOME applications.
|
2
graphics/libgexiv2/pkg/PFRAG.shared
Normal file
2
graphics/libgexiv2/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2010/10/24 22:29:50 landry Exp $
|
||||
@lib lib/libgexiv2.so.${LIBgexiv2_VERSION}
|
15
graphics/libgexiv2/pkg/PLIST
Normal file
15
graphics/libgexiv2/pkg/PLIST
Normal file
@ -0,0 +1,15 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/10/24 22:29:50 landry Exp $
|
||||
%%SHARED%%
|
||||
include/gexiv2/
|
||||
include/gexiv2/gexiv2-managed-stream.h
|
||||
include/gexiv2/gexiv2-metadata.h
|
||||
include/gexiv2/gexiv2-preview-image.h
|
||||
include/gexiv2/gexiv2-preview-properties.h
|
||||
include/gexiv2/gexiv2.h
|
||||
lib/libgexiv2.a
|
||||
lib/libgexiv2.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/gexiv2.pc
|
||||
share/vala/
|
||||
share/vala/vapi/
|
||||
share/vala/vapi/gexiv2.vapi
|
Loading…
Reference in New Issue
Block a user