blob: b905efd4d18dd5a05f731f2e276f083b27d9faaa (
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
54
55
|
# Maintainer: Salamandar <felix@piedallu.me>
pkgname=livewallpaper
pkgdesc="OpenGL powered animated wallpapers with configuration utility, autostart, and application indicator."
url="https://launchpad.net/livewallpaper"
license=('GPL3')
pkgver=0.5.0
pkgrel=3
arch=('x86_64' 'i686')
makedepends=('intltool' 'xcftools' 'cmake' 'vala')
depends=(
'libpeas' 'upower' 'libappindicator-gtk3' 'gobject-introspection'
'python' 'python-cairo' 'python-opengl' 'glew'
)
source=(
'https://launchpad.net/livewallpaper/0.5/0.5.0/+download/livewallpaper-0.5.0.tar.gz'
'livewallpaper.patch'
)
sha256sums=(
'f4ce97a721015b135eb675915eb306c1fb256e680d480fe13e4fe6ca81c7e04e'
'09945264707109bbebca632b40a7607b3ef882fe2fadd15d235f18ef0763a279'
)
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Patches:
# * Please use python3
# * Fix ref
# * Fix old API (fromstring/tostring to frombytes/tobytes)
# * CMake : remove debian dir
# * CMake : disable doc generation (needs gtk-doc)
patch -p1 -l -i "${srcdir}/livewallpaper.patch"
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
rm -rf "build"
mkdir "build"
pushd "build" >/dev/null
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make DESTDIR="${pkgdir}"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
pushd "build" >/dev/null
make DESTDIR="${pkgdir}" install
}
|