summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Nowak2015-10-11 21:47:43 +0200
committerMarcin Nowak2015-10-11 21:54:52 +0200
commitce4afbddfdf620a452eeeb3cc002b5ed0319a65b (patch)
tree08443ed31a927dcae5c9c81faeafd8c340ca99ad
downloadaur-ce4afbddfdf620a452eeeb3cc002b5ed0319a65b.tar.gz
initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore3
-rw-r--r--Makefile4
-rw-r--r--PKGBUILD31
-rw-r--r--ufraw.thumbnailer4
5 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2ce514ce503
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = ufraw-thumbnailer
+ pkgdesc = Provides thumbnailer definition to generate thumbnails for RAW images in file managers like Nautilus or Nemo
+ pkgver = 0.1
+ pkgrel = 1
+ arch = any
+ license = GPL
+ depends = gimp-ufraw
+ source = Makefile
+ source = ufraw.thumbnailer
+ md5sums = bb7b2a9549d5d53f21305258e2fcf262
+ md5sums = c0d26f4831b118288eb5a4a4c66d55fa
+
+pkgname = ufraw-thumbnailer
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..39ef4347112
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/pkg
+/src
+/*.tar.xz
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000000..37d1e866fcd
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+
+install :
+ mkdir -p $(DESTDIR)usr/share/thumbnailers
+ cp ufraw.thumbnailer $(DESTDIR)usr/share/thumbnailers/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..72f3733cc35
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Marcin Nowak <marcin.j.nowak@gmail.com>
+
+pkgname=ufraw-thumbnailer
+pkgver=0.1
+pkgrel=1
+epoch=
+pkgdesc="Provides thumbnailer definition to generate thumbnails for RAW images in file managers like Nautilus or Nemo"
+arch=('any')
+url=""
+license=('GPL')
+groups=()
+depends=('gimp-ufraw')
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("Makefile" "ufraw.thumbnailer")
+noextract=()
+md5sums=('bb7b2a9549d5d53f21305258e2fcf262'
+ 'c0d26f4831b118288eb5a4a4c66d55fa')
+validpgpkeys=()
+
+package() {
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/ufraw.thumbnailer b/ufraw.thumbnailer
new file mode 100644
index 00000000000..5d95b9d3e9f
--- /dev/null
+++ b/ufraw.thumbnailer
@@ -0,0 +1,4 @@
+[Thumbnailer Entry]
+TryExec=ufraw-batch
+Exec=ufraw-batch --silent --size %s --out-type=png --noexif --output=%o --overwrite --embedded-image %i
+MimeType=image/x-canon-cr2;image/x-canon-crw;image/x-minolta-mrw;image/x-nikon-nef;image/x-pentax-pef;image/x-panasonic-rw2;image/x-panasonic-raw2;image/x-samsung-srw;image/x-olympus-orf