blueness    15/03/03 23:32:53

  Modified:             ChangeLog
  Added:                hidapi-0.8.0_rc1_p20140719.ebuild
  Log:
  Version bump
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0xF52D4BBA)

Revision  Changes    Path
1.11                 dev-libs/hidapi/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/ChangeLog?rev=1.11&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/ChangeLog?rev=1.11&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/hidapi/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog   30 Nov 2014 09:30:55 -0000      1.10
+++ ChangeLog   3 Mar 2015 23:32:53 -0000       1.11
@@ -1,6 +1,12 @@
 # ChangeLog for dev-libs/hidapi
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/ChangeLog,v 1.10 2014/11/30 
09:30:55 mgorny Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/hidapi/ChangeLog,v 1.11 2015/03/03 
23:32:53 blueness Exp $
+
+*hidapi-0.8.0_rc1_p20140719 (03 Mar 2015)
+
+  03 Mar 2015; Anthony G. Basile <[email protected]>
+  +hidapi-0.8.0_rc1_p20140719.ebuild:
+  Version bump
 
   30 Nov 2014; Michał Górny <[email protected]>
   hidapi-0.8.0_rc1_p20140201.ebuild:



1.1                  dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild?rev=1.1&content-type=text/plain

Index: hidapi-0.8.0_rc1_p20140719.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719.ebuild,v 1.1 
2015/03/03 23:32:53 blueness Exp $

EAPI=5

AUTOTOOLS_AUTORECONF=yes

inherit eutils versionator autotools-multilib #git-2

# If github is desired, the following may be used.
#EGIT_REPO_URI="git://github.com/signal11/hidapi.git"
#EGIT_BRANCH="master"
EGIT_COMMIT="d17db57b9d4354752e0af42f5f33007a42ef2906"

# S is only needed for the debian_package
S=${WORKDIR}/${PN}-${DEBIAN_PV}

DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices"
HOMEPAGE="http://www.signal11.us/oss/hidapi/";
SRC_URI="https://github.com/signal11/${PN}/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tgz"
# When 0.8.0 is officially available the following link should be used.
#SRC_URI="mirror://github/signal11/${PN}/${P}.zip"

LICENSE="|| ( BSD GPL-3 HIDAPI )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="doc static-libs X"

RDEPEND="virtual/libusb:1[${MULTILIB_USEDEP}]
        virtual/libudev:0[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
        doc? ( app-doc/doxygen )
        virtual/pkgconfig
        X? ( x11-libs/fox )"

S="${WORKDIR}/${PN}-${EGIT_COMMIT}"

src_prepare() {
        if ! use X; then
                sed -i -e 's:PKG_CHECK_MODULES(\[fox\], 
.*):AC_SUBST(fox_CFLAGS,[ ])AC_SUBST(fox_LIBS,[ ]):' configure.ac || die
        fi

        # Fix bashisms in the configure.ac file.
        sed -i -e 's:\([A-Z_]\+\)+="\(.*\)":\1="${\1}\2":g' \
                -e 's:\([A-Z_]\+\)+=`\(.*\)`:\1="${\1}\2":g' configure.ac || die

        # Portage handles license texts itself, no need to install them
        sed -i -e 's/LICENSE.*/ # blank/' Makefile.am || die

        autotools-multilib_src_prepare
}

multilib_src_configure() {
        local myeconfargs=(
                $(multilib_native_use_enable X testgui)
        )

        autotools-utils_src_configure
}

src_compile() {
        autotools-multilib_src_compile

        if use doc; then
                doxygen doxygen/Doxyfile || die
        fi
}

src_install() {
        autotools-multilib_src_install

        if use doc; then
                dohtml -r html/.
        fi
}




Reply via email to