From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C613758975 for ; Sun, 31 Jan 2016 14:43:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1167321C0EA; Sun, 31 Jan 2016 14:43:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5048521C0E9 for ; Sun, 31 Jan 2016 14:43:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CE93340C89 for ; Sun, 31 Jan 2016 14:43:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE5588F5 for ; Sun, 31 Jan 2016 14:43:23 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1454178744.aa0c08bda954017b16c015fe1300b2f8fef1ebfd.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/flacon/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/flacon/flacon-9999.ebuild X-VCS-Directories: media-sound/flacon/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: aa0c08bda954017b16c015fe1300b2f8fef1ebfd X-VCS-Branch: master Date: Sun, 31 Jan 2016 14:43:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 23f4ca22-c5d0-4f28-804f-5892f78859ca X-Archives-Hash: d2a12f2c35ef4131dba74361264f5cc1 commit: aa0c08bda954017b16c015fe1300b2f8fef1ebfd Author: Ilya Tumaykin gmail com> AuthorDate: Sat Jan 30 16:00:37 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sat Jan 30 18:32:24 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa0c08bd media-sound/flacon: enable testing support in 9999 Package-Manager: portage-2.2.27 media-sound/flacon/flacon-9999.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/media-sound/flacon/flacon-9999.ebuild b/media-sound/flacon/flacon-9999.ebuild index 6470d31..62c6a2a 100644 --- a/media-sound/flacon/flacon-9999.ebuild +++ b/media-sound/flacon/flacon-9999.ebuild @@ -7,7 +7,7 @@ EAPI=5 # Ignore rudimentary et, uz@Latn, zh_TW translation(s) PLOCALES="cs_CZ cs de es_MX es fr gl hu it ja_JP lt nb pl_PL pl pt_BR pt_PT ro_RO ru sr tr uk zh_CN" -inherit cmake-utils fdo-mime gnome2-utils l10n git-r3 +inherit cmake-utils fdo-mime gnome2-utils l10n virtualx git-r3 DESCRIPTION="Extracts audio tracks from an audio CD image to separate tracks" HOMEPAGE="https://flacon.github.io/" @@ -16,7 +16,7 @@ EGIT_REPO_URI="git://github.com/${PN}/${PN}.git" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="" -IUSE="aac flac mac mp3 opus qt4 qt5 replaygain tta vorbis wavpack" +IUSE="aac flac mac mp3 opus qt4 qt5 replaygain test tta vorbis wavpack" COMMON_DEPEND=" dev-libs/uchardet @@ -70,10 +70,16 @@ src_configure() { local mycmakeargs=( -DUSE_QT4="$(usex qt4)" -DUSE_QT5="$(usex qt5)" + -DTEST_DATA_DIR="${S}/tests/data/" + -DBUILD_TESTS="$(usex test 'Yes')" ) cmake-utils_src_configure } +src_test() { + virtx "${BUILD_DIR}/tests/${PN}_test" +} + pkg_preinst() { gnome2_icon_savelist }