104eade9d8
Signed-off-by: Marc-Antoine Perennou <keruspe@exherbo.org>
53 lines
1.5 KiB
Bash
53 lines
1.5 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 ] freedesktop-desktop freedesktop-mime
|
|
require gsettings setup-py [ blacklist=3 import=setuptools multibuild=false ]
|
|
|
|
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="
|
|
( 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 )
|
|
"
|
|
|
|
# make check doesn't run tests but some upstream QA
|
|
# make test needs X and fails because files are missing
|
|
RESTRICT="test"
|
|
|
|
DEPENDENCIES="
|
|
build+run:
|
|
sys-devel/gettext
|
|
run:
|
|
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]
|
|
"
|
|
|
|
src_prepare() {
|
|
# Help is broken
|
|
sed -e '/"build_help"/d' -i setup.py
|
|
default
|
|
}
|
|
|
|
pkg_postinst() {
|
|
freedesktop-desktop_pkg_postinst
|
|
freedesktop-mime_pkg_postinst
|
|
gtk-icon-cache_pkg_postinst
|
|
gsettings_pkg_postinst
|
|
}
|
|
|
|
pkg_postrm() {
|
|
freedesktop-desktop_pkg_postrm
|
|
freedesktop-mime_pkg_postrm
|
|
gtk-icon-cache_pkg_postrm
|
|
gsettings_pkg_postrm
|
|
}
|
|
|