dev-utils/mfgtools: bump to 1.3.102

This commit is contained in:
nemunaire 2020-01-27 15:52:29 +01:00
parent 003c5f0a93
commit 2f583be005
3 changed files with 90 additions and 0 deletions

View File

@ -1,3 +1,6 @@
AUX 0001-.patch 853 BLAKE2B f33ab893ea47a3f8b09f473e162f617b4fe8183e23439f476b4010cab8168cef8e1e9ea9981c9e9447d61a6dc4789f186cae19970fbce98d8c46045249cd4d7d SHA512 00a1689978533bd99b8890e9b67c83ac8648bec222f526c64a2d687dfc2e722e2510b95bb94337e777585ab924e6ee7fe8dc792b1ea015aa151596fbf06fd47f
AUX 99-librem5-devkit.rule 348 BLAKE2B 166f9917966ec0f6488a72221f6ad12c8f80d6f4b9b784ae85b4f4a3f66eb50222fb141d3fdc60756b8330e3acca73d07f0ace8b7b0eb44473e078492a7e5fad SHA512 4add3ef99b6ab80685d2f56bc743e5d7c8f857d15e23491db374d81912c48e5be440d48477b4c97ddc613e32f991fd0bec09bcecd0ce86a8cb0982eae0c049d2
DIST mfgtools-1.2.39.tar.gz 50972 BLAKE2B 5bc000075c5f607c8ba22604c824be22981dac60570539309ff31aa2bf64a0a36273d1d101190e33101bb2a9d4ac728677aac9b7fcc551e38baf778d372bade3 SHA512 5a4226568ab757a9c2888fdb8550bf0e2bef458c4821f6dfd3ba684e1b5e4367c133cfbb340e43fbb0b00c78ad4c3bada7372e68bebae684a1a5f738f5e23667
DIST mfgtools-1.3.102.tar.gz 64406 BLAKE2B f71af4dc6d730e07bcaa5af938cd0b045e8a426911d5eb4cf28a562c4ba39c60d96699fc827627fc4243ca3479747b00528eb26c3150a411aeac4052480686ff SHA512 950083055a245df5b1bba3d55131c824a4e65285a2b75808c34a404f1420ce57f41500ad4ba92ace05a1599a81f24acdcc9da7290ce8513f3a906a3c53b7219d
EBUILD mfgtools-1.2.39.ebuild 1041 BLAKE2B e69c937a460a82a9abbdeb357ee708419470c8dda02b5d5cbb3ab1365f462b0e9e10f0ee4d1ceffb29bd60a7d0fe94626befb28ef66b6963bc81da0f51f62298 SHA512 ebec916209399d7529ec406d82d44dac36e7d86b44d38c418f590eb9fd541db4e98da8d4f7b63523594dcb0f2a56e4d21a913196c7f6e3bd2eb0d838ff0a824a
EBUILD mfgtools-1.3.102.ebuild 1072 BLAKE2B cf75cb27e491bc154140275eed6c71e844fe03e9db62f5e707db5c68655e1325e72df6b2e12f38bd31b5667b6805a5bdcd0752960b471706b9082b25b166655b SHA512 427ed6fbb0acf4c5ade91d2c4aef599adbd6582f2dfafd5789efe48ce1a90643e9e504aa91997bccc74b1e1bf64ed3a4e6156e1690c5badfc2e75c8048964d98

View File

@ -0,0 +1,25 @@
From 1d19abd597463c92d624bb69da374b98f9c821f4 Mon Sep 17 00:00:00 2001
From: Pierre-Olivier Mercier <nemunaire@nemunai.re>
Date: Mon, 27 Jan 2020 14:29:13 +0100
Subject: [PATCH] -
---
libuuu/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libuuu/CMakeLists.txt b/libuuu/CMakeLists.txt
index 21ae944..38d6042 100644
--- a/libuuu/CMakeLists.txt
+++ b/libuuu/CMakeLists.txt
@@ -53,7 +53,7 @@ add_custom_command(
OUTPUT gitversion.h
PRE_BUILD
COMMAND mkdir -p ${generated_files_dir}
- COMMAND sh -c 'cd ${CMAKE_CURRENT_SOURCE_DIR} && rm -f ${gitversion_h} && ./gen_ver.sh "${gitversion_h}.tmp" && mv -f "${gitversion_h}.tmp" "${gitversion_h}"'
+ COMMAND sh -c 'cd ${CMAKE_CURRENT_SOURCE_DIR} && rm -f ${gitversion_h} && ./gen_ver.sh "${gitversion_h}"'
)
include_directories(${generated_files_dir})
--
2.24.1

View File

@ -0,0 +1,62 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/NXPmicro/mfgtools.git"
inherit git-r3
KEYWORDS=""
else
SRC_URI="https://github.com/NXPmicro/mfgtools/archive/uuu_${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm"
fi
inherit cmake-utils udev
DESCRIPTION="Freescale/NXP I.MX Chip image deploy tools"
HOMEPAGE="https://github.com/NXPmicro/mfgtools"
LICENSE="BSD"
SLOT="0"
IUSE="-doc"
RDEPEND="
dev-libs/libzip
sys-libs/zlib
virtual/libusb
doc? ( app-doc/doxygen )
"
DEPEND="
${RDEPEND}
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/0001-.patch"
)
S="${WORKDIR}/${PN}-uuu_${PV}"
src_prepare() {
cmake-utils_src_prepare
echo "#define GIT_VERSION \"libuuu_${PV}\"" > "${S}/libuuu/gitversion.h"
}
src_configure() {
local mycmakeargs=(
-DBUILD_DOC=$(usex doc ON OFF)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
udev_dorules "${FILESDIR}/99-librem5-devkit.rule"
}
pkg_postinst() {
udev_reload
}