summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-08-25 20:05:42 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-08-25 20:07:08 -0400
commite9645fb2393104aa920bec376a2fb8170445f416 (patch)
tree256b21142b9b6d4fed903bde7ad9850e8f279fc9 /dev-libs/hidapi
parentdev-python/bandit: fixing /etc install location for bug 558062 (diff)
downloadgentoo-e9645fb2393104aa920bec376a2fb8170445f416.tar.gz
gentoo-e9645fb2393104aa920bec376a2fb8170445f416.tar.bz2
gentoo-e9645fb2393104aa920bec376a2fb8170445f416.zip
dev-libs/hidapi: switch from USE=X to fox
Gentoo-Bug: 558744 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-libs/hidapi')
-rw-r--r--dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild8
-rw-r--r--dev-libs/hidapi/metadata.xml3
2 files changed, 7 insertions, 4 deletions
diff --git a/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild b/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild
index e90d5c172bb..dd690ab0c40 100644
--- a/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild
+++ b/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild
@@ -25,19 +25,19 @@ SRC_URI="https://github.com/signal11/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}
LICENSE="|| ( BSD GPL-3 HIDAPI )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc static-libs X"
+IUSE="doc fox static-libs"
RDEPEND="virtual/libusb:1[${MULTILIB_USEDEP}]
virtual/libudev:0[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
virtual/pkgconfig
- X? ( x11-libs/fox )"
+ fox? ( x11-libs/fox )"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
src_prepare() {
- if ! use X; then
+ if ! use fox; then
sed -i -e 's:PKG_CHECK_MODULES(\[fox\], .*):AC_SUBST(fox_CFLAGS,[ ])AC_SUBST(fox_LIBS,[ ]):' configure.ac || die
fi
@@ -53,7 +53,7 @@ src_prepare() {
multilib_src_configure() {
local myeconfargs=(
- $(multilib_native_use_enable X testgui)
+ $(multilib_native_use_enable fox testgui)
)
autotools-utils_src_configure
diff --git a/dev-libs/hidapi/metadata.xml b/dev-libs/hidapi/metadata.xml
index 58cf9a572af..af7f94530f1 100644
--- a/dev-libs/hidapi/metadata.xml
+++ b/dev-libs/hidapi/metadata.xml
@@ -10,6 +10,9 @@
<email>luke-jr+gentoobugs@utopios.org</email>
<name>Luke Dashjr</name>
</maintainer>
+ <use>
+ <flag name="fox">Build a x11-libs/fox GUI</flag>
+ </use>
<upstream>
<remote-id type="github">signal11/hidapi</remote-id>
</upstream>