blob: 4f253aa563b2b951e1fdc9ff1ff7fdadd4f06866 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: Nate Simon <njsimon10@gmail.com>
pkgname=pix
pkgver=2.8.9
pkgrel=1
pkgdesc="Image viewer and browser based on gthumb. X-Apps Project."
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('desktop-file-utils' 'librsvg' 'clutter-gtk'
'gst-plugins-base-libs' 'gsettings-desktop-schemas' 'libwebp' 'webkit2gtk')
makedepends=('gnome-common' 'intltool' 'itstool'
'liboauth' 'libchamplain' 'exiv2')
optdepends=('gstreamer: Video support'
'exiv2: Embedded metadata support'
'libjpeg-turbo: Jpeg writing support'
'libtiff: Tiff writing support'
'dcraw: Support for RAW photos'
'brasero: Burn discs'
'liboauth: Web albums'
'libchamplain: Map Viewer')
provides=($pkgname)
conflicts=('pix-git')
url='https://github.com/linuxmint/pix'
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('72a74055f6ba347046bca5c515c44d26')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
gnome-autogen.sh --prefix="/usr" \
--localstatedir="/var" \
--libexecdir="/usr/lib/${pkgname}" \
-disable-static
# Copy some files that ended up in the wrong directory.
# This doesn't happen on mint. See this github issue:
# https://github.com/linuxmint/pix/issues/7
if [ -d 'tests/$(top_srcdir)/' ]
then
cp 'tests/$(top_srcdir)/pix/.deps/dom_test-dom.Po' "pix/.deps/"
cp 'tests/$(top_srcdir)/pix/.deps/glib_utils_test-glib-utils.Po' "pix/.deps/"
cp 'tests/$(top_srcdir)/pix/.deps/gsignature_test-gsignature.Po' "pix/.deps/"
cp 'tests/$(top_srcdir)/pix/.deps/oauth_test-gsignature.Po' "pix/.deps/"
fi
make
}
package(){
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="$pkgdir/" install
}
|