Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/dfu-util/
Date: Thu, 25 Aug 2016 19:04:29
Message-Id: 1472151846.fd058e831e7e754bfa424ca309cb52ef64647eb8.radhermit@gentoo
1 commit: fd058e831e7e754bfa424ca309cb52ef64647eb8
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 25 19:02:40 2016 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 25 19:04:06 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd058e83
7
8 app-mobilephone/dfu-util: version bump to 0.9
9
10 app-mobilephone/dfu-util/Manifest | 1 +
11 app-mobilephone/dfu-util/dfu-util-0.9.ebuild | 28 +++++++++++++++++++++++++++
12 app-mobilephone/dfu-util/dfu-util-9999.ebuild | 24 +++++++----------------
13 app-mobilephone/dfu-util/metadata.xml | 5 ++++-
14 4 files changed, 40 insertions(+), 18 deletions(-)
15
16 diff --git a/app-mobilephone/dfu-util/Manifest b/app-mobilephone/dfu-util/Manifest
17 index e979d4f..a5049ac 100644
18 --- a/app-mobilephone/dfu-util/Manifest
19 +++ b/app-mobilephone/dfu-util/Manifest
20 @@ -1 +1,2 @@
21 DIST dfu-util-0.7.tar.gz 125356 SHA256 f52a2a5489fbf9f3204a6ada05e0b47ee322e19d81c712e0c58a332d80ec3eab SHA512 df5227655d2d39e8c0323e87a97e38e86481b12ef91528045e8a5a2009a3fe3b6f09acfed8612756c3895253075dbe958aeaf1c9c50c2266efeb22b88d3842e2 WHIRLPOOL 9c74edd96e8f85dd86e0c8a5862a1277cd74b0821b73823f1ecc86e046fdc5cc6ac5fa45cd67de6a65d73ad935b58d0c4109362c2650ac233e18d6727e0ac944
22 +DIST dfu-util-0.9.tar.gz 138397 SHA256 36428c6a6cb3088cad5a3592933385253da5f29f2effa61518ee5991ea38f833 SHA512 caa7148b7a9004e2b1f7bc4f1a26b48abfe311743bc0eeed1ab57459910371affc39b6fe7e74b7cac6ca9de41a9901b7a970253ca92d7d66d5008f8a11d2c952 WHIRLPOOL 5eff75635854bb77ffde458b7c6c3dbe7d366207eaf340a5a6a8db132d34ca86d545c87a38c97c1c9bf109c2218b2499aa4c3dce374da5def952a39c7d893391
23
24 diff --git a/app-mobilephone/dfu-util/dfu-util-0.9.ebuild b/app-mobilephone/dfu-util/dfu-util-0.9.ebuild
25 new file mode 100644
26 index 00000000..d5ccd44
27 --- /dev/null
28 +++ b/app-mobilephone/dfu-util/dfu-util-0.9.ebuild
29 @@ -0,0 +1,28 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +
36 +if [[ ${PV} == "9999" ]] ; then
37 + EGIT_REPO_URI="git://git.code.sf.net/p/dfu-util/dfu-util"
38 + inherit autotools git-r3
39 +else
40 + SRC_URI="http://dfu-util.gnumonks.org/releases/${P}.tar.gz"
41 + KEYWORDS="~amd64 ~x86"
42 +fi
43 +
44 +DESCRIPTION="implements the Host (PC) side of the USB DFU (Device Firmware Upgrade) protocol"
45 +HOMEPAGE="http://dfu-util.sourceforge.net/"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +
50 +RDEPEND="virtual/libusb:1"
51 +DEPEND="${RDEPEND}
52 + virtual/pkgconfig"
53 +
54 +src_prepare() {
55 + default
56 + [[ ${PV} == "9999" ]] && eautoreconf
57 +}
58
59 diff --git a/app-mobilephone/dfu-util/dfu-util-9999.ebuild b/app-mobilephone/dfu-util/dfu-util-9999.ebuild
60 index 50df59c..d5ccd44 100644
61 --- a/app-mobilephone/dfu-util/dfu-util-9999.ebuild
62 +++ b/app-mobilephone/dfu-util/dfu-util-9999.ebuild
63 @@ -1,38 +1,28 @@
64 -# Copyright 1999-2013 Gentoo Foundation
65 +# Copyright 1999-2016 Gentoo Foundation
66 # Distributed under the terms of the GNU General Public License v2
67 # $Id$
68
69 -EAPI=5
70 +EAPI=6
71
72 if [[ ${PV} == "9999" ]] ; then
73 - EGIT_REPO_URI="git://git.openezx.org/dfu-util.git"
74 - inherit autotools git-2
75 - SRC_URI=""
76 - #KEYWORDS=""
77 + EGIT_REPO_URI="git://git.code.sf.net/p/dfu-util/dfu-util"
78 + inherit autotools git-r3
79 else
80 SRC_URI="http://dfu-util.gnumonks.org/releases/${P}.tar.gz"
81 KEYWORDS="~amd64 ~x86"
82 fi
83
84 DESCRIPTION="implements the Host (PC) side of the USB DFU (Device Firmware Upgrade) protocol"
85 -HOMEPAGE="http://wiki.openmoko.org/wiki/Dfu-util"
86 +HOMEPAGE="http://dfu-util.sourceforge.net/"
87
88 LICENSE="GPL-2"
89 SLOT="0"
90 -IUSE=""
91
92 RDEPEND="virtual/libusb:1"
93 DEPEND="${RDEPEND}
94 virtual/pkgconfig"
95
96 src_prepare() {
97 - if [[ ${PV} == "9999" ]] ; then
98 - eautoreconf
99 - fi
100 - sed -i '/^bin_PROGRAMS/s:dfu-util_static[^ ]*::' src/Makefile.in
101 -}
102 -
103 -src_install() {
104 - emake DESTDIR="${D}" install || die
105 - dodoc ChangeLog README TODO
106 + default
107 + [[ ${PV} == "9999" ]] && eautoreconf
108 }
109
110 diff --git a/app-mobilephone/dfu-util/metadata.xml b/app-mobilephone/dfu-util/metadata.xml
111 index 6f49eba..e248196 100644
112 --- a/app-mobilephone/dfu-util/metadata.xml
113 +++ b/app-mobilephone/dfu-util/metadata.xml
114 @@ -1,5 +1,8 @@
115 <?xml version="1.0" encoding="UTF-8"?>
116 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
117 <pkgmetadata>
118 -<!-- maintainer-needed -->
119 + <maintainer type="project">
120 + <email>embedded@g.o</email>
121 + <name>Embedded Gentoo</name>
122 + </maintainer>
123 </pkgmetadata>