2009-06-23 02:25:11 +02:00
|
|
|
# Copyright 2009 Daniel Mierswa <impulze@impulze.org>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2012-10-20 23:04:35 +02:00
|
|
|
require gtk-icon-cache gnome.org [ suffix=.tar.xz ] freedesktop-desktop freedesktop-mime
|
2014-02-23 10:03:12 +01:00
|
|
|
require gsettings setup-py [ blacklist=3 import=setuptools multibuild=false ]
|
2009-06-23 02:25:11 +02:00
|
|
|
|
|
|
|
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."
|
2012-02-06 00:56:56 +01:00
|
|
|
HOMEPAGE="http://meldmerge.org/"
|
2009-06-23 02:25:11 +02:00
|
|
|
|
|
|
|
LICENCES="GPL-2"
|
|
|
|
SLOT="0"
|
2010-01-02 05:41:35 +01:00
|
|
|
PLATFORMS="~amd64 ~x86"
|
2014-02-23 10:03:12 +01:00
|
|
|
MYOPTIONS="
|
|
|
|
( linguas: ar bg ca ca@valencia cs da de dz el en_CA en_GB eo es eu fi fr gl hu id it ja ko nb
|
|
|
|
ne nl oc pa pl pt pt_BR ro ru rw sl sq sr sr@latin sv tr vi zh_CN zh_TW )
|
|
|
|
"
|
2009-06-23 02:25:11 +02:00
|
|
|
|
2011-03-08 14:10:04 +01:00
|
|
|
# make check doesn't run tests but some upstream QA
|
|
|
|
# make test needs X and fails because files are missing
|
|
|
|
RESTRICT="test"
|
2009-06-23 02:25:11 +02:00
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
build+run:
|
2014-02-23 10:03:12 +01:00
|
|
|
sys-devel/gettext
|
2009-06-23 02:25:11 +02:00
|
|
|
run:
|
2014-02-23 10:03:12 +01:00
|
|
|
dev-libs/glib:2[>=2.34]
|
|
|
|
gnome-bindings/pygobject:3[>=3.8]
|
|
|
|
gnome-desktop/gtksourceview:3.0[>=3.6][gobject-introspection]
|
|
|
|
x11-libs/gtk+:3[>=3.6][gobject-introspection]
|
2010-08-09 00:15:37 +02:00
|
|
|
"
|
2009-06-23 02:25:11 +02:00
|
|
|
|
2014-02-23 10:03:12 +01:00
|
|
|
src_prepare() {
|
|
|
|
# Help is broken
|
|
|
|
sed -e '/"build_help"/d' -i setup.py
|
2009-06-23 02:25:11 +02:00
|
|
|
default
|
|
|
|
}
|
2009-07-29 12:55:27 +02:00
|
|
|
|
2012-10-20 23:04:35 +02:00
|
|
|
pkg_postinst() {
|
|
|
|
freedesktop-desktop_pkg_postinst
|
|
|
|
freedesktop-mime_pkg_postinst
|
|
|
|
gtk-icon-cache_pkg_postinst
|
2014-02-23 10:03:12 +01:00
|
|
|
gsettings_pkg_postinst
|
2012-10-20 23:04:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
freedesktop-desktop_pkg_postrm
|
|
|
|
freedesktop-mime_pkg_postrm
|
|
|
|
gtk-icon-cache_pkg_postrm
|
2014-02-23 10:03:12 +01:00
|
|
|
gsettings_pkg_postrm
|
2012-10-20 23:04:35 +02:00
|
|
|
}
|
|
|
|
|