Several new and updated ebuilds

This commit is contained in:
layman
2017-09-04 22:34:15 +02:00
parent d018bbc4a0
commit 3f032855b8
24 changed files with 894 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
AUX libsigrokdecode-0.3.0-configure-test.patch 859 SHA256 1cef6c17a6624fe6d56fbeb98d5bde4ee1ec76a684a751b92c4e929a682123ab SHA512 466f21110fa3a8dec268f0b28520fea3497fa36fa7e8a93b98ac9dc8d36ac2172f847a02814625fb2a24740c19dee4ffc06e889727a0385d2a848a72552819ae WHIRLPOOL 85439b280a78126c8470127bd0ebb04fdcb6b74f1232d0611c06c5b29fba85e4bde68893d28d49dd66e142b25b3d8ec82c244916f3876faa06c38ece4b9a9f6e
AUX libsigrokdecode-0.3.0-no-check-linkage.patch 1002 SHA256 8e12e43b5e99182599383cf7517e1e14f0c3482a78feb2abb2a2c4f903517e8e SHA512 580b3f635fd050341c5c12ce6c5e2266f50543920fd70008b8f4c52077ecce0dfe6bd19134c8deea4ca6b24eaf0d177e44e96290c015ba6bf74fdd7bd578c74c WHIRLPOOL 420c9e4e664c571a94d998f333b76c0b0112116ed8b835dd8cef3e244bc729c537a606d35cdfc793b0dc46d288f069d9fa18b572a85c76cf9fff4d465dca26f3
DIST libsigrokdecode-0.4.1.tar.gz 751546 SHA256 065f70c10971173d86e03a8cf5534e600c7a622775113997d8061572135d4a95 SHA512 b072001190e80a194986524fd4de4d32f4559d618b151a3dbfa2c63b292c8a490535cb7479cfa665c4e8d3798251a5d6f5ecfa456ca669237237ffced3e88272 WHIRLPOOL c06a46a593120f474f5b102bd51add7153176fb596cf8f2cb361028ea6e1f6abd1bd4ba989ce812707989c46010eab8e6c211bd50156922ebf1bbbb04c7021bf
EBUILD libsigrokdecode-0.4.1.ebuild 1060 SHA256 caed2615379781390f5c85193db0ddd8f8b325de41bc2d308e688b0172978364 SHA512 951e4158ef8a257b9d15d886728cf3e59c511622ffe1a02e9094ea56c8fe644de850dabe4fe138dd43f122bc6ae8f289e95d85ac6cd88cbe59e90ff55929f90b WHIRLPOOL 972b405e6ba66c05b385492a72d9ad4ac9fc6f484630fab7f1783fd7ad6210c9f198f35fff0568a1a9f9aa68ba1370b773098bc12809c974dd44b9758baf19c5
EBUILD libsigrokdecode-9999.ebuild 1060 SHA256 caed2615379781390f5c85193db0ddd8f8b325de41bc2d308e688b0172978364 SHA512 951e4158ef8a257b9d15d886728cf3e59c511622ffe1a02e9094ea56c8fe644de850dabe4fe138dd43f122bc6ae8f289e95d85ac6cd88cbe59e90ff55929f90b WHIRLPOOL 972b405e6ba66c05b385492a72d9ad4ac9fc6f484630fab7f1783fd7ad6210c9f198f35fff0568a1a9f9aa68ba1370b773098bc12809c974dd44b9758baf19c5
MISC metadata.xml 247 SHA256 751aa1f012df292bed9716a5c6a7e64114b695d2ba0c0572fc7e87fc3bbcebc5 SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e WHIRLPOOL b6c074cf39f6ec1e2d085151836db47f9a4d71bcc9cc3296889bfa10172c7f07837ca79c8613f9c483b1332683e78eebe88e0a433a7caf801fc7ccac2552cd53
@@ -0,0 +1,28 @@
https://sourceforge.net/p/sigrok/mailman/message/32459769/
From dc83770847c39934f5cbc63c8652124fafcb8d0b Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sat, 14 Jun 2014 01:37:12 -0400
Subject: [PATCH 1/2] fix test operator
The == operator is not in POSIX.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 9527379..3f661ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,7 +125,7 @@ AC_SUBST(MODNAME_PYTHON)
# We also need to find the name of the python3 executable (for 'make install').
# Some OSes call this python3, some call it python3.2, etc. etc.
AC_CHECK_PROGS([PYTHON3], [python3.4 python3.3 python3.2 python3])
-if test "x$PYTHON3" == "x"; then
+if test "x$PYTHON3" = "x"; then
AC_MSG_ERROR([cannot find python3 executable.])
fi
--
2.0.0
@@ -0,0 +1,30 @@
https://sourceforge.net/p/sigrok/mailman/message/32459770/
From 27ecf0c85482786f7617571c690797ab3f07f795 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sat, 14 Jun 2014 01:38:58 -0400
Subject: [PATCH 2/2] do not add check to common cflags/libs
Only the unittests use these flags, so don't go linking them in for
the main library too.
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3f661ec..10213a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,8 +134,7 @@ AC_SEARCH_LIBS([pow], [m])
# The Check unit testing framework is optional. Disable if not found.
PKG_CHECK_MODULES([check], [check >= 0.9.4],
- [have_check="yes"; CFLAGS="$CFLAGS $check_CFLAGS";
- LIBS="$LIBS $check_LIBS"], [have_check="no"])
+ [have_check="yes"], [have_check="no"])
AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
# libsigrok is optional (only used for the protocol decoder test framework).
--
2.0.0
@@ -0,0 +1,54 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 )
inherit eutils python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="provide (streaming) protocol decoding functionality"
HOMEPAGE="http://sigrok.org/wiki/Libsigrokdecode"
LICENSE="GPL-3"
SLOT="0"
IUSE="static-libs"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND=">=dev-libs/glib-2.24.0
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
# Only a test program (not installed, and not used by src_test)
# is used by libsigrok, so disable it to avoid the compile.
sed -i \
-e '/build_runtc=/s:yes:no:' \
configure || die
eapply_user
}
src_configure() {
econf $(use_enable static-libs static)
}
src_test() {
emake check
}
src_install() {
default
prune_libtool_files
}
@@ -0,0 +1,54 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 )
inherit eutils python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="provide (streaming) protocol decoding functionality"
HOMEPAGE="http://sigrok.org/wiki/Libsigrokdecode"
LICENSE="GPL-3"
SLOT="0"
IUSE="static-libs"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND=">=dev-libs/glib-2.24.0
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
# Only a test program (not installed, and not used by src_test)
# is used by libsigrok, so disable it to avoid the compile.
sed -i \
-e '/build_runtc=/s:yes:no:' \
configure || die
eapply_user
}
src_configure() {
econf $(use_enable static-libs static)
}
src_test() {
emake check
}
src_install() {
default
prune_libtool_files
}
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>embedded@gentoo.org</email>
<name>Embedded Gentoo</name>
</maintainer>
</pkgmetadata>