blob: b7ff3c56933bc62f1dc2a967d95dc8afbb0b7884 (
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
58
59
60
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=cinnamon-session
pkgver=2.0.6
pkgrel=2
pkgdesc="The Cinnamon Session Handler"
url="https://github.com/linuxmint/cinnamon-session"
arch="all"
license="GPL"
depends="cinnamon-desktop"
depends_dev="cinnamon-settings-daemon-dev libnotify-dev dbus-dev gtk+3.0-dev
json-glib-dev librsvg-dev libgnome-keyring-dev libsm-dev upower-dev mesa-dev"
makedepends="$depends_dev automake autoconf libtool xtrans gnome-common intltool"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-session/archive/${pkgver}.tar.gz
remove_sessionmigration.patch
timeout.patch"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./autogen.sh \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="caa16ec2cd89cc5466e4131ab096a3bd cinnamon-session-2.0.6.tar.gz
e93d23d7a474dd741f3bb3035104d0a3 remove_sessionmigration.patch
920db4d6afa20761339cd617cd6592f3 timeout.patch"
sha256sums="831a63f31bd5c0f5dcaee833d3e43e50e8c9d540cbe931e71b8e0f79ede14567 cinnamon-session-2.0.6.tar.gz
f3c0bc1a3debfaa686230f19ba371b08dd4645064d90ead0c34f465c7d416736 remove_sessionmigration.patch
ef421a14814c7858490b3a806568ab4ec8a0dc21d390e94f801771c1261bb24a timeout.patch"
sha512sums="2a17dc620d05b51bc2701f90dc95fb7413f4822e4641ede6eaefbc1397a9454bcbf0bdfc44866f4a629ff0a3ecb7452515488113ef4a2fe362ab29021212aa27 cinnamon-session-2.0.6.tar.gz
a51ded6f09ac9efac2b201289635c63ae7ea0d1435ba50c60a33b9518752bb8e09ee76bf9c65a8b631cabd285e68cb8a5c7a8c56b5d98970611c0a6110872423 remove_sessionmigration.patch
dc74cb6e98755e7ddad5e53a4be291ecd034d0537347ca1b436c6027beeefa711951a759057dc97200459a34cb0951340c7d7023e61422ea7cc7c42c33455ea7 timeout.patch"
|