[Lunar-commits] <moonbase> thunar-thumbnailers: fix the BUILD

Samuel Verstraete elangelo at lunar-linux.org
Wed Jul 23 18:15:32 CEST 2008


commit 016db6198f77c9e5b9bf0f3a3dd8e0fd00ce2480
Author: Samuel Verstraete <elangelo at lunar-linux.org>
Date:   Wed Jul 23 18:15:32 2008 +0200

    thunar-thumbnailers: fix the BUILD
---
 xfce4/goodies/thunar-thumbnailers/BUILD   |    5 ++++-
 xfce4/goodies/thunar-thumbnailers/DEPENDS |    4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/xfce4/goodies/thunar-thumbnailers/BUILD b/xfce4/goodies/thunar-thumbnailers/BUILD
index 1776fd6..6c73c91 100644
--- a/xfce4/goodies/thunar-thumbnailers/BUILD
+++ b/xfce4/goodies/thunar-thumbnailers/BUILD
@@ -1,5 +1,8 @@
 (
-   [ -f /etc/profile.d/xfce4.rc ] && . /etc/profile.d/xfce4.rc
+
+   if in_depends $MODULE dcraw && in_depends $MODULE raw-thumbnailer ; then
+     OPTS+="--enable-raw";
+   fi &&
 
    # make sure proper PKG_CONFIG_PATH is set
    export PKG_CONFIG_PATH="${MODULE_PREFIX}/lib/pkgconfig:${PKG_CONFIG_PATH}" &&
diff --git a/xfce4/goodies/thunar-thumbnailers/DEPENDS b/xfce4/goodies/thunar-thumbnailers/DEPENDS
index 31e4a3f..79578dc 100644
--- a/xfce4/goodies/thunar-thumbnailers/DEPENDS
+++ b/xfce4/goodies/thunar-thumbnailers/DEPENDS
@@ -1,8 +1,8 @@
 depends Thunar
 depends ImageMagick
 
-optional_depends  "dcraw"  "--enable-raw"    ""  \
-                  "enables thumbnailing of raw images"
+optional_depends  "dcraw"  ""    ""  \
+                  "enables thumbnailing of raw images (required together with raw-thumbnailer)"
 optional_depends  "raw-thumbnailer"  ""    ""  \
                   "enables thumbnailing of raw images (required together with dcraw)"
 optional_depends  "grace"  "--enable-grace"  ""  \


More information about the Lunar-commits mailing list