exherbo-impulze/packages/dev-util/meld/meld-1.5.3.exheres-0

45 lines
1.3 KiB
Bash

# Copyright 2009 Daniel Mierswa <impulze@impulze.org>
# Distributed under the terms of the GNU General Public License v2
require gtk-icon-cache gnome.org [ suffix=.tar.xz ]
SUMMARY="A visual diff and merge tool."
DESCRIPTION="Rich featured diff and merge tool that integrates with most
version control systems. It's also possible to do 3-way diffs."
HOMEPAGE="http://meldmerge.org/"
LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
# make check doesn't run tests but some upstream QA
# make test needs X and fails because files are missing
RESTRICT="test"
DEPENDENCIES="
build:
sys-devel/gettext
build+run:
dev-lang/python[>=2.5]
run:
gnome-bindings/pygobject:2[>=2.16.0]
gnome-bindings/pygtk[>=2.14]
suggestion:
gnome-bindings/pygtksourceview:2[>=2.4]
[[ description = [ syntax highlighting, line numbers, etc. ] ]]
"
# scrollkeeper can probably build the documentation
# LANGUAGES="" prevents building help/ subdir, which seems to need that
DEFAULT_SRC_COMPILE_PARAMS=( prefix=/usr libdir=/usr/${LIBDIR} docdir_='$(docdir)'/${PNVR} LANGUAGES="" )
DEFAULT_SRC_INSTALL_PARAMS=( ${DEFAULT_SRC_COMPILE_PARAMS[@]} )
src_install() {
default
edo rmdir "${IMAGE}"/usr/share/gnome/{help/meld,help,} \
"${IMAGE}"/usr/share/pixmaps
}