From dfd7c8230bca447ee0b09dc11150181b0b3148e2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 14 Nov 2023 16:34:53 +0000 Subject: gentoo auto-resync : 14:11:2023 - 16:34:53 --- dev-embedded/openocd/Manifest | 4 +- dev-embedded/openocd/openocd-0.12.0-r1.ebuild | 110 ++++++++++++++++++++++++++ dev-embedded/openocd/openocd-0.12.0.ebuild | 109 ------------------------- dev-embedded/openocd/openocd-9999.ebuild | 3 +- 4 files changed, 114 insertions(+), 112 deletions(-) create mode 100644 dev-embedded/openocd/openocd-0.12.0-r1.ebuild delete mode 100644 dev-embedded/openocd/openocd-0.12.0.ebuild (limited to 'dev-embedded/openocd') diff --git a/dev-embedded/openocd/Manifest b/dev-embedded/openocd/Manifest index 6a21d017d36d..3b3b759427d1 100644 --- a/dev-embedded/openocd/Manifest +++ b/dev-embedded/openocd/Manifest @@ -1,5 +1,5 @@ AUX openocd-0.12.0-capstone-includedir.patch 1124 BLAKE2B 08cce4c69a3a36dc836476158474fa75599e45e22b6275d39be48f4fbc8f90985611b64e94945042ee2a35929ff18a66fcf9e783fe4da86b8ae4bfaa7d9ee4fe SHA512 5a3b41d83f7bc3173a6b5431fd9619f3b3f8391641a3fb465d7e0e66d6f6e89637bf2d09288c9e4dd95ec8459f199e7d4d80c036f5bccfae1cb8db99f8b1a81a DIST openocd-0.12.0.tar.gz 8445833 BLAKE2B 82616ed1bf51588d2a19c56fab6a6944ac5fa22e07bc5f83962ff8fecd88faeceb33e2104acb3cd08710f7f96d578ccd4ef6282372ae9d206ab469b3ac70fff8 SHA512 2b95d30eb10316b5cf1b329e0214b8d9f3fbf1fda5fa5568acc8cb16cdc25aa58c211f17f9883d8e4b93bcda3f296e511c279b44d24db9303c26e6c6640540b0 -EBUILD openocd-0.12.0.ebuild 2398 BLAKE2B c98585e8e39ca5a17d67fb4d9e5a6cc5d9dfa5f01215445c58cc342302472e88ff3d94757395d4e90bbc113dac615f91955794b10f4e64a36e8d27ee3e136faf SHA512 6cc89983408f9022d690e665c204a4c6d4d09045e957b91c63cf390db406cd43763e9888560c4031159e7ed196167da3b578ca772c86377ed5906c914ff4cff4 -EBUILD openocd-9999.ebuild 2334 BLAKE2B 4af7890a488ab7a0417a1df938392718593e246fde12ca7f5e5acf0502b145b48b1fbec867cb10256d71394a832c075e313e20e3f5294313594c14e86b587048 SHA512 731689c109e69f115fdcb86cb2c9db7619a02656020a6a0847fbdd15fe8b59db2250af6a076792e019574b861975da348f0e20b9594d60cfa08010443b5a6bcb +EBUILD openocd-0.12.0-r1.ebuild 2421 BLAKE2B 80e13efeb38cab616cc0b419fffe9f7f92d44912c4380f278cb21b8baa2e2c0a35dfecd9f602d20c41f95810fb05eb1d0db362f99f427e51af9addc608d63efe SHA512 5998dffedc221b08549195183e293971add1d9fb3bf1cbc009ff298a5b3e9d2e0e4ec94c259c3c6438789454faae2caee12034cea8152bc788daba5080d5554b +EBUILD openocd-9999.ebuild 2356 BLAKE2B 01f1bd16a263d66876c9c5a03753121389ec08146e16c04e81d3dbaa9b7c386f99920740920fc0eec26e58cfd7d8107d277637f10c17c852b24b27f926daf2b8 SHA512 c56b78864dbc9ebfc589075afc922054c823b7b9074633d3c3122b4025adccc5673c1d36ca85cbcd4af6f744b8d5bc66c0b3e7068d201d4ea77ff13c0cbab403 MISC metadata.xml 1086 BLAKE2B a44beaaa3151f1c84b11610cdae8e9319b8b6383f84fb4f4db3411b04455f9dd39af81a2804f2ca0113d395e618a2038530bfde97cf8e7546e41b62452c8c120 SHA512 747fca05ad33fc4d459726270f2418eca31e94c0841f57d69a6dc66de6b9dc8a80dcea0390f1e74a9f6262857080e2eebfebc08e79f75d5fd8fd7fc8f1f33c8d diff --git a/dev-embedded/openocd/openocd-0.12.0-r1.ebuild b/dev-embedded/openocd/openocd-0.12.0-r1.ebuild new file mode 100644 index 000000000000..37a77f103946 --- /dev/null +++ b/dev-embedded/openocd/openocd-0.12.0-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools udev + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI=" https://repo.or.cz/openocd.git" +else + MY_PV="${PV/_/-}" + MY_P="${PN}-${MY_PV}" + S="${WORKDIR}"/${MY_P} + KEYWORDS="amd64 ~arm x86" + SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${MY_PV}/${MY_P}.tar.gz" +fi + +DESCRIPTION="OpenOCD - Open On-Chip Debugger" +HOMEPAGE="https://openocd.sourceforge.io" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="capstone +cmsis-dap dummy +ftdi +jlink parport +usb verbose-io" +RESTRICT="strip" # includes non-native binaries + +RDEPEND=" + acct-group/plugdev + >=dev-lang/jimtcl-0.81:= + dev-libs/libgpiod:0/2 + capstone? ( dev-libs/capstone ) + cmsis-dap? ( dev-libs/hidapi ) + jlink? ( >=dev-embedded/libjaylink-0.2.0 ) + usb? ( virtual/libusb:1 ) + ftdi? ( dev-embedded/libftdi:= )" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-0.12.0-capstone-includedir.patch" +) + +src_prepare() { + default + + AT_NO_RECURSIVE=yes eautoreconf +} + +src_configure() { + local myconf=( + --enable-amtjtagaccel + --enable-am335xgpio + --enable-arm-jtag-ew + --enable-at91rm9200 + --enable-bcm2835gpio + --enable-buspirate + --enable-ep93xx + --enable-gw16012 + --enable-jtag_dpi + --enable-sysfsgpio + --enable-vdebug + --disable-internal-jimtcl + --disable-internal-libjaylink + --disable-parport-giveio + --disable-werror + $(use_with capstone) + $(use_enable cmsis-dap) + $(use_enable dummy) + $(use_enable ftdi openjtag) + $(use_enable ftdi presto) + $(use_enable ftdi usb-blaster) + $(use_enable jlink) + $(use_enable parport) + $(use_enable parport parport_ppdev) + $(use_enable usb aice) + $(use_enable usb armjtagew) + $(use_enable usb ftdi) + $(use_enable usb osbdm) + $(use_enable usb opendous) + $(use_enable usb rlink) + $(use_enable usb stlink) + $(use_enable usb ti-icdi) + $(use_enable usb usbprog) + $(use_enable usb usb-blaster-2) + $(use_enable usb ulink) + $(use_enable usb vsllink) + $(use_enable verbose-io verbose-jtag-io) + $(use_enable verbose-io verbose-usb-io) + $(use_enable verbose-io verbose_usb_comms) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + dostrip /usr/bin + udev_dorules "${ED}"/usr/share/${PN}/contrib/*.rules +} + +pkg_postinst() { + udev_reload + + elog "To access openocd devices as user you must be in the plugdev group" +} + +pkg_postrm() { + udev_reload +} diff --git a/dev-embedded/openocd/openocd-0.12.0.ebuild b/dev-embedded/openocd/openocd-0.12.0.ebuild deleted file mode 100644 index 51b608736e5a..000000000000 --- a/dev-embedded/openocd/openocd-0.12.0.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools udev - -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI=" https://repo.or.cz/openocd.git" -else - MY_PV="${PV/_/-}" - MY_P="${PN}-${MY_PV}" - S="${WORKDIR}"/${MY_P} - KEYWORDS="amd64 ~arm x86" - SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${MY_PV}/${MY_P}.tar.gz" -fi - -DESCRIPTION="OpenOCD - Open On-Chip Debugger" -HOMEPAGE="https://openocd.sourceforge.io" - -LICENSE="GPL-2+" -SLOT="0" -IUSE="capstone +cmsis-dap dummy +ftdi +jlink parport +usb verbose-io" -RESTRICT="strip" # includes non-native binaries - -RDEPEND=" - acct-group/plugdev - >=dev-lang/jimtcl-0.81:= - capstone? ( dev-libs/capstone ) - cmsis-dap? ( dev-libs/hidapi ) - jlink? ( >=dev-embedded/libjaylink-0.2.0 ) - usb? ( virtual/libusb:1 ) - ftdi? ( dev-embedded/libftdi:= )" - -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-0.12.0-capstone-includedir.patch" -) - -src_prepare() { - default - - AT_NO_RECURSIVE=yes eautoreconf -} - -src_configure() { - local myconf=( - --enable-amtjtagaccel - --enable-am335xgpio - --enable-arm-jtag-ew - --enable-at91rm9200 - --enable-bcm2835gpio - --enable-buspirate - --enable-ep93xx - --enable-gw16012 - --enable-jtag_dpi - --enable-sysfsgpio - --enable-vdebug - --disable-internal-jimtcl - --disable-internal-libjaylink - --disable-parport-giveio - --disable-werror - $(use_with capstone) - $(use_enable cmsis-dap) - $(use_enable dummy) - $(use_enable ftdi openjtag) - $(use_enable ftdi presto) - $(use_enable ftdi usb-blaster) - $(use_enable jlink) - $(use_enable parport) - $(use_enable parport parport_ppdev) - $(use_enable usb aice) - $(use_enable usb armjtagew) - $(use_enable usb ftdi) - $(use_enable usb osbdm) - $(use_enable usb opendous) - $(use_enable usb rlink) - $(use_enable usb stlink) - $(use_enable usb ti-icdi) - $(use_enable usb usbprog) - $(use_enable usb usb-blaster-2) - $(use_enable usb ulink) - $(use_enable usb vsllink) - $(use_enable verbose-io verbose-jtag-io) - $(use_enable verbose-io verbose-usb-io) - $(use_enable verbose-io verbose_usb_comms) - ) - - econf "${myconf[@]}" -} - -src_install() { - default - dostrip /usr/bin - udev_dorules "${ED}"/usr/share/${PN}/contrib/*.rules -} - -pkg_postinst() { - udev_reload - - elog "To access openocd devices as user you must be in the plugdev group" -} - -pkg_postrm() { - udev_reload -} diff --git a/dev-embedded/openocd/openocd-9999.ebuild b/dev-embedded/openocd/openocd-9999.ebuild index 57562d0c8fc5..669feebd09f8 100644 --- a/dev-embedded/openocd/openocd-9999.ebuild +++ b/dev-embedded/openocd/openocd-9999.ebuild @@ -17,7 +17,7 @@ else fi DESCRIPTION="OpenOCD - Open On-Chip Debugger" -HOMEPAGE="https://openocd.sourceforge.net" +HOMEPAGE="https://openocd.sourceforge.io" LICENSE="GPL-2+" SLOT="0" @@ -27,6 +27,7 @@ RESTRICT="strip" # includes non-native binaries RDEPEND=" acct-group/plugdev >=dev-lang/jimtcl-0.81:= + dev-libs/libgpiod:0/2 capstone? ( dev-libs/capstone ) cmsis-dap? ( dev-libs/hidapi ) jlink? ( >=dev-embedded/libjaylink-0.2.0 ) -- cgit v1.2.3