Commit 5c3fddd5 authored by Kawin Nikomborirak's avatar Kawin Nikomborirak

Remove teensyduino and arduino-mk

I no longer use these
parent 4f3cf56a
DIST 1.6.0.tar.gz 65734 BLAKE2B 7a623ff931fd459bb3e825c7a50df2b9affccbaf69738f8d661f10851f34a3d622938c9ec9aa46a025e72b245ed574c192245d2fa84632b6eca03fb0807380db SHA512 614f9e93f7127cafbee80d665fdbcd2ae1ce79204c3deefd2d601327a8d8a5637462b58feab9fd8ad540af99b1b7ffc8e81b03c25a6df614589c632270236e16
EBUILD arduino-mk-1.6.0.ebuild 871 BLAKE2B 3bce2eac3deb9576a45432529372a8a8b61ea7de980dd0fa634ff647a4f92cb24388582c3a6eb2cb8bd52f3766bc23e4f3180ccdf22b72b4ab6d065c0e5fdfb0 SHA512 96052c817dd5bbb8aaa4dc084f49163645b2becd8134ffc03397b24d37289e7af728b11cdb9f1d73853927a5c004db4536de4944f4e6951b1377e967b23dc784
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
MY_PN="Arduino-Makefile"
DESCRIPTION="Makefile for Arduino sketches."
HOMEPAGE="https://github.com/sudar/Arduino-Makefile"
SRC_URI="https://github.com/sudar/${MY_PN}/archive/${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
COMMONDEP="
dev-embedded/arduino
dev-python/pyserial"
RDEPEND="${COMMONDEP}
dev-embedded/avrdude"
DEPEND="${COMMONDEP}"
src_unpack(){
unpack ${A}
cd ../"${S}"
mv ${MY_PN}-${PV} ${PN}-${PV}
}
src_install(){
dobin bin/ard-reset-arduino
insinto /usr/share/arduino
doins Arduino.mk Common.mk arduino-mk-vars.md chipKIT.mk
if use doc; then
dodoc HISTORY.md ard-reset-arduino.1 README.md
fi
if use examples; then
insinto /usr/share/doc/"${P}"/
doins -r examples
fi
}
AUX 49-teensy.rules 1781 BLAKE2B 9facfa0a188c93bebfa05d83f4f76edbdb6be4ddcbba6f1ea3f9ac3867606ac2a02df616c127c2786910105c3128b958b6e9bb2fc7d06e2052119622e349fcc6 SHA512 ec4632c7f9999e32b0276eed7cca9360f2d0856136be41c953a94d839d9f34b33fa33017ceef13c458b043e729ba61779d7326ece6c1b8d2d1bcec26f01f08d0
DIST teensyduino-1.40-linux32.tar.xz 155146880 BLAKE2B 3085c1381f6e4de086574a7dc155102a6bc64e1d02eaab927980b352294369584ce19493a255d9b925b4ce30563fe957fff24c4ff5a6b047ef2f8fbfcab85244 SHA512 4df7209aefb74bd0526e579c2b0b2ac58cf745c3844b6e2985affcb63909e1b8a88e85d301f70d191d07560ed0f96c37840f739df336170cfc8e5b5bcb8ec6a2
DIST teensyduino-1.40-linux64.tar.xz 154200368 BLAKE2B 66301ebbdcbadff3ff2cca2e1d38fe6b996568d5b52d6d646e5fa444f1440166cb4f81f825f794d9e095c572e44189d70de18bd2bd19da188e66ee0afe669771 SHA512 10b4d8fd1e3db5afed3808f76697b18826deaede5a38764bce64baedd88e3f81d5a141c8f42081e201ae0530c77110aee8676b742fa647aaa6ddf8b3dda71cdf
EBUILD teensyduino-bin-1.40.ebuild 1506 BLAKE2B 4f53aa5d32d579bc0545d6e6cc916a1c445613cbb96d8891c044d0ddfd27a74318069f43f60551e867206ed74240c7fbd44c09c84c47bb6e2661ff4b8f5c3240 SHA512 6c63be7cf9197eb5744fba687525317dedb181dabe3bc2456c1558777f02dec2d57cfa4588eaad2f4425f22b22e461da28d718900bc5bb3eb78bfa997daa60a4
# UDEV Rules for Teensy boards, http://www.pjrc.com/teensy/
#
# The latest version of this file may be found at:
# http://www.pjrc.com/teensy/49-teensy.rules
#
# This file must be placed at:
#
# /etc/udev/rules.d/49-teensy.rules (preferred location)
# or
# /lib/udev/rules.d/49-teensy.rules (req'd on some broken systems)
#
# To install, type this command in a terminal:
# sudo cp 49-teensy.rules /etc/udev/rules.d/49-teensy.rules
#
# Or use the alternate way (from this forum message) to download and install:
# https://forum.pjrc.com/threads/45595?p=150445&viewfull=1#post150445
#
# After this file is installed, physically unplug and reconnect Teensy.
#
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789A]?", ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789ABCD]?", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", MODE:="0666"
#
# If you share your linux system with other users, or just don't like the
# idea of write permission for everybody, you can replace MODE:="0666" with
# OWNER:="yourusername" to create the device owned by you, or with
# GROUP:="somegroupname" and mange access using standard unix groups.
#
#
# If using USB Serial you get a new device each time (Ubuntu 9.10)
# eg: /dev/ttyACM0, ttyACM1, ttyACM2, ttyACM3, ttyACM4, etc
# apt-get remove --purge modemmanager (reboot may be necessary)
#
# Older modem proding (eg, Ubuntu 9.04) caused very slow serial device detection.
# To fix, add this near top of /lib/udev/rules.d/77-nm-probe-modem-capabilities.rules
# SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", GOTO="nm_modem_probe_end"
#
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils udev versionator
DESCRIPTION="USB-based electronics prototyping platform compatible with Arduino"
HOMEPAGE="https://www.pjrc.com/teensy/"
MY_PV="$(replace_all_version_separators '')"
MY_PN="${PN/-bin}"
MY_P="${MY_PN}-${PV}"
ARDUINO_PN="arduino"
ARDUINO_PV="1.8.5"
ARDUINO_P="${ARDUINO_PN}-${ARDUINO_PV}"
SRC_URI="
amd64? ( https://file.fooster.io/overlay/${MY_P}-linux64.tar.xz )
x86? ( https://file.fooster.io/overlay/${MY_P}-linux32.tar.xz )
"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="virtual/libusb:0"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
RESTRICT="binchecks preserve-libs strip"
src_unpack() {
if use amd64; then
unpack "${MY_P}"-linux64.tar.xz
else
unpack "${MY_P}"-linux32.tar.xz
fi
cp "${FILESDIR}"/49-teensy.rules "${WORKDIR}" || die
}
src_install() {
newicon lib/arduino.png "${MY_PN}".png
make_desktop_entry "${MY_PN}" Teensyduino "${MY_PN}"
mkdir -p "${D}"/opt/"${PN}" || die
cp -a * "${D}"/opt/"${PN}" || die
make_wrapper ${MY_PN} "${EROOT}opt/${PN}/${ARDUINO_PN}" "${EROOT}opt/${PN}"
udev_dorules "${WORKDIR}"/49-teensy.rules
}
pkg_postinst() {
udev_reload
elog "Initial setup for your Teensy requires you to plug in the board,"
elog "verify a sketch, then press the reset button on the board. After"
elog "that, you can use the upload button."
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment