Compare commits

..

2 Commits

Author SHA1 Message Date
Mario Fetka
2d179f52e9 app-emulation/opencbm: update metadata
Package-Manager: Portage-3.0.30, Repoman-3.0.3
2022-04-05 10:52:08 +02:00
Mario Fetka
d7729715c9 app-emulation/opencbm: update metadata
Package-Manager: Portage-3.0.30, Repoman-3.0.3
2022-04-05 10:11:26 +02:00
5 changed files with 76 additions and 68 deletions

View File

@ -1,7 +1,14 @@
# ChangeLog for app-emulation/opencbm # ChangeLog for app-emulation/opencbm
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2022 Gentoo Authors; Distributed under the GPL v2
# $Header: $ # $Header: $
05 Apr 2022; Mario Fetka <mario.fetka@gmail.com> opencbm-0.4.99.104.ebuild,
opencbm-9999.ebuild:
app-emulation/opencbm: update metadata
05 Apr 2022; Mario Fetka <mario.fetka@gmail.com> metadata.xml:
app-emulation/opencbm: update metadata
06 Sep 2015; Mario Fetka <mario.fetka@gmail.com> opencbm-0.4.3_rc2.ebuild: 06 Sep 2015; Mario Fetka <mario.fetka@gmail.com> opencbm-0.4.3_rc2.ebuild:
Redigest Redigest

View File

@ -2,7 +2,7 @@ AUX 001_opencbm-0.4.99.98-ncurses6-1.patch 698 BLAKE2B 3d126aca22c4c1aa7cf6df35c
AUX Makefile 1003 BLAKE2B 9e6363f8fb20826f380bae087f461b0f87a2f118be223ca809c84dba7154c6493b8937d7a46437a1773afaf5ba58179d33f9599b0fc063ae53bd5f9984128fa5 SHA512 a15c0d5a962d183f6753844aad38ef111ba4c34a4a3c8f947142b7cb5f71868ed77e965317c5aed10b9e3b5a8cb978fdffd505dbc11a6868615e5f11b19b7bd1 AUX Makefile 1003 BLAKE2B 9e6363f8fb20826f380bae087f461b0f87a2f118be223ca809c84dba7154c6493b8937d7a46437a1773afaf5ba58179d33f9599b0fc063ae53bd5f9984128fa5 SHA512 a15c0d5a962d183f6753844aad38ef111ba4c34a4a3c8f947142b7cb5f71868ed77e965317c5aed10b9e3b5a8cb978fdffd505dbc11a6868615e5f11b19b7bd1
DIST nibtools-0.4.99.104-source.tar.gz 118200 BLAKE2B c0232c3e591fcc34979cf11663ec4e466d765cd423ef8e56a981c1fc6454c5c2315541961258840341d45a7639e0baad1877bd76e0b2bd9f8885bba72ee8cc87 SHA512 3936c5e68251f7f11a8d912374265ff150887efdf97eb86520413616b14ad689ef0eaa6f8f0b4b66b20e9e5b2733651784a263aafe2522093a39035ac35ec4da DIST nibtools-0.4.99.104-source.tar.gz 118200 BLAKE2B c0232c3e591fcc34979cf11663ec4e466d765cd423ef8e56a981c1fc6454c5c2315541961258840341d45a7639e0baad1877bd76e0b2bd9f8885bba72ee8cc87 SHA512 3936c5e68251f7f11a8d912374265ff150887efdf97eb86520413616b14ad689ef0eaa6f8f0b4b66b20e9e5b2733651784a263aafe2522093a39035ac35ec4da
DIST opencbm-0.4.99.104-source.tar.gz 13417312 BLAKE2B 1ba6e88c8765a161d6cb7a1c313c2db6cc885c616ac110c0833f59c93e2b2081e67ce730a7ead123a59b83133ddc2edf448de694c72ca582c3a155a463175027 SHA512 1c5c09ed2fd37a6db152eb9739739edee8b2200a4e02b219e982337eeb935cdac1125f59f235b5c3d1203bcd0701c2e9e35da9de921797f1617014f723de0faa DIST opencbm-0.4.99.104-source.tar.gz 13417312 BLAKE2B 1ba6e88c8765a161d6cb7a1c313c2db6cc885c616ac110c0833f59c93e2b2081e67ce730a7ead123a59b83133ddc2edf448de694c72ca582c3a155a463175027 SHA512 1c5c09ed2fd37a6db152eb9739739edee8b2200a4e02b219e982337eeb935cdac1125f59f235b5c3d1203bcd0701c2e9e35da9de921797f1617014f723de0faa
EBUILD opencbm-0.4.99.104.ebuild 3528 BLAKE2B 5020774685cb58ccd1bb15799c08922c2e4526b7a2aea6403c54f7436c06cf9f7494f38d094659cef81b5e11e12d67edf8caf123d7b3a98b07da4088f228aeae SHA512 7dcb2938a8532ca6fac35836e93c806a32c55ec857723cea870fe72b4d180273e29ceef485fc53d2227f84deecbfece5279170a96a5bfb12560c3a02bafa1af0 EBUILD opencbm-0.4.99.104.ebuild 3370 BLAKE2B 9990251e19349a5ca79f8925b047ab05062677ef78677b2d2a139ccff5a4add99341a9a2092057e37c150682c57706128651d6de391a9e3206eaa3e9aa942076 SHA512 8ec85812c968b89e82e840da724448644c1768d37d861d368cf6c20724c153bbb0d856449e1257c230f18ca2f1326de7cedd1c7dfd242f0eeb4dfc8a043b5541
EBUILD opencbm-9999.ebuild 3257 BLAKE2B 09c6923d0dc3a8992a0892f5fd371bd88ce2db3d8b8f53109e5f3e0fc8c610591005b5c6c02434b5e526feece95ef81faeb1cf78b65df1a2d1231a37057294cb SHA512 4e0169e145c136ff9145698fe337166b513a3b148903b6c560308748a1122f991ba3bb13057f4248ef9a3b62889a4883fbc1178bc1bee1cbbe13d79470872038 EBUILD opencbm-9999.ebuild 3370 BLAKE2B 9990251e19349a5ca79f8925b047ab05062677ef78677b2d2a139ccff5a4add99341a9a2092057e37c150682c57706128651d6de391a9e3206eaa3e9aa942076 SHA512 8ec85812c968b89e82e840da724448644c1768d37d861d368cf6c20724c153bbb0d856449e1257c230f18ca2f1326de7cedd1c7dfd242f0eeb4dfc8a043b5541
MISC ChangeLog 1019 BLAKE2B e98a63469dbe6af89e78a82020cc3f32ff90a6f9818592e11c5366bbf37c2f0d07cb72de876427e660261677a5acf8dcedc16491abf7770ce6210f0ce6c88121 SHA512 17c59cb8dd37b874de4f354f02c6d84582471475d7451a43cf9cc8982102e3a6a94aeae73799ac1e549343ee9dbac200799b3fee5edb3bd20927c6649de9b696 MISC ChangeLog 1266 BLAKE2B c0347d5e0361182d79816ff25a52e2d52c52cf932adab716503f8a738da6c0643d08f4d14b9315ea6a9f2bf8e056c1da91a2a2515684f85a8f204e16731a7a7e SHA512 d3cea999760ee90a45148f31963a532ce3ff6db7122b11b8b06ca094f3d936309a2c8cc90e15fc7af86bda40952b28667db403b30c26c0189a083f9bc447b466
MISC metadata.xml 226 BLAKE2B 168ec0c12fabd78e9c8fb3f5ebb90a3bb0f86ce0d3efd90cf476a500c63bf0d2f9968d131c7a47458518dfb4e67c1a934616cf04bebc9de56f5aea93ea2d5618 SHA512 5912920d8f6e9ee5126fb0aaa5717a562feb009cc59b759c6a6eaa909900b19e95e51e3aa7f32fdf2e77073b19878830b97947148e3adeff3b49e7555cfe29e9 MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c

View File

@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<herd>no-herd</herd> <maintainer type="person">
<maintainer>
<email>mario.fetka@gmail.com</email> <email>mario.fetka@gmail.com</email>
<description>Primary maintainer</description>
</maintainer>
<maintainer type="project">
<email>exampleproject@gentoo.org</email>
<name>Geos One Linamh Project</name>
</maintainer> </maintainer>
</pkgmetadata> </pkgmetadata>

View File

@ -1,6 +1,5 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="7" EAPI="7"
@ -9,30 +8,29 @@ inherit eutils toolchain-funcs linux-mod udev
if [[ ${PV} = 9999* ]]; then if [[ ${PV} = 9999* ]]; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://github.com/OpenCBM/OpenCBM.git" EGIT_REPO_URI="https://github.com/OpenCBM/OpenCBM.git"
KEYWORDS=""
else else
#SRC_URI="http://debian.trikaliotis.net/opencbm/opencbm_${PV}-1.tar.gz" #SRC_URI="http://debian.trikaliotis.net/opencbm/opencbm_${PV}-1.tar.gz"
#SRC_URI="http://www.trikaliotis.net/Download/opencbm-${PV}/opencbm-${PV}-source.tar.bz2" #SRC_URI="http://www.trikaliotis.net/Download/opencbm-${PV}/opencbm-${PV}-source.tar.bz2"
SRC_URI="https://github.com/OpenCBM/OpenCBM/archive/v${PV//./_}.tar.gz -> opencbm-${PV}-source.tar.gz SRC_URI="https://github.com/OpenCBM/OpenCBM/archive/v${PV//./_}.tar.gz -> opencbm-${PV}-source.tar.gz
https://github.com/OpenCBM/nibtools/tarball/master -> nibtools-${PV}-source.tar.gz" https://github.com/OpenCBM/nibtools/tarball/master -> nibtools-${PV}-source.tar.gz"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
fi fi
SDIR="include libmisc arch/linux lib cbmctrl cbmformat d64copy cbmcopy libtrans cbmforng d82copy demo/flash demo/morse demo/rpm1541 sample/libtrans cbmrpm41" SDIR="include libmisc arch/linux lib cbmctrl cbmformat d64copy cbmcopy libtrans cbmforng d82copy demo/flash demo/morse demo/rpm1541 sample/libtrans cbmrpm41"
DESCRIPTION="OpenCBM is a package to control and use serial devices as used by most Commodore (CBM) 8-bit mach" DESCRIPTION="OpenCBM is a tool to use serial devices as used by most Commodore (CBM) machines"
HOMEPAGE="http://opencbm.trikaliotis.net/" HOMEPAGE="http://opencbm.trikaliotis.net/"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
#KEYWORDS=""
IUSE="doc" IUSE="doc"
DEPEND="virtual/linux-sources DEPEND="virtual/linux-sources
dev-embedded/cc65 dev-embedded/cc65
app-text/linuxdoc-tools app-text/linuxdoc-tools
app-text/docbook-xml-dtd:4.1.2 app-text/docbook-xml-dtd:4.1.2
dev-libs/libusb-compat" virtual/libusb:0"
S="${WORKDIR}"/OpenCBM-${PV//./_} S="${WORKDIR}"/OpenCBM-${PV//./_}
@ -52,13 +50,13 @@ src_prepare() {
sed -e 's,^PREFIX.*,PREFIX = /usr,' \ sed -e 's,^PREFIX.*,PREFIX = /usr,' \
-e 's,/man/man1,/share/man/man1,g' \ -e 's,/man/man1,/share/man/man1,g' \
-e 's,etc/udev/rules.d,lib/udev/rules.d,g' \ -e 's,etc/udev/rules.d,lib/udev/rules.d,g' \
-e 's,/info,/share/info,g' -i ${S}/opencbm/LINUX/config.make -e 's,/info,/share/info,g' -i "${S}"/opencbm/LINUX/config.make
# sed correct path # sed correct path
sed -e 's,xa1541 opencbm/sys/linux/,xa1541,g' \ sed -e 's,xa1541 opencbm/sys/linux/,xa1541,g' \
-e 's,etc/udev/rules.d,lib/udev/rules.d,g' -i ${S}/LINUX/Makefile -e 's,etc/udev/rules.d,lib/udev/rules.d,g' -i "${S}"/LINUX/Makefile
# copy module makefile that don't intefer with gentoo kernel build system # copy module makefile that don't intefer with gentoo kernel build system
cp ${FILESDIR}/Makefile ${S}/opencbm/sys/linux/Makefile cp "${FILESDIR}"/Makefile "${S}"/opencbm/sys/linux/Makefile
cp -r "${WORKDIR}"/OpenCBM-nibtools-*/* ${S}/opencbm/nibtools/ cp -r "${WORKDIR}"/OpenCBM-nibtools-*/* "${S}"/opencbm/nibtools/
eapply_user eapply_user
} }
@ -78,23 +76,22 @@ src_install() {
newexe debian/install_plugin.sh install_plugin newexe debian/install_plugin.sh install_plugin
insinto lib/udev/rules.d insinto lib/udev/rules.d
newins opencbm/sys/linux/45-opencbm-xa1541.rules 45-opencbm-xa1541.rules newins opencbm/sys/linux/45-opencbm-xa1541.rules 45-opencbm-xa1541.rules
rm -rf ${D}/var rm -rf "${D}"/var
linux-mod_src_install linux-mod_src_install
generate_modulesd generate_modulesd
# exit 1
} }
pkg_postinst() { pkg_postinst() {
linux-mod_pkg_postinst linux-mod_pkg_postinst
${EROOT}/usr/lib/opencbm/install_plugin install xa1541 "${EROOT}"/usr/lib/opencbm/install_plugin install xa1541
${EROOT}/usr/lib/opencbm/install_plugin install xu1541 "${EROOT}"/usr/lib/opencbm/install_plugin install xu1541
${EROOT}/usr/lib/opencbm/install_plugin install xum1541 "${EROOT}"/usr/lib/opencbm/install_plugin install xum1541
} }
pkg_prerm() { pkg_prerm() {
${EROOT}/usr/lib/opencbm/install_plugin uninstall xa1541 "${EROOT}"/usr/lib/opencbm/install_plugin uninstall xa1541
${EROOT}/usr/lib/opencbm/install_plugin uninstall xu1541 "${EROOT}"/usr/lib/opencbm/install_plugin uninstall xu1541
${EROOT}/usr/lib/opencbm/install_plugin uninstall xum1541 "${EROOT}"/usr/lib/opencbm/install_plugin uninstall xum1541
} }
pkg_postrm() { pkg_postrm() {

View File

@ -1,6 +1,5 @@
# Copyright 1999-2015 Gentoo Foundation # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="7" EAPI="7"
@ -9,29 +8,29 @@ inherit eutils toolchain-funcs linux-mod udev
if [[ ${PV} = 9999* ]]; then if [[ ${PV} = 9999* ]]; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://github.com/OpenCBM/OpenCBM.git" EGIT_REPO_URI="https://github.com/OpenCBM/OpenCBM.git"
KEYWORDS=""
else else
#SRC_URI="http://debian.trikaliotis.net/opencbm/opencbm_${PV}-1.tar.gz" #SRC_URI="http://debian.trikaliotis.net/opencbm/opencbm_${PV}-1.tar.gz"
#SRC_URI="http://www.trikaliotis.net/Download/opencbm-${PV}/opencbm-${PV}-source.tar.bz2" #SRC_URI="http://www.trikaliotis.net/Download/opencbm-${PV}/opencbm-${PV}-source.tar.bz2"
SRC_URI="https://github.com/OpenCBM/OpenCBM/archive/v${PV//./_}.tar.gz -> opencbm-${PV}-source.tar.gz" SRC_URI="https://github.com/OpenCBM/OpenCBM/archive/v${PV//./_}.tar.gz -> opencbm-${PV}-source.tar.gz
https://github.com/OpenCBM/nibtools/tarball/master -> nibtools-${PV}-source.tar.gz"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
fi fi
SDIR="include libmisc arch/linux lib cbmctrl cbmformat d64copy cbmcopy libtrans cbmforng d82copy demo/flash demo/morse demo/rpm1541 sample/libtrans cbmrpm41" SDIR="include libmisc arch/linux lib cbmctrl cbmformat d64copy cbmcopy libtrans cbmforng d82copy demo/flash demo/morse demo/rpm1541 sample/libtrans cbmrpm41"
DESCRIPTION="OpenCBM is a package to control and use serial devices as used by most Commodore (CBM) 8-bit mach" DESCRIPTION="OpenCBM is a tool to use serial devices as used by most Commodore (CBM) machines"
HOMEPAGE="http://opencbm.trikaliotis.net/" HOMEPAGE="http://opencbm.trikaliotis.net/"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
#KEYWORDS="~amd64 ~ppc ~sparc ~x86"
KEYWORDS=""
IUSE="doc" IUSE="doc"
DEPEND="virtual/linux-sources DEPEND="virtual/linux-sources
dev-embedded/cc65 dev-embedded/cc65
app-text/linuxdoc-tools app-text/linuxdoc-tools
app-text/docbook-xml-dtd:4.1.2 app-text/docbook-xml-dtd:4.1.2
dev-libs/libusb-compat" virtual/libusb:0"
S="${WORKDIR}"/OpenCBM-${PV//./_} S="${WORKDIR}"/OpenCBM-${PV//./_}
@ -51,17 +50,19 @@ src_prepare() {
sed -e 's,^PREFIX.*,PREFIX = /usr,' \ sed -e 's,^PREFIX.*,PREFIX = /usr,' \
-e 's,/man/man1,/share/man/man1,g' \ -e 's,/man/man1,/share/man/man1,g' \
-e 's,etc/udev/rules.d,lib/udev/rules.d,g' \ -e 's,etc/udev/rules.d,lib/udev/rules.d,g' \
-e 's,/info,/share/info,g' -i ${S}/opencbm/LINUX/config.make -e 's,/info,/share/info,g' -i "${S}"/opencbm/LINUX/config.make
# sed correct path # sed correct path
sed -e 's,xa1541 opencbm/sys/linux/,xa1541,g' \ sed -e 's,xa1541 opencbm/sys/linux/,xa1541,g' \
-e 's,etc/udev/rules.d,lib/udev/rules.d,g' -i ${S}/LINUX/Makefile -e 's,etc/udev/rules.d,lib/udev/rules.d,g' -i "${S}"/LINUX/Makefile
# copy module makefile that don't intefer with gentoo kernel build system # copy module makefile that don't intefer with gentoo kernel build system
cp ${FILESDIR}/Makefile ${S}/opencbm/sys/linux/Makefile cp "${FILESDIR}"/Makefile "${S}"/opencbm/sys/linux/Makefile
cp -r "${WORKDIR}"/OpenCBM-nibtools-*/* "${S}"/opencbm/nibtools/
eapply_user eapply_user
} }
src_compile() { src_compile() {
emake -j1 -f LINUX/Makefile CC="$(tc-getCC)" AR="$(tc-getAR)" LIBDIR="/usr/$(get_libdir)" all || die "make fail" emake -j1 -f LINUX/Makefile CC="$(tc-getCC)" AR="$(tc-getAR)" LIBDIR="/usr/$(get_libdir)" all || die "make fail"
emake -j1 -f LINUX/Makefile CC="$(tc-getCC)" AR="$(tc-getAR)" LIBDIR="/usr/$(get_libdir)" opencbm || die "make fail"
linux-mod_src_compile linux-mod_src_compile
} }
@ -75,23 +76,22 @@ src_install() {
newexe debian/install_plugin.sh install_plugin newexe debian/install_plugin.sh install_plugin
insinto lib/udev/rules.d insinto lib/udev/rules.d
newins opencbm/sys/linux/45-opencbm-xa1541.rules 45-opencbm-xa1541.rules newins opencbm/sys/linux/45-opencbm-xa1541.rules 45-opencbm-xa1541.rules
rm -rf ${D}/var rm -rf "${D}"/var
linux-mod_src_install linux-mod_src_install
generate_modulesd generate_modulesd
# exit 1
} }
pkg_postinst() { pkg_postinst() {
linux-mod_pkg_postinst linux-mod_pkg_postinst
${EROOT}/usr/lib/opencbm/install_plugin install xa1541 "${EROOT}"/usr/lib/opencbm/install_plugin install xa1541
${EROOT}/usr/lib/opencbm/install_plugin install xu1541 "${EROOT}"/usr/lib/opencbm/install_plugin install xu1541
${EROOT}/usr/lib/opencbm/install_plugin install xum1541 "${EROOT}"/usr/lib/opencbm/install_plugin install xum1541
} }
pkg_prerm() { pkg_prerm() {
${EROOT}/usr/lib/opencbm/install_plugin uninstall xa1541 "${EROOT}"/usr/lib/opencbm/install_plugin uninstall xa1541
${EROOT}/usr/lib/opencbm/install_plugin uninstall xu1541 "${EROOT}"/usr/lib/opencbm/install_plugin uninstall xu1541
${EROOT}/usr/lib/opencbm/install_plugin uninstall xum1541 "${EROOT}"/usr/lib/opencbm/install_plugin uninstall xum1541
} }
pkg_postrm() { pkg_postrm() {