2d3c0ae2f2
Notes: - INSTALL seems to list wrong dependencies. See https://bugzilla.gnome.org/show_bug.cgi?id=643473 And http://git.gnome.org/browse/meld/commit/?id=beb2de34b2483882b981bf04282cea2f29c52a43 - freshmeat and sourceforge don't seem to be updated (not even 1.4.0 is there), so those got removed. DOWNLOADS is used from gnome.org.exlib - tests are broken, so they got RESTRICTed. make check just runs some QA on the sources (checks for tabs) and tries to modify some files, which are not even there make test needs X and fails because files are missing
46 lines
1.4 KiB
Bash
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
|
|
}
|
|
|