Skip to content

Commit

Permalink
gnome-extra/assogiate: depend on C++11 enabled packages and use it as…
Browse files Browse the repository at this point in the history
… std, bug #569142

Package-Manager: portage-2.2.26
  • Loading branch information
EvaSDK committed Dec 23, 2015
1 parent 358960f commit 6bcd3e0
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions gnome-extra/assogiate/assogiate-0.2.1-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"
GCONF_DEBUG="yes"

inherit autotools eutils flag-o-matic gnome2

DESCRIPTION="assoGiate is an editor of the file types database for GNOME"
HOMEPAGE="http://www.kdau.com/projects/assogiate"
SRC_URI="http://www.kdau.com/files/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""

RDEPEND="
>=dev-libs/glib-2.8:2
>=dev-cpp/glibmm-2.46:2
>=dev-cpp/gtkmm-2.24.4-r3:2.4
>=dev-cpp/libxmlpp-2.40
>=dev-cpp/gnome-vfsmm-2.26.0-r1
"
DEPEND="${RDEPEND}
app-text/gnome-doc-utils
dev-util/intltool
virtual/pkgconfig
"

DOCS="AUTHORS ChangeLog NEWS README TODO"

src_prepare() {
# Fix desktop file
epatch "${FILESDIR}"/${P}-desktop.patch

# Fix compilation, bug #374911
epatch "${FILESDIR}"/${P}-typedialog.patch

# Fix building with glib-2.32, bug #417765
epatch "${FILESDIR}"/${P}-glib-2.32.patch

# Fix building with gcc-4.7
epatch "${FILESDIR}"/${P}-gcc-4.7.patch

eautoreconf
gnome2_src_prepare

append-cxxflags -std=c++11
}

0 comments on commit 6bcd3e0

Please sign in to comment.