blob: cefb9a27bebdb680a39e4c63bb87ad43760f22b6 (
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
56
57
|
# Contributor: taotieren <admin@taotieren.com>
pkgname=fantascene-dynamic-wallpaper-git
srcname=fantascene-dynamic-wallpaper-git
pkgver=2.1.1.r0.gb768a34
pkgrel=1
pkgdesc=" dynamic wallpaper. A very nice animated wallpaper on X11 systems.Support Movie and Web animated wallpaper."
arch=($CARCH)
url="https://github.com/dependon/fantascene-dynamic-wallpaper"
license=('GPL-3.0-only')
provides=(${pkgname})
conflicts=(${pkgname} ${pkgname%-git})
_qt=qt6
depends=(
glib2
glibc
libstdc++
libgcc
libglvnd
libx11
libxcb
libxext
xcb-util-wm
mpv
${_qt}-charts
${_qt}-base
${_qt}-multimedia
)
makedepends=(
git
${_qt}-tools
${_qt}-webengine
pkgconfig
make
)
source=("${pkgname%-git}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
git -C "${srcdir}/${pkgname%-git}" clean -dfx
}
build() {
cd "${srcdir}/${pkgname%-git}"
qmake6 ./${pkgname%-git}.pro -spec linux-g++ CONFIG+=qtquickcompiler -o build/
make -C ./build
}
package() {
cd "${srcdir}/${pkgname%-git}"
make INSTALL_ROOT="${pkgdir}" -C ./build install
}
|