From 391b5b359a346aff490103da7dddc85047f83830 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Oct 2021 20:54:53 +0100 Subject: gentoo resync : 01.10.2021 --- dev-embedded/usbprog/Manifest | 3 +- .../usbprog-0.3.0_p20140828_versions.xml.patch | 28 +++++++++++ .../usbprog/usbprog-0.3.0_p20140828-r1.ebuild | 58 ++++++++++++++++++++++ .../usbprog/usbprog-0.3.0_p20140828.ebuild | 51 ------------------- 4 files changed, 88 insertions(+), 52 deletions(-) create mode 100644 dev-embedded/usbprog/files/usbprog-0.3.0_p20140828_versions.xml.patch create mode 100644 dev-embedded/usbprog/usbprog-0.3.0_p20140828-r1.ebuild delete mode 100644 dev-embedded/usbprog/usbprog-0.3.0_p20140828.ebuild (limited to 'dev-embedded/usbprog') diff --git a/dev-embedded/usbprog/Manifest b/dev-embedded/usbprog/Manifest index 404a1941f1b3..58e1c7bf0207 100644 --- a/dev-embedded/usbprog/Manifest +++ b/dev-embedded/usbprog/Manifest @@ -1,3 +1,4 @@ +AUX usbprog-0.3.0_p20140828_versions.xml.patch 837 BLAKE2B b3b13f0292dbaa245c3a43894e66034c5de697c4afac16689658bbf43ecb410590cd59f03607f0dcabf957e4bbe54ef60b25b20f0ba20f17442c8cf4999f83a0 SHA512 d863f34f8e7542f8783030016c7be003af73b6e85aa533b210b4cda61975b17f56ca516b4971c9c8133cbda31ef1e6ea8eb153697acf0b62fb1c584ea17a43da DIST usbprog-0.3.0_p20140828.tar.bz2 4211124 BLAKE2B b0b1341e34f6f8c5b59925d115be0c45ce12d69d57a330fd111ce41a8f584f68548485f713ee6386e01facd4b7bf7c86e397194c4202ceda226bf912d94ab079 SHA512 fbc4e4edda36c5633f8459723d147bc02a211ef35d409b9a412ce901f3be1ac59f8183caf2a4f93cbe51b9807f7012986e12274167102fb5d84246f23712cca2 -EBUILD usbprog-0.3.0_p20140828.ebuild 1017 BLAKE2B 7cdc6b7415189f9b6e3867dc4f0b1448c12f2f696bd51ef259e415505a54dcb69b18070b4d7fa6bd4a948e05c7837a5b7b784a47a94a484a46ec73ba750eb50b SHA512 d39e058faf3d664a70ae4d3323fd693bc889d4fa79c69e27f1af3ce33df9448e02e0504faf5250f12de5b6bef86ddbc7fa7f2dd3301697e71d69f29657968759 +EBUILD usbprog-0.3.0_p20140828-r1.ebuild 1179 BLAKE2B 2b557db72401710dcda13ab428ff89a3ad762b005e9baa0902f1d2965dc14d9aae74cccd1ea90f023d0e6082cce54d0060249de88e3ff414c25a3b23e3de4476 SHA512 e6221d731929f4519dbc7cf29935409a413e4e635485179acfe93689b73ac1863f3069a3aa1ac02fec5167e78cc68d92076663fb4e22d222e88983b7b9e64f64 MISC metadata.xml 333 BLAKE2B 2a5f58a2a0d8672b8aebf5533a0f938ca904f3029bdb82e7de9f8468b36376fe6757c770860fd752659ca52b86028831c2356351767f36fb1c9e82732ceb5285 SHA512 b5992d9c2011333c6ca95a607aabb9ce00e912b1427aed6008f411fc55fe48bbaf33b9649fcc07a69970b64a09b631381baa812af180112151e7118e8cabe74a diff --git a/dev-embedded/usbprog/files/usbprog-0.3.0_p20140828_versions.xml.patch b/dev-embedded/usbprog/files/usbprog-0.3.0_p20140828_versions.xml.patch new file mode 100644 index 000000000000..dd3a002d825a --- /dev/null +++ b/dev-embedded/usbprog/files/usbprog-0.3.0_p20140828_versions.xml.patch @@ -0,0 +1,28 @@ +From 031cc8495ef5008e744bc3bf1e970e894083d1a1 Mon Sep 17 00:00:00 2001 +From: "Azamat H. Hackimov" +Date: Mon, 26 Jul 2021 19:50:25 +0300 +Subject: [PATCH] Replace URL for versions.xml + +Replace versions.xml URL to +http://www.aaabbb.de/FirmwareUsbprog/versions.xml as only one viable +source for firmwares. +--- + usbprog/usbprog.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/usbprog/usbprog.h b/usbprog/usbprog.h +index 38d069e..35dc86b 100644 +--- a/usbprog/usbprog.h ++++ b/usbprog/usbprog.h +@@ -26,7 +26,7 @@ namespace usbprog { + + /* Preprocessor definitions {{{ */ + +-#define DEFAULT_INDEX_URL "http://www.ixbat.de/usbprog/versions.xml" ++#define DEFAULT_INDEX_URL "http://www.aaabbb.de/FirmwareUsbprog/versions.xml" + #define AUTO_NOT_UPDATE_TIME 10 + + /* }}} */ +-- +2.31.1 + diff --git a/dev-embedded/usbprog/usbprog-0.3.0_p20140828-r1.ebuild b/dev-embedded/usbprog/usbprog-0.3.0_p20140828-r1.ebuild new file mode 100644 index 000000000000..93073fc987fa --- /dev/null +++ b/dev-embedded/usbprog/usbprog-0.3.0_p20140828-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake readme.gentoo-r1 + +REV="293d559bac55" + +DESCRIPTION="flashtool for the multi purpose programming adapter usbprog" +HOMEPAGE="http://www.aaabbb.de/FirmwareUsbprog/FirmwareUsbprog_en.php https://bitbucket.org/bwalle/usbprog-tools/src/master/" +SRC_URI="https://bitbucket.org/bwalle/usbprog-tools/get/${REV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+gui minimal" + +RDEPEND=" + !minimal? ( + gui? ( dev-qt/qtwidgets:5 ) + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtxml:5 + sys-libs/ncurses:= + sys-libs/readline:= + ) + virtual/libusb:1 +" +DEPEND="${RDEPEND}" +S="${WORKDIR}/bwalle-usbprog-tools-${REV}" + +PATCHES=( + "${FILESDIR}/${P}_versions.xml.patch" +) + +DOC_CONTENTS=" +Please visit http://www.aaabbb.de/FirmwareUsbprog/FirmwareUsbprog_en.php +for additional info. +" + +src_configure() { + local mycmakeargs=( + -DBUILD_ONLY_CORE=$(usex minimal) + -DBUILD_GUI=$(usex gui) + -DUSE_QT5=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/dev-embedded/usbprog/usbprog-0.3.0_p20140828.ebuild b/dev-embedded/usbprog/usbprog-0.3.0_p20140828.ebuild deleted file mode 100644 index fe1b71567d2e..000000000000 --- a/dev-embedded/usbprog/usbprog-0.3.0_p20140828.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake readme.gentoo-r1 - -REV="293d559bac55" - -DESCRIPTION="flashtool for the multi purpose programming adapter usbprog" -HOMEPAGE="http://bwalle.de/website/usbprog.html https://bitbucket.org/bwalle/usbprog-tools/src/master/" -SRC_URI="https://bitbucket.org/bwalle/usbprog-tools/get/${REV}.tar.bz2 -> ${P}.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="qt5" - -RDEPEND="qt5? ( - dev-qt/qtcore:5 - dev-qt/qtnetwork:5 - dev-qt/qtxml:5 - ) - sys-libs/ncurses:= - sys-libs/readline:= - virtual/libusb:1 -" -DEPEND="${RDEPEND}" -S="${WORKDIR}/bwalle-usbprog-tools-${REV}" - -DOC_CONTENTS=" -Please visit http://www.aaabbb.de/FirmwareUsbprog/FirmwareUsbprog_en.php -for version.xml. -" - -src_configure() { - local mycmakeargs=( - -DBUILD_GUI=$(usex qt5) - -DUSE_QT5=ON - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog -} -- cgit v1.2.3