forked from ports/contrib
qiv: new maintainer. update to 2.3.2.
This commit is contained in:
parent
38186fee3e
commit
e36378d0e7
@ -1,2 +1 @@
|
||||
820f97fa101ccd2b59936720e800a112 Makefile.patch
|
||||
f692f665ad429f13c732156351420850 qiv-2.2.3.tgz
|
||||
e64dd2cbd49f31264f60012e0138549b qiv-2.3.2.tgz
|
||||
|
@ -1,6 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF33csHweylFBaa/qKM6CoxfPA6X6Lus3NqDZpJFbUOUamizMvQ8jrzhSnNGB2qdmuJjodFjwfpemfLO+gJdtz5gk=
|
||||
SHA256 (Pkgfile) = c0a5e3b79477661b6da15100ffd1601bf927ac49c59bf114a6f2e787761c8c62
|
||||
RWSagIOpLGJF3w7EnXOBdla3J6qGoJjy3zee5/0hUYNiYkO/61mhnGscbXwqb8VO4iOsyjUr8hI89ePsKJkbZQIuAMYcI8J5RAY=
|
||||
SHA256 (Pkgfile) = 06ef381e8dbeaf6fadf3e9643de025976348f1919356c615c3afd9b5be825f27
|
||||
SHA256 (.footprint) = 5a19c52fa346d924787748668c20d87b45f78efcd10dcd18e91a2fe57da73a9a
|
||||
SHA256 (qiv-2.2.3.tgz) = 9f445a0e52948f71c946da18633068389a1583edb28efe1933043f0a90baad6a
|
||||
SHA256 (Makefile.patch) = f31e8b9b8c3a832cde5833ee375c639025b3c6bbbefd1944e7d3894e9fab4fd0
|
||||
SHA256 (qiv-2.3.2.tgz) = 48e0a088a0d5cf5fac2314a60b3aed62c4913e792627f64f03986865ad7080d5
|
||||
|
@ -1,39 +0,0 @@
|
||||
--- Makefile.orig 2010-08-30 22:58:36.000000000 +0200
|
||||
+++ Makefile 2010-08-30 23:02:12.000000000 +0200
|
||||
@@ -3,8 +3,10 @@
|
||||
# User Options
|
||||
#######################################################################
|
||||
|
||||
+DESTDIR =
|
||||
+
|
||||
# Directory where qiv will be installed under.
|
||||
-PREFIX = /usr/local
|
||||
+PREFIX = /usr
|
||||
|
||||
# Font to use for statusbar in fullscreen mode
|
||||
STATUSBAR_FONT = "fixed"
|
||||
@@ -83,7 +85,7 @@
|
||||
endif
|
||||
|
||||
ifdef GTD_XINERAMA
|
||||
-LIBS += -L/usr/X11R6/lib -lXinerama
|
||||
+LIBS += -L/usr/lib/X11 -lXinerama
|
||||
endif
|
||||
|
||||
ifdef MAGIC
|
||||
@@ -127,13 +129,7 @@
|
||||
|
||||
install: $(PROGRAM)
|
||||
@echo "Installing QIV..."
|
||||
- install -s -m 0755 $(PROGRAM) $(PREFIX)/bin
|
||||
- install -m 0644 $(PROGRAM).1 $(PREFIX)/man/man1
|
||||
- $(COMPRESS_PROG) $(PREFIX)/man/man1/$(PROGRAM).1
|
||||
- @if ./qiv -f ./intro.jpg ; \
|
||||
- then echo "-- Test Passed --" ; \
|
||||
- else echo "-- Test Failed --" ; \
|
||||
- fi
|
||||
- @echo -ne "\nDont forget to look into the \"qiv-command\" file and install it!\n-> cp qiv-command.example /usr/local/bin/qiv-command\n\n"
|
||||
+ install -D -m 0755 $(PROGRAM) $(DESTDIR)/$(PREFIX)/bin/$(PROGRAM)
|
||||
+ install -D -m 0644 $(PROGRAM).1 $(DESTDIR)/$(PREFIX)/man/man1/$(PROGRAM).1
|
||||
|
||||
# the end... ;-)
|
16
qiv/Pkgfile
16
qiv/Pkgfile
@ -1,18 +1,18 @@
|
||||
# Description: Very small and pretty fast gdk/Imlib2 image viewer
|
||||
# URL: http://spiegl.de/qiv/
|
||||
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
||||
# Packager: Juergen Daubert, juergen dot daubert at t-online dot de
|
||||
# Depends on: imlib2 gtk
|
||||
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
||||
# Depends on: imlib2 gtk lcms2 libexif
|
||||
|
||||
name=qiv
|
||||
version=2.2.3
|
||||
version=2.3.2
|
||||
release=1
|
||||
source=(http://spiegl.de/qiv/download/$name-$version.tgz \
|
||||
Makefile.patch)
|
||||
source=(http://spiegl.de/qiv/download/$name-$version.tgz)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
patch -p0 -i $SRC/Makefile.patch
|
||||
sed -i -e 's,)/man/,)/share/man/,' \
|
||||
-e '/qiv -f/,+4d' Makefile
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
make COMPRESS_PROG="/bin/true" PREFIX=$PKG/usr install
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user