wok annotate gucharmap3/receipt @ rev 22781
updated freetype and freetype-dev (2.6.4 -> 2.10.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 26 09:26:49 2020 +0100 (2020-01-26) |
parents | c04d1e0a8c6f |
children | 6831608a1b2a |
rev | line source |
---|---|
al@19198 | 1 # SliTaz package receipt. |
al@19198 | 2 |
al@19198 | 3 PACKAGE="gucharmap3" |
al@19198 | 4 VERSION="3.18.2" |
al@19198 | 5 CATEGORY="utilities" |
al@19198 | 6 SHORT_DESC="GNOME Character Map (GTK+3)" |
al@19198 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19198 | 8 LICENSE="GPL3" |
al@19198 | 9 TARBALL="gucharmap-$VERSION.tar.xz" |
al@19198 | 10 WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap" |
al@19198 | 11 WGET_URL="$GNOME_MIRROR/gucharmap/${VERSION%.*}/$TARBALL" |
al@19198 | 12 |
al@19198 | 13 DEPENDS="gtk+3 xorg-libXdamage" |
pascal@20591 | 14 BUILD_DEPENDS="automake gtk-doc libtool itstool libxml2-tools glib-dev file \ |
al@19198 | 15 libgio-dev gtk+3-dev desktop-file-utils-extra gobject-introspection-dev vala" |
al@19198 | 16 SPLIT="gucharmap3-i18n" |
al@19198 | 17 |
al@19198 | 18 # Rules to configure and make the package. |
al@19198 | 19 compile_rules() |
al@19198 | 20 { |
al@19198 | 21 # Idea is to have two nonintersecting packages: |
al@19198 | 22 # gucharmap (for GTK+2) and gucharmap3 (for GTK+3) |
al@19198 | 23 sed -i '/AC_INIT/s|gucharmap|&3|3; s|GETTEXT_PACKAGE=.*$|&3|' \ |
al@19198 | 24 $src/configure.ac |
al@19198 | 25 # Disable stuff we never had |
al@19198 | 26 sed -i '/GNOME_DEBUG_CHECK/d; /YELP/d' $src/configure.ac |
al@19198 | 27 sed -i '/YELP/d' $src/help/Makefile.am |
al@19198 | 28 |
al@19198 | 29 ./autogen.sh --program-suffix=3 |
al@19198 | 30 make && make install |
al@19198 | 31 |
al@19198 | 32 find $install/usr/bin -type l -delete |
al@19198 | 33 mv $install/usr/share/applications/gucharmap.desktop \ |
al@19198 | 34 $install/usr/share/applications/gucharmap3.desktop |
al@19198 | 35 sed -i 's|Exec=gucharmap|&3|' \ |
al@19198 | 36 $install/usr/share/applications/gucharmap3.desktop |
al@19198 | 37 } |
al@19198 | 38 |
al@19198 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19198 | 40 genpkg_rules() |
al@19198 | 41 { |
al@19198 | 42 mkdir -p $fs/usr/lib $fs/usr/share/applications |
al@19198 | 43 cp -a $install/usr/bin $fs/usr |
al@19198 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@19198 | 45 cp -a $install/usr/share/applications $fs/usr/share |
al@19198 | 46 cp -a $install/usr/share/glib-2.0 $fs/usr/share |
al@19198 | 47 } |