diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2009-02-04 13:24:36 +0100 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2009-02-04 13:24:36 +0100 |
commit | 207ac31a221c2ef1108c8784caa6a3cb8482f971 (patch) | |
tree | 34705765274c311b184ca6a778fcb18e049089e8 /sci-misc | |
parent | changed to ~arch (diff) | |
download | lordvan-207ac31a221c2ef1108c8784caa6a3cb8482f971.tar.gz lordvan-207ac31a221c2ef1108c8784caa6a3cb8482f971.tar.bz2 lordvan-207ac31a221c2ef1108c8784caa6a3cb8482f971.zip |
added varicad viewer stuff, fixed digest and removed wtk stuff
Diffstat (limited to 'sci-misc')
21 files changed, 588 insertions, 0 deletions
diff --git a/sci-misc/varicad-viewer-de/ChangeLog b/sci-misc/varicad-viewer-de/ChangeLog new file mode 100644 index 0000000..0b74865 --- /dev/null +++ b/sci-misc/varicad-viewer-de/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sci-misc/varicad-viewer-de +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*varicad-viewer-de-3.04 (04 Feb 2009) + varicad-viewer-de-3.04.ebuild + Added ebuild for German VariCAD viewer (both amd64 and x86) + diff --git a/sci-misc/varicad-viewer-de/ChangeLog~ b/sci-misc/varicad-viewer-de/ChangeLog~ new file mode 100644 index 0000000..099d569 --- /dev/null +++ b/sci-misc/varicad-viewer-de/ChangeLog~ @@ -0,0 +1,4 @@ +# ChangeLog for sci-misc/varicad-viewer-de +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + diff --git a/sci-misc/varicad-viewer-de/Manifest b/sci-misc/varicad-viewer-de/Manifest new file mode 100644 index 0000000..699dc9d --- /dev/null +++ b/sci-misc/varicad-viewer-de/Manifest @@ -0,0 +1,4 @@ +DIST varicad2008-view-de_3.04_amd64.deb 14517512 RMD160 6a909e4fd66b21bb84d0f0cc170e86a3581108a1 SHA1 aa68144efbd7d945f7ab887629a339860f70eb0b SHA256 67d87c366d4941db8681b42ee2acd80c31e9a941367f9c6abc0353ebca95ef08 +DIST varicad2008-view-de_3.04_i386.deb 14528286 RMD160 d4bf86f42870f351b64c5fc24b838e23bc8311b9 SHA1 8ec19e63f7580cd7f698670eab903c5d0020aa7a SHA256 8092780113e4a3ed020633cee22bac5a7580047bc343886b176d0aa15073ffec +EBUILD varicad-viewer-de-3.04.ebuild 2055 RMD160 99d64faa8cfe197bb1be8eddcd84048d5e7718cb SHA1 43e6e76e425cd3bf9ab26aa9c122054bbf48795c SHA256 142a144eb4256adb5552f47b76227f41aedd273d101d858b4440a64f8b883301 +MISC ChangeLog 262 RMD160 cf59bbef185be2f1554d5e97267041a0f71acacf SHA1 253059d0cd56ca6fb5c974ed0a78fee4d6c101ad SHA256 054f2e4de17e4b5f4e7c043334c06aa971ac5ea108d5caaf38a16b8157492b5a diff --git a/sci-misc/varicad-viewer-de/varicad-viewer-de-3.04.ebuild b/sci-misc/varicad-viewer-de/varicad-viewer-de-3.04.ebuild new file mode 100644 index 0000000..7757717 --- /dev/null +++ b/sci-misc/varicad-viewer-de/varicad-viewer-de-3.04.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="VeriCAD viewer (German)." +HOMEPAGE="http://www.vericad.de/" +SRC_URI="x86? ( varicad2008-view-de_${PV}_i386.deb ) + amd64? ( varicad2008-view-de_${PV}_amd64.deb )" + +LICENSE="" +SLOT="0" + +# NOTE: varicad binaries are supplied just pre-stripped. +RESTRICT="fetch strip" + +KEYWORDS="~amd64 ~x86" + +RDEPEND="!sci-misc/varicad-viewer + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXrender + x11-libs/libXt + virtual/opengl" + +S="${WORKDIR}" + +pkg_nofetch() { + echo + eerror "Please go to: http://www.varicad.de/" + eerror + eerror "and download the VariCAD Viewer for Linux 2008 ${PV}" + eerror " Debian package for your platform" + eerror "After downloading it, put the .deb into:" + eerror " ${DISTDIR}" + echo +} + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz + cd "${S}" + + # removing not necessary content + rm control.tar.gz data.tar.gz debian-binary \ + opt/VariCAD-View/desktop/*.sh \ + usr/share/menu/varicad2008-view-de \ + opt/VariCAD-View/desktop/varicadview.mdkmenu \ + opt/VariCAD-View/desktop/varicadview.wmconfig + + # NOTE: we need to strip some (useless) quotes + sed -i \ + -e "s:\"::g" opt/VariCAD-View/desktop/varicadview.desktop \ + || die "seding varicadview.desktop failed" +} + +src_install() { + # creating the desktop menu + domenu opt/VariCAD-View/desktop/varicadview.desktop || die "domenu failed." + domenu opt/VariCAD-View/desktop/x-varicadview.desktop || die "domenu mime-type failed." + doicon opt/VariCAD-View/desktop/{varicadview_*.png,varicadview.xpm} || die "doicon failed." + rm opt/VariCAD-View/desktop/*.desktop \ + opt/VariCAD-View/desktop/varicadview_*.png + rm -r opt/VariCAD-View/desktop + + # installing the docs + dodoc usr/share/doc/varicad2008-view-de/{README-en.txt,README.Debian,copyright,changelog.gz} + rm usr/share/doc/varicad2008-view-de/* + + # installing VariCAD + cp -pPR * "${D}"/ || die "installing data failed" +}
\ No newline at end of file diff --git a/sci-misc/varicad-viewer/.svn/all-wcprops b/sci-misc/varicad-viewer/.svn/all-wcprops new file mode 100644 index 0000000..87579f3 --- /dev/null +++ b/sci-misc/varicad-viewer/.svn/all-wcprops @@ -0,0 +1,29 @@ +K 25 +svn:wc:ra_dav:version-url +V 72 +/svnroot/wtk-overlay/!svn/ver/545/wtk-scientific/sci-misc/varicad-viewer +END +metadata.xml +K 25 +svn:wc:ra_dav:version-url +V 85 +/svnroot/wtk-overlay/!svn/ver/527/wtk-scientific/sci-misc/varicad-viewer/metadata.xml +END +Manifest +K 25 +svn:wc:ra_dav:version-url +V 81 +/svnroot/wtk-overlay/!svn/ver/545/wtk-scientific/sci-misc/varicad-viewer/Manifest +END +ChangeLog +K 25 +svn:wc:ra_dav:version-url +V 82 +/svnroot/wtk-overlay/!svn/ver/527/wtk-scientific/sci-misc/varicad-viewer/ChangeLog +END +varicad-viewer-3.03.ebuild +K 25 +svn:wc:ra_dav:version-url +V 99 +/svnroot/wtk-overlay/!svn/ver/545/wtk-scientific/sci-misc/varicad-viewer/varicad-viewer-3.03.ebuild +END diff --git a/sci-misc/varicad-viewer/.svn/entries b/sci-misc/varicad-viewer/.svn/entries new file mode 100644 index 0000000..1ff3059 --- /dev/null +++ b/sci-misc/varicad-viewer/.svn/entries @@ -0,0 +1,167 @@ +9 + +dir +705 +https://wtk-overlay.svn.sourceforge.net/svnroot/wtk-overlay/wtk-scientific/sci-misc/varicad-viewer +https://wtk-overlay.svn.sourceforge.net/svnroot/wtk-overlay + + + +2008-01-21T15:34:24.595892Z +545 +toffanin_mauro + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + +b5dcc44f-b418-0410-b2f3-b4e452b682c6 + +metadata.xml +file + + + + +2008-12-02T14:17:14.000000Z +717f9f252ee630e7663ac2edd554e974 +2007-12-17T12:46:35.435211Z +527 +toffanin_mauro +has-props + + + + + + + + + + + + + + + + + + + + +590 + +files +dir + +Manifest +file + + + + +2008-12-02T14:17:14.000000Z +bfe599fab947f3af21a58dfca023d96f +2008-01-21T15:34:24.595892Z +545 +toffanin_mauro + + + + + + + + + + + + + + + + + + + + + +1714 + +ChangeLog +file + + + + +2008-12-02T14:17:14.000000Z +d41d8cd98f00b204e9800998ecf8427e +2007-12-17T12:46:35.435211Z +527 +toffanin_mauro + + + + + + + + + + + + + + + + + + + + + +0 + +varicad-viewer-3.03.ebuild +file + + + + +2008-12-02T14:17:14.000000Z +a5a19e3157f76deff3edde3cce74696d +2008-01-21T15:34:24.595892Z +545 +toffanin_mauro + + + + + + + + + + + + + + + + + + + + + +2029 + diff --git a/sci-misc/varicad-viewer/.svn/format b/sci-misc/varicad-viewer/.svn/format new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/sci-misc/varicad-viewer/.svn/format @@ -0,0 +1 @@ +9 diff --git a/sci-misc/varicad-viewer/.svn/prop-base/metadata.xml.svn-base b/sci-misc/varicad-viewer/.svn/prop-base/metadata.xml.svn-base new file mode 100644 index 0000000..138f983 --- /dev/null +++ b/sci-misc/varicad-viewer/.svn/prop-base/metadata.xml.svn-base @@ -0,0 +1,5 @@ +K 13 +svn:mime-type +V 10 +text/plain +END diff --git a/sci-misc/varicad-viewer/.svn/text-base/ChangeLog.svn-base b/sci-misc/varicad-viewer/.svn/text-base/ChangeLog.svn-base new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/sci-misc/varicad-viewer/.svn/text-base/ChangeLog.svn-base diff --git a/sci-misc/varicad-viewer/.svn/text-base/Manifest.svn-base b/sci-misc/varicad-viewer/.svn/text-base/Manifest.svn-base new file mode 100644 index 0000000..b38f8c6 --- /dev/null +++ b/sci-misc/varicad-viewer/.svn/text-base/Manifest.svn-base @@ -0,0 +1,16 @@ +DIST varicad2007-view-en_3.03-2_i386.deb 12236558 RMD160 45607434d8d252d996b0c7210a9dd816313f7c98 SHA1 cdf3c34f1456e37f45c217ee6137a092c4d91a7f SHA256 32b5539caa77b15d95b3239b2104915d91648ab3880aadbdf009c1001b434bc2 +EBUILD varicad-viewer-3.03.ebuild 2029 RMD160 3d72b599f03044298c726e21758af7b5199dc644 SHA1 d44b00a8eeaf98f97ac4034f203a7df7541009bc SHA256 3819a25e812e07e44bc4c1ba8711f1c95f7347178565e557c464e26ded9e67d3 +MD5 a5a19e3157f76deff3edde3cce74696d varicad-viewer-3.03.ebuild 2029 +RMD160 3d72b599f03044298c726e21758af7b5199dc644 varicad-viewer-3.03.ebuild 2029 +SHA256 3819a25e812e07e44bc4c1ba8711f1c95f7347178565e557c464e26ded9e67d3 varicad-viewer-3.03.ebuild 2029 +MISC ChangeLog 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 +MD5 d41d8cd98f00b204e9800998ecf8427e ChangeLog 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 ChangeLog 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ChangeLog 0 +MISC metadata.xml 590 RMD160 ff3dedb1c5d99a39521e256a86d05e26652331eb SHA1 4a98de08639d0982aee482814d552e9f01450ff1 SHA256 b7af15b5caad128bbf86e644f14bd5a7f00f15ec3e6ffd4e6176c1974b7c787c +MD5 717f9f252ee630e7663ac2edd554e974 metadata.xml 590 +RMD160 ff3dedb1c5d99a39521e256a86d05e26652331eb metadata.xml 590 +SHA256 b7af15b5caad128bbf86e644f14bd5a7f00f15ec3e6ffd4e6176c1974b7c787c metadata.xml 590 +MD5 005f13403326128a631c248a39bf6840 files/digest-varicad-viewer-3.03 292 +RMD160 a2c10b035ed5977b094f7938cde31bb03bc00180 files/digest-varicad-viewer-3.03 292 +SHA256 e3c5033508f05ae376d41efe9f4029183b1c0cc60b1175547cae3f3368d379f6 files/digest-varicad-viewer-3.03 292 diff --git a/sci-misc/varicad-viewer/.svn/text-base/metadata.xml.svn-base b/sci-misc/varicad-viewer/.svn/text-base/metadata.xml.svn-base new file mode 100644 index 0000000..67ea7fb --- /dev/null +++ b/sci-misc/varicad-viewer/.svn/text-base/metadata.xml.svn-base @@ -0,0 +1,15 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>WTK SCIENTIFIC Overlay</herd> + <maintainer> + <email>toffanin.mauro@gmail.com</email> + <name>Toffanin Mauro</name> + </maintainer> + <longdescription> + VariCAD is 3D/2D CAD for mechanical engineering. It includes many powerful + tools for 3D modeling and 2D drafting, libraries of mechanical parts, + surface development (unbending), calculations, tools for working with + non-graphical information (BOM), and many others. + </longdescription> +</pkgmetadata>
\ No newline at end of file diff --git a/sci-misc/varicad-viewer/.svn/text-base/varicad-viewer-3.03.ebuild.svn-base b/sci-misc/varicad-viewer/.svn/text-base/varicad-viewer-3.03.ebuild.svn-base new file mode 100644 index 0000000..970ae75 --- /dev/null +++ b/sci-misc/varicad-viewer/.svn/text-base/varicad-viewer-3.03.ebuild.svn-base @@ -0,0 +1,78 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="VeriCAD viewer." +HOMEPAGE="http://www.vericad.com/" +SRC_URI="varicad2007-view-en_3.03-2_i386.deb" + +LICENSE="" +SLOT="0" + +# NOTE: varicad binaries are supplied just pre-stripped. +RESTRICT="fetch strip" + +KEYWORDS="~amd64 ~x86" + +RDEPEND="x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXrender + x11-libs/libXt + virtual/opengl + amd64? ( + >=app-emulation/emul-linux-x86-baselibs-1.0 + app-emulation/emul-linux-x86-compat + )" + +S="${WORKDIR}" + +pkg_nofetch() { + echo + eerror "Please go to: http://www.varicad.com/download.phtml" + eerror + eerror "and download the ${PN} 2007 ${PV} package." + eerror "After downloading it, put the .deb into:" + eerror " ${DISTDIR}" + echo +} + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz + cd "${S}" + + # removing not necessary content + rm control.tar.gz data.tar.gz debian-binary \ + opt/VariCAD-View/desktop/*.sh \ + usr/share/menu/varicad2007-view-en \ + opt/VariCAD-View/desktop/varicadview.mdkmenu \ + opt/VariCAD-View/desktop/varicadview.wmconfig + + # NOTE: we need to strip some (useless) quotes + sed -i \ + -e "s:\"::g" opt/VariCAD-View/desktop/varicadview.desktop \ + || die "seding varicadview.desktop failed" +} + +src_install() { + # creating the desktop menu + domenu opt/VariCAD-View/desktop/varicadview.desktop || die "domenu failed." + domenu opt/VariCAD-View/desktop/x-varicadview.desktop || die "domenu mime-type failed." + doicon opt/VariCAD-View/desktop/{varicadview_*.png,varicadview.xpm} || die "doicon failed." + rm opt/VariCAD-View/desktop/*.desktop \ + opt/VariCAD-View/desktop/varicadview_*.png + rm -r opt/VariCAD-View/desktop + + # installing the docs + dodoc usr/share/doc/varicad2007-view-en/{README-en.txt,README.Debian,copyright,changelog.Debian.gz} + rm usr/share/doc/varicad2007-view-en/* + + # installing VariCAD + cp -pPR * "${D}"/ || die "installing data failed" +}
\ No newline at end of file diff --git a/sci-misc/varicad-viewer/ChangeLog b/sci-misc/varicad-viewer/ChangeLog new file mode 100644 index 0000000..031c4f3 --- /dev/null +++ b/sci-misc/varicad-viewer/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sci-misc/varicad-viewer +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*varicad-viewer-3.04 (04 Feb 2009) + varicad-viewer-3.04.ebuild + Added ebuild for VariCAD viewer (both amd64 and x86) + diff --git a/sci-misc/varicad-viewer/Manifest b/sci-misc/varicad-viewer/Manifest new file mode 100644 index 0000000..276656c --- /dev/null +++ b/sci-misc/varicad-viewer/Manifest @@ -0,0 +1,5 @@ +DIST varicad2008-view-en_3.04_amd64.deb 14505674 RMD160 f9ac0b06bc255c3276f84ba7218d7c75f12067bf SHA1 21df57108702af0d0574d57d206e4a35946daf6c SHA256 f2efe47af910990ca08a155a1a744cddf5e6aa8162e27720700fcc365ff25327 +DIST varicad2008-view-en_3.04_i386.deb 14517480 RMD160 966f966be9d8e7d41e142839f15a65288a52449c SHA1 8eeeedb0f10a609c1db03f6eddf0f5a13a9d7e11 SHA256 24dfaae1bae275791163845a25e0a30a8dae63888ddc13ed66f47bd772c52bda +EBUILD varicad-viewer-3.04.ebuild 2022 RMD160 da127731afbcfe7a796a3e46726dab5e72795e27 SHA1 094cf780005ede2560fe57a71bd9494cf97867b4 SHA256 60db8826e7efcec7a2cf299563cd1a79f7e33dc44caacbcc684226cdf79e507e +MISC ChangeLog 246 RMD160 c94cea3ba67fc3327ac2a9e8ec82d0a2d6331e43 SHA1 05bb6952c187aaa28d15bbfdeee7907a86a74852 SHA256 20c09c8eb32cf0be442da6fb75721314b97cf875c7e2e94eb26afc460fa3ebcd +MISC metadata.xml 590 RMD160 ff3dedb1c5d99a39521e256a86d05e26652331eb SHA1 4a98de08639d0982aee482814d552e9f01450ff1 SHA256 b7af15b5caad128bbf86e644f14bd5a7f00f15ec3e6ffd4e6176c1974b7c787c diff --git a/sci-misc/varicad-viewer/files/.svn/all-wcprops b/sci-misc/varicad-viewer/files/.svn/all-wcprops new file mode 100644 index 0000000..365f5f3 --- /dev/null +++ b/sci-misc/varicad-viewer/files/.svn/all-wcprops @@ -0,0 +1,11 @@ +K 25 +svn:wc:ra_dav:version-url +V 78 +/svnroot/wtk-overlay/!svn/ver/527/wtk-scientific/sci-misc/varicad-viewer/files +END +digest-varicad-viewer-3.03 +K 25 +svn:wc:ra_dav:version-url +V 105 +/svnroot/wtk-overlay/!svn/ver/527/wtk-scientific/sci-misc/varicad-viewer/files/digest-varicad-viewer-3.03 +END diff --git a/sci-misc/varicad-viewer/files/.svn/entries b/sci-misc/varicad-viewer/files/.svn/entries new file mode 100644 index 0000000..c60ff4b --- /dev/null +++ b/sci-misc/varicad-viewer/files/.svn/entries @@ -0,0 +1,62 @@ +9 + +dir +705 +https://wtk-overlay.svn.sourceforge.net/svnroot/wtk-overlay/wtk-scientific/sci-misc/varicad-viewer/files +https://wtk-overlay.svn.sourceforge.net/svnroot/wtk-overlay + + + +2007-12-17T12:46:35.435211Z +527 +toffanin_mauro + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + +b5dcc44f-b418-0410-b2f3-b4e452b682c6 + +digest-varicad-viewer-3.03 +file + + + + +2008-12-02T14:17:14.000000Z +005f13403326128a631c248a39bf6840 +2007-12-17T12:46:35.435211Z +527 +toffanin_mauro + + + + + + + + + + + + + + + + + + + + + +292 + diff --git a/sci-misc/varicad-viewer/files/.svn/format b/sci-misc/varicad-viewer/files/.svn/format new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/sci-misc/varicad-viewer/files/.svn/format @@ -0,0 +1 @@ +9 diff --git a/sci-misc/varicad-viewer/files/.svn/text-base/digest-varicad-viewer-3.03.svn-base b/sci-misc/varicad-viewer/files/.svn/text-base/digest-varicad-viewer-3.03.svn-base new file mode 100644 index 0000000..4c346b2 --- /dev/null +++ b/sci-misc/varicad-viewer/files/.svn/text-base/digest-varicad-viewer-3.03.svn-base @@ -0,0 +1,3 @@ +MD5 699aa7e38c8d2becd932f625bd87d5a1 varicad2007-view-en_3.03-2_i386.deb 12236558 +RMD160 45607434d8d252d996b0c7210a9dd816313f7c98 varicad2007-view-en_3.03-2_i386.deb 12236558 +SHA256 32b5539caa77b15d95b3239b2104915d91648ab3880aadbdf009c1001b434bc2 varicad2007-view-en_3.03-2_i386.deb 12236558 diff --git a/sci-misc/varicad-viewer/files/digest-varicad-viewer-3.03 b/sci-misc/varicad-viewer/files/digest-varicad-viewer-3.03 new file mode 100644 index 0000000..4c346b2 --- /dev/null +++ b/sci-misc/varicad-viewer/files/digest-varicad-viewer-3.03 @@ -0,0 +1,3 @@ +MD5 699aa7e38c8d2becd932f625bd87d5a1 varicad2007-view-en_3.03-2_i386.deb 12236558 +RMD160 45607434d8d252d996b0c7210a9dd816313f7c98 varicad2007-view-en_3.03-2_i386.deb 12236558 +SHA256 32b5539caa77b15d95b3239b2104915d91648ab3880aadbdf009c1001b434bc2 varicad2007-view-en_3.03-2_i386.deb 12236558 diff --git a/sci-misc/varicad-viewer/metadata.xml b/sci-misc/varicad-viewer/metadata.xml new file mode 100644 index 0000000..67ea7fb --- /dev/null +++ b/sci-misc/varicad-viewer/metadata.xml @@ -0,0 +1,15 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>WTK SCIENTIFIC Overlay</herd> + <maintainer> + <email>toffanin.mauro@gmail.com</email> + <name>Toffanin Mauro</name> + </maintainer> + <longdescription> + VariCAD is 3D/2D CAD for mechanical engineering. It includes many powerful + tools for 3D modeling and 2D drafting, libraries of mechanical parts, + surface development (unbending), calculations, tools for working with + non-graphical information (BOM), and many others. + </longdescription> +</pkgmetadata>
\ No newline at end of file diff --git a/sci-misc/varicad-viewer/varicad-viewer-3.04.ebuild b/sci-misc/varicad-viewer/varicad-viewer-3.04.ebuild new file mode 100644 index 0000000..eec97e4 --- /dev/null +++ b/sci-misc/varicad-viewer/varicad-viewer-3.04.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="VeriCAD viewer." +HOMEPAGE="http://www.vericad.com/" +SRC_URI="x86? ( varicad2008-view-en_${PV}_i386.deb ) + amd64? ( varicad2008-view-en_${PV}_amd64.deb )" + +LICENSE="" +SLOT="0" + +# NOTE: varicad binaries are supplied just pre-stripped. +RESTRICT="fetch strip" + +KEYWORDS="~amd64 ~x86" + +RDEPEND="x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXrender + x11-libs/libXt + virtual/opengl" + +S="${WORKDIR}" + +pkg_nofetch() { + echo + eerror "Please go to: http://www.varicad.com/" + eerror + eerror "and download the VariCAD Viewer for Linux 2008 ${PV}" + eerror " Debian package for your platform" + eerror "After downloading it, put the .deb into:" + eerror " ${DISTDIR}" + echo +} + +src_unpack() { + unpack ${A} + unpack ./data.tar.gz + cd "${S}" + + # removing not necessary content + rm control.tar.gz data.tar.gz debian-binary \ + opt/VariCAD-View/desktop/*.sh \ + usr/share/menu/varicad2008-view-en \ + opt/VariCAD-View/desktop/varicadview.mdkmenu \ + opt/VariCAD-View/desktop/varicadview.wmconfig + + # NOTE: we need to strip some (useless) quotes + sed -i \ + -e "s:\"::g" opt/VariCAD-View/desktop/varicadview.desktop \ + || die "seding varicadview.desktop failed" +} + +src_install() { + # creating the desktop menu + domenu opt/VariCAD-View/desktop/varicadview.desktop || die "domenu failed." + domenu opt/VariCAD-View/desktop/x-varicadview.desktop || die "domenu mime-type failed." + doicon opt/VariCAD-View/desktop/{varicadview_*.png,varicadview.xpm} || die "doicon failed." + rm opt/VariCAD-View/desktop/*.desktop \ + opt/VariCAD-View/desktop/varicadview_*.png + rm -r opt/VariCAD-View/desktop + + # installing the docs + dodoc usr/share/doc/varicad2008-view-en/{README-en.txt,README.Debian,copyright,changelog.gz} + rm usr/share/doc/varicad2008-view-en/* + + # installing VariCAD + cp -pPR * "${D}"/ || die "installing data failed" +}
\ No newline at end of file |