wok-next view gucharmap3/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | e70c0b9c5adf |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gucharmap3"
4 VERSION="10.0.0"
5 CATEGORY="utilities"
6 SHORT_DESC="GNOME Character Map for GTK+3"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://wiki.gnome.org/Apps/Gucharmap"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/gucharmap.html"
12 TARBALL="gucharmap-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gucharmap/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="gtk-doc automake gettext libtool gobject-introspection-dev \
16 intltool yelp-tools itstool gtk+3-dev desktop-file-utils-extra wget \
17 coreutils-file-summarize unzip vala"
18 SPLIT="gucharmap3-i18n gucharmap-gnome gucharmap3 gucharmap3-dev"
20 compile_rules() {
21 ./autogen.sh \
22 --enable-vala \
23 --with-unicode-data=download \
24 --program-suffix=3 &&
25 make && make install || return 1
27 find $install/usr/bin -type l -delete
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-i18n)
33 copy *.mo
34 CAT="localization|language files"
35 ;;
36 *-gnome)
37 copy help/ metainfo/
38 CAT="gnome|GNOME integration"
39 ;;
40 gucharmap3)
41 copy @std
42 remove_already_packed
43 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \
44 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
45 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
46 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
47 xorg-pixman zlib"
48 ;;
49 *-dev)
50 copy @dev
51 DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \
52 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
53 harfbuzz-dev libffi-dev libpng16-dev libxml2-dev pango-dev \
54 pcre-dev util-linux-blkid-dev util-linux-mount-dev \
55 util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
56 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
57 xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
58 ;;
59 esac
60 }