wok-next view gtk3-engine-solidity/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtk3-engine-solidity"
4 VERSION="0.4.1"
5 CATEGORY="customization"
6 SHORT_DESC="Solidity GTK+3 engine and themes"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://www.gnome-look.org/content/show.php/solidity+gtk3+engine?content=142331"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://gnome-look.org/CONTENT/content-files/142331-solidity-$VERSION.tar.bz2"
14 BUILD_DEPENDS="vala glib-dev gtk3-dev"
16 compile_rules() {
17 cd $src/source/gtk3
18 valac --pkg=gmodule-2.0 --pkg=gtk+-3.0 -C solidity.vala
19 gcc -shared -fPIC \
20 $(pkg-config --cflags --libs glib-2.0 gmodule-2.0 gtk+-3.0) \
21 -o libsolidity.so solidity.c || return 1
23 mkdir -p \
24 $install/usr/lib/gtk-3.0/3.0.0/theming-engines \
25 $install/usr/share
26 cp -a $src/source/gtk3/libsolidity.so \
27 $install/usr/lib/gtk-3.0/3.0.0/theming-engines
28 cp -a $src/themes $install/usr/share
29 find $install -name 'gtk-2.0' -delete
30 }
32 genpkg_rules() {
33 copy @std
34 DEPENDS="gtk3"
35 TAGS="gtk3"
36 }