Commit 7101366a authored by Kawin Nikomborirak's avatar Kawin Nikomborirak

add waveforms

parent faa5082c
DIST digilent.adept.runtime_2.16.6-i686.tar.gz 5320285 SHA256 3c2647383585e7a63cadde46cc529193487c293321974f6d97eafddd8a0fa09d SHA512 690e2d7ddf7837b9d99d1934ec140b0b03a257baa38c4e96601fac90acbd422bf8425894dad8c561a3af9156b5074f9adf5f515d20d19a4c46e3a685b4046141 WHIRLPOOL b24a6c680a986dba231f17e57626b7db43f57b3f16b49f9e3d6a9532620d009bbee6dece4424a486d6754b2bd1f49c905c1d90c147b11929ca400a7d54d2eeff
DIST digilent.adept.runtime_2.16.6-x86_64.tar.gz 5576038 SHA256 920caedfc76be26132c81661ff6d093b7fa379ae7b6a516380cae7e0e3b1a6c7 SHA512 178ebf200f4946d8f76e47b864b2f64abdcb41fbb85df46888b64614d984a395979a7fffa8db7858937b1f66daf00982d874efac945749bacf705f94b5def124 WHIRLPOOL 059d198e0ef10e85707027cba94eaa790a6c691fc6cf6451d3b1b854a3beda8e9b8fa363c975350789bdb7a8e23d0e95b2299569705fd14c364142ab6f7836ff
EBUILD adept-runtime-2.16.6.ebuild 1015 SHA256 6ac057c0f8a40f6ff3a69419dbf8d74c27293a16255b49be743e3e06e0f00187 SHA512 09e773f2941966086bf1b7f30ba1c9b5cae14d4214f2eeeb1cda651fcb7773056e1b5fb5d125b71e159cac528bd4eff3b37363ff8fd698241de24a09e6fb923d WHIRLPOOL 82e312e933d1f21e03ccfbf12728a48a590ba75fe14ce81cca78522893783b94e93f437509c85075c55555bee8a9f9689f5f833658b425a2bf9f06836fea6cbd
EBUILD adept-runtime-2.16.6.ebuild 1488 SHA256 5c0206b5ec458d156ede2918e5ed37752a00107e206a0c67c78d82067ee3ad22 SHA512 84679cb31edf185fc954091eb9c8d5085648adedbed4071b84de0b370c58b71c09501281af6debcfc20521cf0318a1733dde2870c0869fd9dc460349823a1ce4 WHIRLPOOL e1575be31c41ae20dd67d057a99e98276b63d9d68add06c93b932271c7c698a05e0f5c446ab2e55d458275c9cfe8c72d9fb4376f541d8cf557e142147b1a19fd
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
SRC_URI="http://files.digilent.com/Software/Adept2+Runtime/2.16.6/digilent.adept.runtime_${PV}-x86_64.tar.gz"
DESCRIPTION='Digilent runtime'
inherit udev
SRC_URI="
amd64? ( http://files.digilent.com/Software/Adept2+Runtime/${PV}/digilent.adept.runtime_${PV}-x86_64.tar.gz )
x86? ( http://files.digilent.com/Software/Adept2+Runtime/${PV}/digilent.adept.runtime_${PV}-i686.tar.gz )
"
DESCRIPTION="Digilent runtime"
SLOT=0
HOMEPAGE='https://reference.digilentinc.com/reference/software/adept/start'
LICENSE='adept-runtime'
KEYWORDS="~amd64"
S=${WORKDIR}/digilent.adept.runtime_2.16.6-x86_64
HOMEPAGE="https://reference.digilentinc.com/reference/software/adept/start"
LICENSE="adept-runtime"
KEYWORDS="-* ~amd64 ~x86"
src_unpack() {
default
if use amd64; then
mv "${WORKDIR}/digilent.adept.runtime_${PV}-x86_64" "${S}" || die
else
mv "${WORKDIR}/digilent.adept.runtime_${PV}-i686" "${S}" || die
fi
}
src_install() {
dolib lib64/*
dosbin bin64/dftdrvdtch
exeinto /usr/$(get_libdir)/digilent/adept
if use amd64; then
doexe lib64/*
dosbin bin64/dftdrvdtch
else
doexe lib/*
dosbin bin/dftdrvdtch
fi
insinto /etc/ld.so.conf.d
doins digilent-adept-libraries.conf
insinto /etc/ld.so.conf.d
doins digilent-adept-libraries.conf
exeinto /usr/share/digilent/adept/data/firmware
doins data/firmware/*.HEX
doexe data/firmware/*.so
insinto /usr/share/digigent/adept/data/firmware
doins data/firmware/*.HEX
exeinto /usr/share/digigent/adept/data/firmware
doexe data/firmware/*.so
doexe data/firmware/*.so*
insinto /usr/share/digilent/adept/data
doins data/jtscdvclist.txt
insinto /usr/share/digilent/adept/data
doins data/jtscdvclist.txt
insinto /usr/share/digilent/adept/data/xpla3
doins data/xpla3/*.map
insinto /usr/share/digilent/adept/data/xpla3
doins data/xpla3/*.map
insinto /usr/share/digilent/adept/data/xbr
doins data/xbr/*.map
insinto /usr/share/digilent/adept/data/xbr
doins data/xbr/*.map
insinto /etc
doins digilent-adept.conf
insinto /etc
doins digilent-adept.conf
udev_dorules 52-digilent-usb.rules
}
pkg_postinst() {
udev_reload
}
insinto /etc/udev/rules.d
doins 52-digilent-usb.rules
pkg_postrm() {
[[ -z "${REPLACING_VERSIONS}" ]] && udev_reload
}
DIST digilent.waveforms_3.6.8.x86_64.rpm 35514068 SHA256 cb3ce0681efe127181a851b5e6af290af51074c28495e1254b9b26c11f937ca2 SHA512 f053114fecbf40b4c437c64cc440dca7c804a0bd1205c6369824df551e4b05603772e8202a961bce40a49e58735e895d4ac7749e671be4496408259e52273eb0 WHIRLPOOL e1ad12b6679156f259aeabd6c8b65d06839b38b76653908512c75c268de66a518a492b821839b42bb27c8cffdd7b272183bc632e21308cec18bf643286f5608f
EBUILD waveforms-3.6.8.ebuild 1473 SHA256 edb04bea1ef34a3c9f047aebb7a3f8b050c9c7cba478d8e01e22e63aa1cd9b8a SHA512 f05d127e7af977bfc12f5b3f3d7d42d302b7ed0b9ddc38c21b96110182dafc299a4c75f1359b1dbf3f1682f7e6b6b7b88b2204656b62957caf67491361bf02ed WHIRLPOOL cced1ce2d6e48c8d473f93d648c0e8135aa5afe6bebecc5650fa6d7e74972e1978b431004c4f342933441959f45b411281b05051283d8283450547812626322c
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rpm
SRC_URI="http://files.digilent.com/Software/Waveforms2015/${PV}/digilent.waveforms_${PV}.x86_64.rpm"
DESCRIPTION='Digilent runtime'
SLOT=0
HOMEPAGE='https://reference.digilentinc.com/reference/software/adept/start'
LICENSE='waveforms'
KEYWORDS="~amd64"
RDEPEND="sci-electronics/adept-runtime"
DEPEND="${RDEPEND}"
src_unpack() {
rpm_src_unpack ${A}
mv usr ${S}
}
src_install() {
dobin bin/*
dodoc -r share/doc/digilent.waveforms
doheader -r include/digilent
into /usr/share/man/man1
doman share/man/man1/*
into /usr/lib
dolib.so lib/*.so
dolib.so lib/*.so.*
into /usr/lib/digilent/waveforms/audio
dolib.so lib/digilent/waveforms/audio/*.so
into /usr/lib/digilent/waveforms/imageformats
dolib.so lib/digilent/waveforms/imageformats/*.so
into /usr/lib/digilent/waveforms/mediaservice
dolib.so lib/digilent/waveforms/mediaservice/*.so
into /usr/lib/digilent/waveforms/platforms
dolib.so lib/digilent/waveforms/platforms/*.so
into /usr/lib/digilent/waveforms/qtlibs
dolib.so lib/digilent/waveforms/qtlibs/*.so.*
exeinto /usr/lib/digilent/waveforms
doexe lib/digilent/waveforms/*
insinto /usr/share/applications
doins share/applications/*
insinto /usr/share
doins -r share/digilent
doins -r share/lintian
doins -r share/mime
}
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