diff options
Diffstat (limited to 'media-libs/lensfun/lensfun-0.3.2-r1.ebuild')
-rw-r--r-- | media-libs/lensfun/lensfun-0.3.2-r1.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild index 51d279fe342a..c0ff54fac3f0 100644 --- a/media-libs/lensfun/lensfun-0.3.2-r1.ebuild +++ b/media-libs/lensfun/lensfun-0.3.2-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="LGPL-3 CC-BY-SA-3.0" # See README for reasoning. SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" IUSE="doc cpu_flags_x86_sse cpu_flags_x86_sse2 test" RDEPEND="${PYTHON_DEPS} @@ -45,3 +45,10 @@ src_configure() { cmake-utils_src_configure } + +src_test() { + mkdir -p "${T}/db/lensfun" || die + cp data/db/* "${T}/db/lensfun/" || die + + XDG_DATA_HOME="${T}/db" cmake-utils_src_test +} |