wok-next annotate gucharmap3/receipt @ rev 20435

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