wok-next view granite/receipt @ rev 20859

Update ALSA stack (1.1.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 13:35:43 2018 +0300 (2018-06-27)
parents c78b38baa3f0
children 90755b4facb0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="granite"
4 VERSION="0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library that extends GTK+"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL3"
9 WEB_SITE="https://github.com/elementary/granite"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/elementary/granite/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake vala gtk+3-dev libgee-dev gobject-introspection-dev \
15 gettext"
16 SPLIT="granite-demo granite granite-dev"
18 COOKOPTS="!menus"
20 compile_rules() {
21 mkdir build
22 cd build
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 .. &&
26 make &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 granite-demo)
33 copy granite-demo granite-demo.desktop
34 CAT="development|demo"
35 DEPENDS="glib granite gtk+3 libgee"
36 ;;
37 granite)
38 copy @std *.svg *.mo @rm
39 DEPENDS="cairo gdk-pixbuf glib gtk+3 libgee pango"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="granite cairo-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
44 libgee-dev"
45 ;;
46 esac
47 }