wok-next annotate gnome-commander/receipt @ rev 20554

Fix build brasero, clutter-gtk, freetype-infinality, gnome-commander
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 06 16:49:09 2018 +0300 (2018-04-06)
parents 757d032c55c7
children a5d7827e08cf
rev   line source
al@20464 1 # SliTaz package receipt v2.
pascal@13534 2
pascal@13534 3 PACKAGE="gnome-commander"
al@20554 4 VERSION="1.8.0"
pascal@13534 5 CATEGORY="utilities"
pascal@13534 6 SHORT_DESC="A full featured, twin-panel file manager for Gnome2"
pascal@13534 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 8 LICENSE="GPL2"
al@20464 9 WEB_SITE="http://gcmd.github.io/"
al@20464 10
pascal@13534 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@20554 12 #WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
al@20554 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@13534 14
al@20534 15 BUILD_DEPENDS="gtk+-dev glib-dev gnome-doc-utils libgnome-dev \
al@14209 16 libgnomeui-dev gdk-pixbuf-dev cairo-dev pango-dev atk-dev libbonoboui-dev \
al@14209 17 libgnomecanvas-dev libart_lgpl-dev xorg-libXinerama-dev xorg-libXrandr-dev \
al@14209 18 xorg-dev libgnome-keyring-dev libgcrypt-dev rarian-dev rarian exiv2-dev \
pascal@20005 19 taglib-dev libgsf-dev poppler-dev chmlib-dev lcms2-dev flex python-dev \
al@20554 20 util-linux-uuid-dev libunique-dev intltool itstool"
al@20464 21 SPLIT="gnome-commander-i18n"
al@14209 22
al@20464 23 compile_rules() {
al@20554 24
al@14209 25 ./configure \
al@14209 26 --disable-scrollkeeper \
al@14209 27 $CONFIGURE_ARGS &&
al@20554 28 # update-mime-database is useless in DESTDIR install, and although it is
al@20554 29 # disabled, install-data-hook produces non-zero return code from `make install`
al@20554 30 # and cooker believe package is broken; here we remove install-data-hook call
al@20554 31 sed -i '/install-data-hook$/d' data/Makefile &&
al@14209 32 make &&
al@20554 33 make \
al@20554 34 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
al@20554 35 install
pascal@13534 36 }
pascal@13534 37
al@20464 38 genpkg_rules() {
al@20464 39 case $PACKAGE in
al@20464 40 gnome-commander)
al@20464 41 copy @std
al@20464 42 DEPENDS="exiv2 lcms libgnome-keyring libgnomeui libgsf poppler \
al@20464 43 taglib libunique"
al@20464 44 ;;
al@20464 45 gnome-commander-i18n)
al@20464 46 copy locale/
al@20464 47 CAT="localization|language files"
al@20464 48 ;;
al@20464 49 esac
pascal@13534 50 }