1 |
mgorny 14/11/30 14:59:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hamlib-1.2.15.3-r1.ebuild |
5 |
Log: |
6 |
Convert to python-single-r1. |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.79 media-libs/hamlib/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/ChangeLog?rev=1.79&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/ChangeLog?rev=1.79&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/ChangeLog?r1=1.78&r2=1.79 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v |
20 |
retrieving revision 1.78 |
21 |
retrieving revision 1.79 |
22 |
diff -u -r1.78 -r1.79 |
23 |
--- ChangeLog 22 Jan 2013 08:39:13 -0000 1.78 |
24 |
+++ ChangeLog 30 Nov 2014 14:59:29 -0000 1.79 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-libs/hamlib |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.78 2013/01/22 08:39:13 tomjbe Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/ChangeLog,v 1.79 2014/11/30 14:59:29 mgorny Exp $ |
31 |
+ |
32 |
+*hamlib-1.2.15.3-r1 (30 Nov 2014) |
33 |
+ |
34 |
+ 30 Nov 2014; Michał Górny <mgorny@g.o> +hamlib-1.2.15.3-r1.ebuild: |
35 |
+ Convert to python-single-r1. |
36 |
|
37 |
22 Jan 2013; Thomas Beierlein <tomjbe@g.o> hamlib-1.2.15.3.ebuild, |
38 |
+files/hamlib-1.2.15.3-configure.diff, -files/hamlib-bindings.diff: |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-libs/hamlib/hamlib-1.2.15.3-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/hamlib-1.2.15.3-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/hamlib/hamlib-1.2.15.3-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: hamlib-1.2.15.3-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/hamlib/hamlib-1.2.15.3-r1.ebuild,v 1.1 2014/11/30 14:59:29 mgorny Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
PYTHON_COMPAT=( python2_7 ) |
56 |
|
57 |
inherit autotools-utils eutils multilib python-single-r1 |
58 |
|
59 |
DESCRIPTION="Ham radio backend rig control libraries" |
60 |
HOMEPAGE="http://sourceforge.net/apps/mediawiki/hamlib" |
61 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
62 |
|
63 |
LICENSE="LGPL-2 GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
66 |
IUSE="doc python tcl" |
67 |
|
68 |
RESTRICT="test" |
69 |
|
70 |
RDEPEND=" |
71 |
=virtual/libusb-0* |
72 |
dev-libs/libxml2 |
73 |
python? ( ${PYTHON_DEPS} ) |
74 |
tcl? ( dev-lang/tcl )" |
75 |
|
76 |
DEPEND=" ${RDEPEND} |
77 |
virtual/pkgconfig |
78 |
dev-lang/swig |
79 |
>=sys-devel/libtool-2.2 |
80 |
doc? ( app-doc/doxygen )" |
81 |
|
82 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
83 |
|
84 |
DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO) |
85 |
|
86 |
pkg_setup() { |
87 |
use python && python-single-r1_pkg_setup |
88 |
} |
89 |
|
90 |
src_prepare() { |
91 |
# fix hardcoded libdir paths |
92 |
sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \ |
93 |
-e "s#fix}/include#fix}/include/hamlib#" \ |
94 |
hamlib.pc.in || die "sed failed" |
95 |
|
96 |
# make building of documentation compatible with autotools-utils |
97 |
sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed" |
98 |
|
99 |
# fix tcl lib path |
100 |
epatch "${FILESDIR}"/${PN}-1.2.11-bindings.diff |
101 |
|
102 |
# use CXXFLAGS for building c++ components (bug #453240) |
103 |
epatch "${FILESDIR}"/${P}-configure.diff |
104 |
|
105 |
eautoreconf |
106 |
} |
107 |
|
108 |
src_configure() { |
109 |
local myeconfargs=( |
110 |
--libdir=/usr/$(get_libdir)/hamlib |
111 |
--disable-static |
112 |
--with-rpc-backends |
113 |
--without-perl-binding |
114 |
$(use_with python python-binding) |
115 |
$(use_enable tcl tcl-binding) |
116 |
--disable-silent-rules |
117 |
) |
118 |
autotools-utils_src_configure |
119 |
} |
120 |
|
121 |
src_compile() { |
122 |
autotools-utils_src_compile |
123 |
use doc && autotools-utils_src_compile html |
124 |
} |
125 |
|
126 |
src_install() { |
127 |
use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/doc/html/") |
128 |
autotools-utils_src_install |
129 |
|
130 |
insinto /usr/$(get_libdir)/pkgconfig |
131 |
doins "${AUTOTOOLS_BUILD_DIR}"/hamlib.pc || die "doins failed" |
132 |
|
133 |
echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib |
134 |
doenvd "${T}"/73hamlib || die "doenvd failed" |
135 |
} |