wok-next view gtk3-engine-solidity/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 40fab26c175d
children f48456621a9d
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="http://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 gtk+3-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="gtk+3"
35 TAGS="gtk3"
36 }