blob: 1f653c94fcc4f1c5441ae26c22846889caf958a2 (
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
|
# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor:
pkgname=fotowall
pkgver=0.9
pkgrel=2
pkgdesc="A creative tool that allows you to layout your photos or pictures in a personal way"
arch=('i686' 'x86_64')
url="http://www.enricoros.com/opensource/fotowall/"
license=('GPL2')
depends=('qt4' 'v4l-utils')
source=("http://fotowall.googlecode.com/files/Fotowall-${pkgver}.tar.bz2")
sha256sums=('e4d0c005d2cb1d7c09438bfc3098eadebc08946e4fbc0655b7fc8b046de3810d')
prepare() {
cd Fotowall-${pkgver}
# for hidden-file-or-dir warning
sed -i -e "s/\.build/build/" ${pkgname}.pro
# for v4l1 compatibility
sed -i -e 's/linux\/videodev.h/libv4l1-videodev.h/' 3rdparty/videocapture/VideoDevice.h
}
build() {
cd Fotowall-${pkgver}
qmake-qt4 PREFIX=/usr
make
}
package() {
cd Fotowall-${pkgver}
make INSTALL_ROOT="${pkgdir}/" install
}
|