mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
added community/gimp-nufraw
This commit is contained in:
parent
7948cedca2
commit
c7b57012de
1 changed files with 51 additions and 0 deletions
51
community/gimp-nufraw/PKGBUILD
Normal file
51
community/gimp-nufraw/PKGBUILD
Normal file
|
@ -0,0 +1,51 @@
|
|||
# $Id$
|
||||
# Maintainer: Christian Hesse <mail@eworm.de>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - add -fsigned-char to CXXFLAGS
|
||||
|
||||
pkgname=gimp-nufraw
|
||||
pkgver=0.42
|
||||
pkgrel=1
|
||||
pkgdesc='Converter for raw files; utility and GIMP plugin'
|
||||
url='https://sourceforge.net/projects/nufraw/'
|
||||
arch=('x86_64')
|
||||
license=('GPL')
|
||||
depends=('gtkimageview' 'exiv2' 'lcms' 'desktop-file-utils' 'cfitsio' 'lensfun')
|
||||
makedepends=('gimp')
|
||||
conflicts=('gimp-ufraw')
|
||||
replaces=('gimp-ufraw')
|
||||
optdepends=('gimp: to use the gimp import plugin for raw images')
|
||||
source=("https://downloads.sourceforge.net/nufraw/nufraw-$pkgver.tar.gz")
|
||||
sha256sums=('ddfb592a183618c802e990211f6efce75f4801a7708ecc364666f53af25c9f90')
|
||||
|
||||
prepare() {
|
||||
cd "nufraw-$pkgver"
|
||||
|
||||
autoreconf -fi
|
||||
|
||||
mv nufraw.desktop{.desktop,}
|
||||
chmod +x generate_schemas.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "nufraw-$pkgver"
|
||||
|
||||
CXXFLAGS+=" -fsigned-char"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-extras \
|
||||
--enable-mime \
|
||||
--enable-openmp \
|
||||
--with-gimp \
|
||||
--with-cinepaint \
|
||||
--enable-contrast
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C "nufraw-$pkgver" DESTDIR="$pkgdir" install
|
||||
rm -f "$pkgdir/usr/bin/dcraw"
|
||||
}
|
||||
|
Loading…
Reference in a new issue