35 lines
748 B
Bash
35 lines
748 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=4
|
|
|
|
MY_MAJOR_VERSION=12.10
|
|
|
|
DESCRIPTION="Run executables under a new DBus session for testing"
|
|
HOMEPAGE="https://launchpad.net/dbus-test-runner"
|
|
SRC_URI="https://launchpad.net/${PN}/${MY_MAJOR_VERSION}/${PV}/+download/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
|
|
|
|
IUSE="test"
|
|
|
|
RDEPEND="
|
|
>=dev-libs/dbus-glib-0.98
|
|
>=dev-libs/glib-2.34:2
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
dev-util/intltool
|
|
test? ( dev-util/bustle )
|
|
"
|
|
|
|
src_prepare() {
|
|
# Drop -Werror usage
|
|
sed -e 's/-Werror//' \
|
|
-i libdbustest/Makefile.{am,in} \
|
|
-i src/Makefile.{am,in} \
|
|
-i tests/Makefile.{am,in} \
|
|
|| die
|
|
}
|