Bump
This commit is contained in:
29
dev-embedded/64tass/64tass-1.58.2974.ebuild
Normal file
29
dev-embedded/64tass/64tass-1.58.2974.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit eutils toolchain-funcs multilib
|
||||
|
||||
DESCRIPTION="64tass is cross assembler targeting the 65xx series of micro processors. Supports 6502, 65C02, R65C02, W65C02, 65CE02, 65816, DTV, 65EL02, 4510"
|
||||
HOMEPAGE="https://sourceforge.net/projects/tass64/"
|
||||
SRC_URI="https://sourceforge.net/projects/tass64/files/source/${PN}-${PV}-src.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}"/${PN}-${PV}-src
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" prefix=${EPREFIX}/usr docdir=${EPREFIX}/usr/share/doc/${PF} || die "src build fail"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" prefix=${EPREFIX}/usr docdir=${EPREFIX}/usr/share/doc/${PF} install DESTDIR=${D} || die "src install failed"
|
||||
}
|
||||
@@ -1,2 +1,4 @@
|
||||
DIST 64tass-1.57.2900-src.zip 744738 BLAKE2B d542ad3600ce198434c642d5837582732c6616bca566712b3dcd3f3f14e9673bf34cdfce0fd5dc7a2d6b95cf4f1c9d7c891225f678ff312fb7c7fc10169398f1 SHA512 5cfc6c075cf13df9c0c6974c92a96041fc16217f48c55a96b475ccc7fe1f65633ab6e9d6915b4a864b0b9d4bde8bc86d7473ea3cdbf3d1f9374fe6aa5e4d39d0
|
||||
DIST 64tass-1.58.2974-src.zip 727857 BLAKE2B 7d899cfcac64f26e44179a8933bcc47e1fb1fa15ffe99299f83105b7bef0def85647fdbb914e854dc3a4637f21f6bd82c41e798fd661220c5d1f6359575822f2 SHA512 4eab3d453ec6c6fffe68170ac78050e1d4d397ef9f1211edbb6ca79fb5020fee1455544dd5c18cdbd290d491252ddd03f0093298ae09731da62ab23362298405
|
||||
EBUILD 64tass-1.57.2900.ebuild 903 BLAKE2B 0fab5dc5b4f15efa3174e520f19a767642a491fd289cdb77569c2b586869fb79b8242dc130c907a1e334e794817721c040fbf8219387d10adcfdd65db2af2818 SHA512 f1a6f7c07e44723e747a9244e2ed8c38cda23bdd42b793ad22ca3627714e8a970873798a4b5ccdc492b7660b830593c19fbb1ccf13ece69c07a610f606016292
|
||||
EBUILD 64tass-1.58.2974.ebuild 904 BLAKE2B 579994c4271f89f655f0803b601fe74b378eb4ffd64f94810536f8597afb590fa172ef16ff0659fff0878c18486e04cb66fdedbbd2d35e84374ac37024f29761 SHA512 5c9fc7dd0a8663d256c95f6634834116b62aef3bdef756c876a8c73060b66743219e2dd30f02e1bc4161fa38a2c5323ade789d0f6b7bc2ab280ac68086290858
|
||||
|
||||
7
dev-embedded/libftdi/Manifest
Normal file
7
dev-embedded/libftdi/Manifest
Normal file
@@ -0,0 +1,7 @@
|
||||
AUX libftdi-0.20-cmake-include.patch 687 BLAKE2B 8817db6e200adcb3d76da91565fe25f694445a46325a6435d6d0545d6741b0d15b199f96aabf01ca664eeb3355008acc6ec309f5fa87f975584935ecd74558f7 SHA512 b7b2d3a8cd84f3bbc86aa43bc9d090359375c6ea6b52a32107cd46751d386768b3d196c0bca7235453c596ef19c5ee4e1a39739db90e3e0c06adc62609e7fb90
|
||||
AUX libftdi-0.20-cmake-version.patch 1010 BLAKE2B cd88bc50cebb22a5e982d8f7985014549bdae23e35fefb0d2f6cf14c4610d79ebfbbb11e94174b6c1ff260d83713c4c4db395c725bbe836142e0e80092324a3f SHA512 9ea6d07324c6cb89856f8a9411b0564fb344f2624162f5435b9cbaeddb97361d79dd9b71d0c64988106ec162cd5a93b43f2c5257f0f0207ce8151de37712cd91
|
||||
AUX libftdi-1.5-cmake-cxx.patch 1448 BLAKE2B f43c592cc17481e21dc1b0fe4a4cf583c3b2f192197133443f90dc1f9bd134fe903598dc9d12f92a8376bcd58f4cb698b9bd34ff4c06cf2df180260d2456126c SHA512 9881153611aa75dcc53f739bd510898f55d9fc56a07cec41e09fed37768c462663160d8491f7eaaa5dd7bc8935d36f33379d3529cfe355a3391507415a9e7cae
|
||||
AUX libftdi-1.5-tests-no-cxx.patch 1017 BLAKE2B ff3e05ae2cc48a023c74142f986159f68b6a3e49ccf9684c94b4de2fd03c8d5c53e600810d1e8933e09ed7aa167fab15101344a6bdc8b9e00647f2c86801f694 SHA512 6d0fa3923f8f1e92b22538448368016db24d194b886c4702731eb5038b65c8a03773cfe0a02459cf040574845ab482fb676f01a97f26d5c48065fd9427a11eeb
|
||||
DIST libftdi1-1.5.tar.bz2 116297 BLAKE2B 460ab93026e14a452e31fcc6930d305638fdc0ed06cb44fb9d50ad8f80199b17057d2f48a27b8295b43b956934289c872a2ef1ddb7f93fa93c6816511ef7607d SHA512 c525b2ab6aff9ef9254971ae7d57f3549a36a36875765c48f947d52532814a2a004de1232389d4fe824a8c8ab84277b08427308573476e1da9b7db83db802f6f
|
||||
EBUILD libftdi-1.5-r4.ebuild 1917 BLAKE2B 920bf8905df92276561d86e7f6dc1ccfc62651b6e6109f707d0ee39ff0d9fe9cbae91c0c1708daafbc84021f3aab094aa9d8d7033b7f2ee264af6408ee3b370d SHA512 9bef7c54c201f2b2f0c90c3464ecd70600af913b8312e0e34df4a8551c23775ae6cae1adc84d88554b68e8ade25bf73778dbb3ff36c6aeb23c18bd919aed7fee
|
||||
MISC metadata.xml 318 BLAKE2B c2c9ab83d57a082ed6608367f53f0f9420056c909d4ee50641da5b8f12b6a6ca996740fbdcadb0fa08460cb0cbef36dbedfaaf98acaea3eeeeee6afcf7724f54 SHA512 313b5c5dfcf5feb7dc8e41c1cb74939619451cb0747c1a281c9a0e763d26e0850a43e05d8fd2a836389bd75c2a4f153b80986e11be8171e9d93ca234f9df05f2
|
||||
22
dev-embedded/libftdi/files/libftdi-0.20-cmake-include.patch
Normal file
22
dev-embedded/libftdi/files/libftdi-0.20-cmake-include.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From ccbd6cf1934056386772debba8583bc9b3721072 Mon Sep 17 00:00:00 2001
|
||||
From: Uffe Jakobsen <uffe@uffe.org>
|
||||
Date: Mon, 22 Oct 2012 12:03:22 +0200
|
||||
Subject: [PATCH] Fix build on FreeBSD (cmake file typo)
|
||||
|
||||
---
|
||||
examples/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
|
||||
index 6793d89..1263c62 100644
|
||||
--- a/examples/CMakeLists.txt
|
||||
+++ b/examples/CMakeLists.txt
|
||||
@@ -2,7 +2,7 @@ option(EXAMPLES "Build example programs" ON)
|
||||
|
||||
if (EXAMPLES)
|
||||
# Includes
|
||||
- include( ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
+ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
38
dev-embedded/libftdi/files/libftdi-0.20-cmake-version.patch
Normal file
38
dev-embedded/libftdi/files/libftdi-0.20-cmake-version.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
From e18b700743217e8c505e97762e0f66a4f6a90425 Mon Sep 17 00:00:00 2001
|
||||
From: Maciej Grela <maciej.grela@gmail.com>
|
||||
Date: Wed, 20 Jun 2012 23:08:50 +0200
|
||||
Subject: [PATCH] Fix libftdi.pc file generation when building with
|
||||
-DDOCUMENTATION=OFF
|
||||
|
||||
---
|
||||
CMakeLists.txt | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 4c43a48..07f8bb9 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -2,7 +2,9 @@
|
||||
project(libftdi)
|
||||
set(MAJOR_VERSION 0)
|
||||
set(MINOR_VERSION 20)
|
||||
+set(PACKAGE libftdi)
|
||||
set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION})
|
||||
+set(VERSION ${VERSION_STRING})
|
||||
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}")
|
||||
|
||||
# CMake
|
||||
@@ -116,12 +118,11 @@ add_custom_target(dist
|
||||
|
||||
option(DOCUMENTATION "Generate API documentation with Doxygen" ON)
|
||||
|
||||
+
|
||||
find_package(Doxygen)
|
||||
if(DOCUMENTATION AND DOXYGEN_FOUND)
|
||||
|
||||
# Set variables
|
||||
- set(PACKAGE libftdi)
|
||||
- set(VERSION ${VERSION_STRING})
|
||||
set(top_srcdir ${CMAKE_SOURCE_DIR})
|
||||
|
||||
# Find doxy config
|
||||
46
dev-embedded/libftdi/files/libftdi-1.5-cmake-cxx.patch
Normal file
46
dev-embedded/libftdi/files/libftdi-1.5-cmake-cxx.patch
Normal file
@@ -0,0 +1,46 @@
|
||||
https://bugs.gentoo.org/766818
|
||||
|
||||
From cdb28383402d248dbc6062f4391b038375c52385 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Fri, 17 Jul 2020 21:25:03 +0200
|
||||
Subject: [PATCH] CMakeLists.txt: fix paths when FTDIPP is set
|
||||
|
||||
Use the same project name (i.e. libftdi1 and not libftdipp1) when FTDIPP
|
||||
is enabled as suggested by Aurelien Jarno in
|
||||
http://developer.intra2net.com/mailarchive/html/libftdi/2020/msg00044.html
|
||||
|
||||
Without this change, the libftdi1.pc config file defines the include
|
||||
path as /usr/local/include/libftdipp1 while the ftdi.h file is actually
|
||||
installed in /usr/local/include/libftdi1
|
||||
|
||||
This is an issue for example for libsigrok which will fail on:
|
||||
|
||||
In file included from src/hardware/asix-sigma/protocol.c:27:
|
||||
src/hardware/asix-sigma/protocol.h:28:10: fatal error: ftdi.h: No such file or directory
|
||||
28 | #include <ftdi.h>
|
||||
| ^~~~~~~~
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/1427f44e36752c337791597fab47a1889552a2fe
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 5aecafc..3b0b87c 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -136,7 +136,7 @@ endif ()
|
||||
|
||||
add_subdirectory(src)
|
||||
if ( FTDIPP )
|
||||
- project(libftdipp1 C CXX)
|
||||
+ project(libftdi1 C CXX)
|
||||
add_subdirectory(ftdipp)
|
||||
endif ()
|
||||
if ( PYTHON_BINDINGS )
|
||||
--
|
||||
1.7.1
|
||||
|
||||
35
dev-embedded/libftdi/files/libftdi-1.5-tests-no-cxx.patch
Normal file
35
dev-embedded/libftdi/files/libftdi-1.5-tests-no-cxx.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
Fixes failure to build tests with USE="-cxx" (default).
|
||||
http://developer.intra2net.com/git/?p=libftdi;a=patch;h=11a50ae5b80b3e03694a19e84513345d0794e563;hp=6dd18122a81e6030dd239391df6ffde8cb8c59c7
|
||||
From 11a50ae5b80b3e03694a19e84513345d0794e563 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Jarosch <thomas.jarosch@intra2net.com>
|
||||
Date: Mon, 24 Aug 2020 19:27:22 +0200
|
||||
Subject: [PATCH 1/1] Fix building unit tests without FTDIPP
|
||||
|
||||
Needed to run the baudrate unit tests.
|
||||
|
||||
Probably another fallout from:
|
||||
|
||||
****************************
|
||||
commit 0209a3633dc877a577af07d883eb5059e22f6a91
|
||||
|
||||
cmake: do not check for g++ when FTDIPP is disabled
|
||||
****************************
|
||||
---
|
||||
CMakeLists.txt | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 3b0b87c..58f664a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -150,6 +150,7 @@ if ( EXAMPLES )
|
||||
endif ()
|
||||
add_subdirectory(packages)
|
||||
if ( BUILD_TESTS )
|
||||
+ project(libftdi1 C CXX)
|
||||
add_subdirectory(test)
|
||||
endif ()
|
||||
|
||||
--
|
||||
1.7.1
|
||||
|
||||
90
dev-embedded/libftdi/libftdi-1.5-r4.ebuild
Normal file
90
dev-embedded/libftdi/libftdi-1.5-r4.ebuild
Normal file
@@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit cmake python-single-r1
|
||||
|
||||
MY_P="${PN}1-${PV}"
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
|
||||
else
|
||||
SRC_URI="https://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Userspace access to FTDI USB interface chips"
|
||||
HOMEPAGE="https://www.intra2net.com/en/developer/libftdi/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="1"
|
||||
IUSE="cxx doc examples python test tools"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
BDEPEND="
|
||||
doc? ( app-doc/doxygen )
|
||||
python? ( dev-lang/swig )"
|
||||
RDEPEND="
|
||||
virtual/libusb:1
|
||||
cxx? ( dev-libs/boost )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
tools? (
|
||||
!<dev-embedded/ftdi_eeprom-1.0
|
||||
dev-libs/confuse:=
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-libs/boost )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-tests-no-cxx.patch
|
||||
"${FILESDIR}"/${P}-cmake-cxx.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DFTDIPP=$(usex cxx)
|
||||
-DDOCUMENTATION=$(usex doc)
|
||||
-DEXAMPLES=$(usex examples)
|
||||
-DPYTHON_BINDINGS=$(usex python)
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DFTDI_EEPROM=$(usex tools)
|
||||
-DCMAKE_SKIP_BUILD_RPATH=ON
|
||||
-DSTATICLIBS=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}/test" || die
|
||||
LD_LIBRARY_PATH="${BUILD_DIR}/src" ./test_libftdi1 -l all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
use python && python_optimize
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
|
||||
if use doc ; then
|
||||
# Clean up crap man pages. #356369
|
||||
rm -vf "${BUILD_DIR}"/doc/man/man3/_* || die
|
||||
|
||||
doman "${BUILD_DIR}"/doc/man/man3/*
|
||||
dodoc -r "${BUILD_DIR}"/doc/html
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc examples/*.c
|
||||
fi
|
||||
}
|
||||
11
dev-embedded/libftdi/metadata.xml
Normal file
11
dev-embedded/libftdi/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>embedded@gentoo.org</email>
|
||||
<name>Embedded Gentoo</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="tools">build ftdi_eeprom helper tool</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user