aboutsummaryrefslogtreecommitdiff
path: root/graphics/viewnior
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/viewnior')
-rw-r--r--graphics/viewnior/viewnior-1.3-appdata.patch.xzbin0 -> 728 bytes
-rw-r--r--graphics/viewnior/viewnior-1.3-desktopfile.patch.xzbin0 -> 528 bytes
-rw-r--r--graphics/viewnior/viewnior-1.3-makefiles.patch.xzbin0 -> 432 bytes
-rwxr-xr-xgraphics/viewnior/viewnior.build62
4 files changed, 62 insertions, 0 deletions
diff --git a/graphics/viewnior/viewnior-1.3-appdata.patch.xz b/graphics/viewnior/viewnior-1.3-appdata.patch.xz
new file mode 100644
index 0000000..b71b620
--- /dev/null
+++ b/graphics/viewnior/viewnior-1.3-appdata.patch.xz
Binary files differ
diff --git a/graphics/viewnior/viewnior-1.3-desktopfile.patch.xz b/graphics/viewnior/viewnior-1.3-desktopfile.patch.xz
new file mode 100644
index 0000000..e8ee2bb
--- /dev/null
+++ b/graphics/viewnior/viewnior-1.3-desktopfile.patch.xz
Binary files differ
diff --git a/graphics/viewnior/viewnior-1.3-makefiles.patch.xz b/graphics/viewnior/viewnior-1.3-makefiles.patch.xz
new file mode 100644
index 0000000..084fe51
--- /dev/null
+++ b/graphics/viewnior/viewnior-1.3-makefiles.patch.xz
Binary files differ
diff --git a/graphics/viewnior/viewnior.build b/graphics/viewnior/viewnior.build
new file mode 100755
index 0000000..3fd2c23
--- /dev/null
+++ b/graphics/viewnior/viewnior.build
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=viewnior
+VERSION=1.3
+BUILD=2
+DEPENDS=('gtk+ >= 2.24.14-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: viewnior (image viewer)
+${NAME}:
+${NAME}: A simple, fast and elegant image viewer. It's minimalistic interface
+${NAME}: allows more screenspace for your images. Features include:
+${NAME}:
+${NAME}: * Fullscreen & slideshow
+${NAME}: * Rotate, flip, save and delete images
+${NAME}: * Animation support
+${NAME}: * Browse only selected images
+${NAME}:
+${NAME}: Homepage: http://xsisqox.github.com/Viewnior
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://cloud.github.com/downloads/xsisqox/Viewnior/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL3"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --enable-debug=no \
+ --enable-shave=no \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+}