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

46 lines
1.4 KiB
Bash

# Copyright 2009 Daniel Mierswa <impulze@impulze.org>
# Distributed under the terms of the GNU General Public License v2
require multilib gnome.org
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://live.gnome.org/${PN^}"
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_PREPARE_PATCHES=( "${FILES}"/${PNV}-three-way-button-fix.patch )
DEFAULT_SRC_COMPILE_PARAMS=( prefix=/usr libdir=/usr/$(get_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
}