Changeset - af866a4fb5fa
[Not reviewed]
0 2 1
Chel Sea (chain) - 11 years ago 2014-01-07 19:13:47
chain@rpgfiction.net
update libusb dependencies
3 files changed with 112 insertions and 3 deletions:
0 comments (0 inline, 0 general)
dev-libs/libconcord/Manifest
Show inline comments
 
AUX usbnet_headers_remove.patch 744 SHA256 8c070527d62952df4b5306dcbc33ff0ccfb736fa3a4124202a11c86a1fdd1215 SHA512 47f4ddab56d8348f9e7a788292a8661d59fe20578cd50eb9b3a88eba36b6873eb2038f67bb73a7d9c6e14ff868d0986eb4aa85bb6460836662c4b788db150b17 WHIRLPOOL 835aa7f52a12464583fd786b1868ec6325c3b42cb008b38fdfa218a2fd7ec5be1a4a81fca213ac203302af62d8de936cde9fac9933464d79fb39511823824bad
 
DIST concordance-1.0.tar.bz2 1119091 SHA256 f6f449e5cdf33207372d0e229e622b6107f227bfb476587abddc0b27c31eb65a SHA512 9ff3561d33e5d31bc324ece76da73174462f70e751a5f95a6c46832f74cf463dd03220311cfd9ff5e82dcafcaa8b39c9a306ff35aafdb1e36b9fff8f4f8736c7 WHIRLPOOL 66be048824760d2e0767dc8e463bc989dcba8c8f788ce2aa1169febf2dac611c923ee81fd7711f466444bff3643e502cb7eb5edc7c5d76bae5a4904cbd39754d
 
EBUILD libconcord-1.0.ebuild 1532 SHA256 a0169304b9964312a07500f24f5e8028928c06675c096240f4bc126bdb32ceea SHA512 22dbfcec29543d54f46a92d492f7ebcc0effa3b2bb0fc5b1b35d068f185122c5c2ffd0b7eb0c9700144d50acd097044a11bbd0f731bff2a396db1fbfdd4e02c8 WHIRLPOOL 260848dbf0f7cbdd2ec2dabede63c80db7d91c6a4f9fdcb4b3fdc4772fc9b33a68c9efe502d45f9a289dbda9e06b2274f5b83335a391782729a10cf1c641206e
 
EBUILD libconcord-1.0-r1.ebuild 1749 SHA256 738809494fffd6b38bea28aff4efd3c3c478263df29d32b477a9b444f90b06bf SHA512 000325e59e55c4280adaf87a825777f9432b277d8a52a0b50ce416039d96c872dd444f4937143f413c18eb75cd6c5aa31fc9ea1ed3d4a9e35e23a7d013ef48d9 WHIRLPOOL ceffc0102449b4583f532ac40bfd7bc5aaf940993d2ba0ea8988bdedf38e104dcc11d7627185fe43dace6ddafa10847f023398b19baf82738f6bec6774f21abf
 
EBUILD libconcord-1.0.ebuild 1748 SHA256 38c114fa086f7767b15ed8eaebd81c5fc71a1734c51dd1d4654470b9b7fe20a1 SHA512 8866bdf41c812d7dcfb9995fee93e3bf2ae06f60fa6d4d363d9b453944c899308f7b2d37e5204cd33ce411d7ed9dd34aff36927e5335afbe5b401d9da6125fac WHIRLPOOL 9209df2e698d58d98273900bb2d9ede7ea30f69b72f061ed2d1c36b29b8648b05a14c974b2e2213708b43008ed4c94bce678f22c18bbd3872e547a2da6589b9a
dev-libs/libconcord/libconcord-1.0-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2011 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
EAPI=4
 
PYTHON_DEPEND="*"
 
SUPPORT_PYTHON_ABIS="1"
 

	
 
inherit distutils perl-app
 

	
 
MY_PN="concordance"
 
MY_P="${MY_PN}-${PV}"
 

	
 
DESCRIPTION="Library for programming Logitech Harmony universal remote controls"
 
HOMEPAGE="http://phildev.net/concordance/"
 
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2"
 
LICENSE="GPL-3"
 
SLOT="0"
 
KEYWORDS="~amd64"
 
IUSE="debug +udev consolekit perl python +usbnet-headers"
 

	
 
DEPEND="virtual/libusb:0
 
		udev? ( sys-fs/udev )
 
		consolekit? ( sys-auth/consolekit )
 
		perl? ( virtual/perl-Module-Build
 
				dev-lang/swig )
 
"
 

	
 
RDEPEND="${DEPEND}"
 

	
 
S="${WORKDIR}/${MY_P}/libconcord"
 

	
 
src_prepare() {
 
	if ! use usbnet-headers; then
 
    	epatch "${FILESDIR}"/usbnet_headers_remove.patch
 
	fi
 
}
 

	
 
src_configure() {
 

	
 
	myconf="--sysconfdir=/lib"
 

	
 
	if use debug; then
 
		myconf="${myconf} CPPFLAGS=-D_DEBUG"
 
	fi
 

	
 
	econf ${myconf}
 
}
 

	
 
src_compile() {
 
	emake || die
 

	
 
	if use consolekit; then
 
		emake consolekit || die
 
	elif use udev; then
 
		emake udev || die
 
	fi
 

	
 
	if use perl; then
 
		cd "${S}/bindings/perl"
 
		swig -perl5 concord.i
 
		perl-app_src_configure
 
	fi
 

	
 
	if use python; then
 
		cd "${S}/bindings/python"
 
		distutils_src_compile
 
	fi
 
}
 

	
 
src_install() {
 

	
 
	dodoc ../{Changelog,CodingStyle,TODO,SubmittingPatches} README
 
	insinto /usr/share/doc/${P}/specs
 
	doins ../specs/*
 

	
 
	emake DESTDIR="${D}" install || die
 

	
 
	if use consolekit; then
 
		emake DESTDIR="${D}" install_consolekit || die
 
	elif use udev; then
 
		emake DESTDIR="${D}" install_udev || die
 
	fi
 

	
 
	if use perl; then
 
		cd bindings/perl
 
		emake DESTDIR="${D}" install || die
 
	fi
 

	
 
	if use python; then
 
		cd "${S}/bindings/python"
 
		distutils_src_install
 
	fi
 
}
dev-libs/libconcord/libconcord-1.0.ebuild
Show inline comments
 
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.bz2"
 
LICENSE="GPL-3"
 
SLOT="0"
 
KEYWORDS="~amd64"
 
IUSE="+udev consolekit perl python"
 
IUSE="debug +udev consolekit perl python +usbnet-headers"
 

	
 
DEPEND="dev-libs/libusb
 
		udev? ( sys-fs/udev )
 
@@ -30,8 +30,21 @@ RDEPEND="${DEPEND}"
 

	
 
S="${WORKDIR}/${MY_P}/libconcord"
 

	
 
src_prepare() {
 
	if ! use usbnet-headers; then
 
    	epatch "${FILESDIR}"/usbnet_headers_remove.patch
 
	fi
 
}
 

	
 
src_configure() {
 
	econf --sysconfdir=/lib
 

	
 
	myconf="--sysconfdir=/lib"
 

	
 
	if use debug; then
 
		myconf="${myconf} CPPFLAGS=-D_DEBUG"
 
	fi
 

	
 
	econf ${myconf}
 
}
 

	
 
src_compile() {
0 comments (0 inline, 0 general)