summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-12-23 22:37:30 +0100
committerSebastian Pipping <sping@gentoo.org>2020-12-23 22:37:30 +0100
commit8a55c41ffbb03c6786f3d18cd9cb7fd38fa26641 (patch)
treefa63a0d7213a25ef3de188c58350a88d333e82e4
parentdev-vcs/rapidsvn: Drop due to "fdo-mime.eclass not found" (diff)
downloadbetagarden-8a55c41ffbb03c6786f3d18cd9cb7fd38fa26641.tar.gz
betagarden-8a55c41ffbb03c6786f3d18cd9cb7fd38fa26641.tar.bz2
betagarden-8a55c41ffbb03c6786f3d18cd9cb7fd38fa26641.zip
media-gfx/draftsight-bin: Drop due to "fdo-mime.eclass not found"
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
-rw-r--r--media-gfx/draftsight-bin/ChangeLog9
-rw-r--r--media-gfx/draftsight-bin/Manifest6
-rw-r--r--media-gfx/draftsight-bin/draftsight-bin-1.3.1_beta.ebuild176
-rw-r--r--media-gfx/draftsight-bin/draftsight-bin-1.4.0_beta.ebuild186
-rw-r--r--media-gfx/draftsight-bin/draftsight-bin-1.5.0_beta.ebuild186
-rw-r--r--media-gfx/draftsight-bin/draftsight-bin-1.5.1_beta.ebuild186
-rw-r--r--media-gfx/draftsight-bin/draftsight-bin-1.6.1_beta.ebuild117
-rw-r--r--media-gfx/draftsight-bin/files/10-ft-rockey.rules1
-rw-r--r--media-gfx/draftsight-bin/files/draftsight9
-rw-r--r--media-gfx/draftsight-bin/metadata.xml12
10 files changed, 0 insertions, 888 deletions
diff --git a/media-gfx/draftsight-bin/ChangeLog b/media-gfx/draftsight-bin/ChangeLog
deleted file mode 100644
index 3e8f5df..0000000
--- a/media-gfx/draftsight-bin/ChangeLog
+++ /dev/null
@@ -1,9 +0,0 @@
-# ChangeLog for media-gfx/draftsight-bin
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-
-*draftsight-bin-1.5.0_beta (05 Feb 2014)
-
- 05 Feb 2014; Dion Moult <moult@gentoo.org> +draftsight-bin-1.5.0_beta.ebuild,
- files/draftsight:
- Bumped version to 1.5.0_beta
-
diff --git a/media-gfx/draftsight-bin/Manifest b/media-gfx/draftsight-bin/Manifest
deleted file mode 100644
index 5f30f12..0000000
--- a/media-gfx/draftsight-bin/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST draftsight-1.4.0_beta.deb 306739782 SHA256 9bd56193040b8ae6d7a312ad3538db7755ad083eace5c66d2126eeba7e9ec0a1 SHA512 bcc9e538d2a506659ce22a784a2ae7dbc27747b4811afc3817472314ede31a209fe84b06b3492557a3b89e9b557d57b92316e9c6629bd6751d20938bfd9144e2 WHIRLPOOL 179f922e79bc2a5826777eb9f564d4b5ffc23f2c263890a0ac7f45a457ff6b9d08b491f8a7e86fbc63660b56d210e9dcd4a2bf5736d6edcee598a05852fe1e2f
-DIST draftsight-1.5.0_beta.deb 112272334 SHA256 1943cad8c77eaead942bb052016fa49a45aa5d1bae9c65cd126825c963029100 SHA512 81cc7fab712f77af33bb5ee51166d5adb89619bee5b45dbee97b570ede287d6535cb0017e34f0fcaeea5c89c9ad81e2b5dee745584bfdc9cf048aa3b17326731 WHIRLPOOL 12bb582fb7d290f6445cd7f4a8f44aeeeba4f559a8ae6cf12bf9142e238cf1c288d208715953ff5bbc38b354d2cf781360e2637471fd77529f50fc14b2f9b01d
-DIST draftsight-1.5.1_beta.deb 112678414 SHA256 ddf4d0344538ffbaff94963a5d6ef9bf1b05fab0bec6c740c62e46b0de1d29f9 SHA512 233e39bf863d5c0fb43d46b0399c6a41873704b6c0fa16c1ad71e4d764528ee9377685f9a3fdbe73c06a009bdbdf62f0c63ba8fad55c34f0c259fce37c1b9f42 WHIRLPOOL 40c8522999c48b4441a4ed93444d630cb503b876d1d092893f4f54a08f06ad3bbb6c72b613370d885c57c8ee6328ac81b5f5a775cc426a8644c8f46521630b8b
-DIST draftsight-1.6.1_beta.deb 153290922 SHA256 e4ace919f3c7929f0f16355d3367c806ee325056251f3b4fec1d752d68be6686 SHA512 7bceaa185c4e7d4c86530c2b48b74a53ac1a18b857976a5047de7df724be2d0278e94e4acad8e984735e063d43f790de952762b47565ff647725f9d2e1e3e119 WHIRLPOOL 3d08c06fa6d94d807b0fe653cefd4d2fa03d56b5e9e4bcb9e540f8d1812bcf463d717a346e4fac3eee81cfe1b0679b3f438095c19eaaac4e91274a046747e529
-DIST draftsight-bin-1.3.1_beta.deb 128825534 SHA256 f7447ebb15ef9c5b479c22acba6ca0bd3685e0c0149d52c6ea434842a0d5b143 SHA512 481945c7c184b8ccafedbf2e53dcb78a243793925674dea650e35ecee524d65a0bd9545b7df114254ad68fc0051bc4cc2d3fa4f144625915be158d8e4035b42f WHIRLPOOL 347b423324b73cc25ff1ac7134154571589727fbd0bb55989b5a9d7feab4f0502ded0f2abec406184b04704addd992b4bac1a9c2b5ddce29df1217fd6737833f
-DIST libaudio.tar.gz 42667 SHA256 7a39e2cd3cd321a3c0b4744ad7ba46d5e106582a4734dab067a4cf228e4cc86e SHA512 4028d63968e80c4085e64d9d0eca0fe4b101437dcb2a0762f676fe28607287e504485a69535a3bd607d5c6e71c65e77b1d6a15b3140ff92f755dd6fb3fa6dde6 WHIRLPOOL 70ac3286a3063ca9489b0061befa2f99eb9ea134659013d35cc198df48d4555000efeb407aa3dacc600c196af0a42e2ddff79d117101e581942b24ee1f73484b
diff --git a/media-gfx/draftsight-bin/draftsight-bin-1.3.1_beta.ebuild b/media-gfx/draftsight-bin/draftsight-bin-1.3.1_beta.ebuild
deleted file mode 100644
index 0ab1f8b..0000000
--- a/media-gfx/draftsight-bin/draftsight-bin-1.3.1_beta.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit fdo-mime udev unpacker versionator
-
-DESCRIPTION="Professional 2D CAD application, supporting DWT, DXF and DWG."
-HOMEPAGE="http://www.3ds.com/products/draftsight/free-cad-software/"
-
-MY_PN="draftsight"
-MY_PV="V$(replace_version_separator 1 'R' $(get_version_component_range 1-$(get_last_version_component_index)))"
-MY_P="${MY_PN}-${MY_PV}"
-## The libaudio requirement is due to ABI_X86 not being stable enough yet.
-## See bug #463942 for the initial reason this was inserted.
-SRC_URI="http://dl-ak.solidworks.com/nonsecure/draftsight/${MY_PV}/${MY_PN}.deb -> ${P}.deb
-amd64? ( http://dev.gentoo.org/~moult/draftsight/libaudio.tar.gz )"
-
-
-LICENSE="${MY_PN}"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-S="${WORKDIR}"
-
-QA_PRESTRIPPED="opt/dassault-systemes/${MY_PN}/bin/DWGConverter
- amd64? ( opt/dassault-systemes/${MY_PN}/lib/libaudio.so.2 )"
-QA_TEXTRELS="opt/dassault-systemes/${MY_PN}/lib/libDDKERNEL.so.1"
-QA_EXECSTACK="opt/dassault-systemes/${MY_PN}/bin/FxCrashRptApp
-opt/dassault-systemes/${MY_PN}/lib/libDDKERNEL.so.1"
-
-DEPEND=""
-RDEPEND="amd64? (
- app-emulation/emul-linux-x86-baselibs
- app-emulation/emul-linux-x86-opengl
- app-emulation/emul-linux-x86-qtlibs
- app-emulation/emul-linux-x86-soundlibs
- app-emulation/emul-linux-x86-xlibs
- )
- !amd64? (
- sys-libs/zlib
- net-print/cups
- dev-libs/expat
- dev-libs/glib:2
- media-libs/glu
- media-libs/phonon
- dev-qt/qtcore:4
- dev-qt/qtdbus:4
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- dev-qt/qtsql:4
- dev-qt/qtwebkit:4
- dev-qt/qtsvg:4
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXrender
- x11-libs/libXt
- media-libs/nas
- )"
-
-src_install() {
- cp -R "${WORKDIR}/opt" "${D}"
- exeinto /usr/bin
- doexe "${FILESDIR}/${MY_PN}"
-
- if use amd64 ; then
- insinto /opt/dassault-systemes/${MY_PN}/lib/
- doins libaudio.so.2
- fi
-}
-
-pkg_postinst() {
- elog "To use DraftSight as your default viewer for DWG, DXF, and DWT"
- elog "Please run the following commands respectively as your normal user:"
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dwg\""
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dxf\""
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dwt\""
-
- local ICON_SIZES="16 32 48 64 128"
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- for size in ${ICON_SIZES} ; do
- xdg-icon-resource install --noupdate --novendor --context apps --mode \
- system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight.png" \
- "dassault-systemes.draftsight" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- apps --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight.png" \
- "dassault-systemes.draftsight" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dwg.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dwg.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dxf.png" \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dxf.png" \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dwt.png" \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dwt.png" \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || die "icon resource installation failed"
- done
- xdg-icon-resource forceupdate
-
- # prepare for dongle
- udev_dorules "${FILESDIR}"/10-ft-rockey.rules
-}
-
-pkg_prerm() {
- local ICON_SIZES="16 32 48 64 128"
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- for size in ${ICON_SIZES} ; do
- xdg-icon-resource uninstall --noupdate --context apps --mode system \
- --size ${size} "dassault-systemes.draftsight" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context apps --theme gnome \
- --mode system --size ${size} "dassault-systemes.draftsight" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dwg" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dxf" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dwt" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || ewarn "icon uninstall failed"
- done
- xdg-icon-resource forceupdate
-
- # remove dongle preparing
- if [ "${ROOT}/etc/udev/rules.d/" ]; then
- rm -f "${ROOT}/etc/udev/rules.d/10-ft-rockey.rules"
- fi
-}
diff --git a/media-gfx/draftsight-bin/draftsight-bin-1.4.0_beta.ebuild b/media-gfx/draftsight-bin/draftsight-bin-1.4.0_beta.ebuild
deleted file mode 100644
index 9b16a18..0000000
--- a/media-gfx/draftsight-bin/draftsight-bin-1.4.0_beta.ebuild
+++ /dev/null
@@ -1,186 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit fdo-mime udev unpacker
-
-MY_PN="draftsight"
-MY_P="${MY_PN}-${PV}"
-DESCRIPTION="Professional 2D CAD application, supporting DWT, DXF and DWG."
-HOMEPAGE="http://www.3ds.com/products/draftsight/free-cad-software/"
-# The libaudio requirement is due to ABI_X86 not being stable enough yet.
-# See bug #463942 for the initial reason this was inserted.
-SRC_URI="${MY_P}.deb
-amd64? ( http://dev.gentoo.org/~moult/draftsight/libaudio.tar.gz )"
-
-LICENSE="${MY_PN}"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-S="${WORKDIR}"
-
-QA_PRESTRIPPED="opt/dassault-systemes/${MY_PN}/bin/DWGConverter
- amd64? ( opt/dassault-systemes/${MY_PN}/lib/libaudio.so.2 )"
-QA_TEXTRELS="opt/dassault-systemes/${MY_PN}/lib/libDDKERNEL.so.1"
-QA_EXECSTACK="opt/dassault-systemes/${MY_PN}/bin/FxCrashRptApp
-opt/dassault-systemes/${MY_PN}/lib/libDDKERNEL.so.1"
-
-RESTRICT="fetch"
-DEPEND=""
-RDEPEND="amd64? (
- app-emulation/emul-linux-x86-baselibs
- app-emulation/emul-linux-x86-opengl
- app-emulation/emul-linux-x86-qtlibs
- app-emulation/emul-linux-x86-soundlibs
- app-emulation/emul-linux-x86-xlibs
- )
- !amd64? (
- sys-libs/zlib
- net-print/cups
- dev-libs/expat
- dev-libs/glib:2
- media-libs/glu
- media-libs/phonon
- dev-qt/qtcore:4
- dev-qt/qtdbus:4
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- dev-qt/qtsql:4
- dev-qt/qtwebkit:4
- dev-qt/qtsvg:4
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXrender
- x11-libs/libXt
- media-libs/nas
- )"
-
-pkg_nofetch() {
- einfo "Upstream has a mandatory EULA agreement to download this file."
- einfo "Please navigate your browser to:"
- einfo "http://www.3ds.com/products/draftsight/download-draftsight/"
- einfo "Click \"Download DraftSight for Ubuntu (Beta V1R4.0)\""
- einfo "Download the deb file and move it to ${DISTDIR}/${MY_P}.deb"
- if use amd64 ; then
- einfo "Then download http://dev.gentoo.org/~moult/draftsight/libaudio.tar.gz"
- einfo "And move the file to ${DISTDIR}/"
- fi
-}
-
-src_install() {
- cp -R "${WORKDIR}/opt" "${D}"
- exeinto /usr/bin
- doexe "${FILESDIR}/${MY_PN}"
-
- if use amd64 ; then
- insinto /opt/dassault-systemes/${MY_PN}/lib/
- doins libaudio.so.2
- fi
-}
-
-pkg_postinst() {
- elog "To use DraftSight as your default viewer for DWG, DXF, and DWT"
- elog "Please run the following commands respectively as your normal user:"
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dwg\""
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dxf\""
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dwt\""
-
- local ICON_SIZES="16 32 48 64 128"
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- for size in ${ICON_SIZES} ; do
- xdg-icon-resource install --noupdate --novendor --context apps --mode \
- system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight.png" \
- "dassault-systemes.draftsight" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- apps --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight.png" \
- "dassault-systemes.draftsight" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dwg.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dwg.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dxf.png" \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dxf.png" \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dwt.png" \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/draftsight/mime/pixmaps/${size}x${size}/dassault-systemes_draftsight-dwt.png" \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || die "icon resource installation failed"
- done
- xdg-icon-resource forceupdate
-
- # prepare for dongle
- udev_dorules "${FILESDIR}"/10-ft-rockey.rules
-}
-
-pkg_prerm() {
- local ICON_SIZES="16 32 48 64 128"
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- for size in ${ICON_SIZES} ; do
- xdg-icon-resource uninstall --noupdate --context apps --mode system \
- --size ${size} "dassault-systemes.draftsight" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context apps --theme gnome \
- --mode system --size ${size} "dassault-systemes.draftsight" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dwg" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dxf" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dwt" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || ewarn "icon uninstall failed"
- done
- xdg-icon-resource forceupdate
-
- # remove dongle preparing
- if [ "${ROOT}/etc/udev/rules.d/" ]; then
- rm -f "${ROOT}/etc/udev/rules.d/10-ft-rockey.rules"
- fi
-}
diff --git a/media-gfx/draftsight-bin/draftsight-bin-1.5.0_beta.ebuild b/media-gfx/draftsight-bin/draftsight-bin-1.5.0_beta.ebuild
deleted file mode 100644
index 1039312..0000000
--- a/media-gfx/draftsight-bin/draftsight-bin-1.5.0_beta.ebuild
+++ /dev/null
@@ -1,186 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit fdo-mime udev unpacker
-
-MY_PN="draftsight"
-MY_P="${MY_PN}-${PV}"
-DESCRIPTION="Professional 2D CAD application, supporting DWT, DXF and DWG."
-HOMEPAGE="http://www.3ds.com/products/draftsight/free-cad-software/"
-# The libaudio requirement is due to ABI_X86 not being stable enough yet.
-# See bug #463942 for the initial reason this was inserted.
-SRC_URI="${MY_P}.deb
-amd64? ( http://dev.gentoo.org/~moult/draftsight/libaudio.tar.gz )"
-
-LICENSE="${MY_PN}"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-S="${WORKDIR}"
-
-QA_PRESTRIPPED="opt/dassault-systemes/${MY_PN}/bin/DWGConverter
- amd64? ( opt/dassault-systemes/${MY_PN}/lib/libaudio.so.2 )"
-QA_TEXTRELS="opt/dassault-systemes/${MY_PN}/lib/libDDKERNEL.so.1"
-QA_EXECSTACK="opt/dassault-systemes/${MY_PN}/bin/FxCrashRptApp
-opt/dassault-systemes/${MY_PN}/lib/libDDKERNEL.so.1"
-
-RESTRICT="fetch"
-DEPEND=""
-RDEPEND="amd64? (
- app-emulation/emul-linux-x86-baselibs
- app-emulation/emul-linux-x86-opengl
- app-emulation/emul-linux-x86-qtlibs
- app-emulation/emul-linux-x86-soundlibs
- app-emulation/emul-linux-x86-xlibs
- )
- !amd64? (
- sys-libs/zlib
- net-print/cups
- dev-libs/expat
- dev-libs/glib:2
- media-libs/glu
- media-libs/phonon
- dev-qt/qtcore:4
- dev-qt/qtdbus:4
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- dev-qt/qtsql:4
- dev-qt/qtwebkit:4
- dev-qt/qtsvg:4
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXrender
- x11-libs/libXt
- media-libs/nas
- )"
-
-pkg_nofetch() {
- einfo "Upstream has a mandatory EULA agreement to download this file."
- einfo "Please navigate your browser to:"
- einfo "http://www.3ds.com/products/draftsight/download-draftsight/"
- einfo "Click \"Download DraftSight for Ubuntu (Beta V1R5.0)\""
- einfo "Download the deb file and move it to ${DISTDIR}/${MY_P}.deb"
- if use amd64 ; then
- einfo "Then download http://dev.gentoo.org/~moult/draftsight/libaudio.tar.gz"
- einfo "And move the file to ${DISTDIR}/"
- fi
-}
-
-src_install() {
- cp -R "${WORKDIR}/opt" "${D}"
- exeinto /usr/bin
- doexe "${FILESDIR}/${MY_PN}"
-
- if use amd64 ; then
- insinto /opt/dassault-systemes/DraftSight/Libraries/
- doins libaudio.so.2
- fi
-}
-
-pkg_postinst() {
- elog "To use DraftSight as your default viewer for DWG, DXF, and DWT"
- elog "Please run the following commands respectively as your normal user:"
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dwg\""
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dxf\""
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dwt\""
-
- local ICON_SIZES="16 32 48 64 128"
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- for size in ${ICON_SIZES} ; do
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/program.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/program.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dwg.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dwg.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dxf.png" \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dxf.png" \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dwt.png" \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dwt.png" \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || die "icon resource installation failed"
- done
- xdg-icon-resource forceupdate
-
- # prepare for dongle
- udev_dorules "${FILESDIR}"/10-ft-rockey.rules
-}
-
-pkg_prerm() {
- local ICON_SIZES="16 32 48 64 128"
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- for size in ${ICON_SIZES} ; do
- xdg-icon-resource uninstall --noupdate --context apps --mode system \
- --size ${size} "dassault-systemes.draftsight" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context apps --theme gnome \
- --mode system --size ${size} "dassault-systemes.draftsight" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dwg" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dxf" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dwt" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || ewarn "icon uninstall failed"
- done
- xdg-icon-resource forceupdate
-
- # remove dongle preparing
- if [ "${ROOT}/etc/udev/rules.d/" ]; then
- rm -f "${ROOT}/etc/udev/rules.d/10-ft-rockey.rules"
- fi
-}
diff --git a/media-gfx/draftsight-bin/draftsight-bin-1.5.1_beta.ebuild b/media-gfx/draftsight-bin/draftsight-bin-1.5.1_beta.ebuild
deleted file mode 100644
index ae9b29f..0000000
--- a/media-gfx/draftsight-bin/draftsight-bin-1.5.1_beta.ebuild
+++ /dev/null
@@ -1,186 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit fdo-mime udev unpacker
-
-MY_PN="draftsight"
-MY_P="${MY_PN}-${PV}"
-DESCRIPTION="Professional 2D CAD application, supporting DWT, DXF and DWG."
-HOMEPAGE="http://www.3ds.com/products/draftsight/free-cad-software/"
-# The libaudio requirement is due to ABI_X86 not being stable enough yet.
-# See bug #463942 for the initial reason this was inserted.
-SRC_URI="${MY_P}.deb
-amd64? ( http://dev.gentoo.org/~moult/draftsight/libaudio.tar.gz )"
-
-LICENSE="${MY_PN}"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-S="${WORKDIR}"
-
-QA_PRESTRIPPED="opt/dassault-systemes/${MY_PN}/bin/DWGConverter
- amd64? ( opt/dassault-systemes/${MY_PN}/lib/libaudio.so.2 )"
-QA_TEXTRELS="opt/dassault-systemes/${MY_PN}/lib/libDDKERNEL.so.1"
-QA_EXECSTACK="opt/dassault-systemes/${MY_PN}/bin/FxCrashRptApp
-opt/dassault-systemes/${MY_PN}/lib/libDDKERNEL.so.1"
-
-RESTRICT="fetch"
-DEPEND=""
-RDEPEND="amd64? (
- app-emulation/emul-linux-x86-baselibs
- app-emulation/emul-linux-x86-opengl
- app-emulation/emul-linux-x86-qtlibs
- app-emulation/emul-linux-x86-soundlibs
- app-emulation/emul-linux-x86-xlibs
- )
- !amd64? (
- sys-libs/zlib
- net-print/cups
- dev-libs/expat
- dev-libs/glib:2
- media-libs/glu
- media-libs/phonon
- dev-qt/qtcore:4
- dev-qt/qtdbus:4
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- dev-qt/qtsql:4
- dev-qt/qtwebkit:4
- dev-qt/qtsvg:4
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXrender
- x11-libs/libXt
- media-libs/nas
- )"
-
-pkg_nofetch() {
- einfo "Upstream has a mandatory EULA agreement to download this file."
- einfo "Please navigate your browser to:"
- einfo "http://www.3ds.com/products/draftsight/download-draftsight/"
- einfo "Click \"Download DraftSight for Ubuntu (Beta V1R5.1)\""
- einfo "Download the deb file and move it to ${DISTDIR}/${MY_P}.deb"
- if use amd64 ; then
- einfo "Then download http://dev.gentoo.org/~moult/draftsight/libaudio.tar.gz"
- einfo "And move the file to ${DISTDIR}/"
- fi
-}
-
-src_install() {
- cp -R "${WORKDIR}/opt" "${D}"
- exeinto /usr/bin
- doexe "${FILESDIR}/${MY_PN}"
-
- if use amd64 ; then
- insinto /opt/dassault-systemes/DraftSight/Libraries/
- doins libaudio.so.2
- fi
-}
-
-pkg_postinst() {
- elog "To use DraftSight as your default viewer for DWG, DXF, and DWT"
- elog "Please run the following commands respectively as your normal user:"
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dwg\""
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dxf\""
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dwt\""
-
- local ICON_SIZES="16 32 48 64 128"
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- for size in ${ICON_SIZES} ; do
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/program.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/program.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dwg.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dwg.png" \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dxf.png" \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dxf.png" \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --context mimetypes \
- --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dwt.png" \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || die "icon resource installation failed"
- xdg-icon-resource install --noupdate --novendor --theme gnome --context \
- mimetypes --mode system --size ${size} \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-dwt.png" \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || die "icon resource installation failed"
- done
- xdg-icon-resource forceupdate
-
- # prepare for dongle
- udev_dorules "${FILESDIR}"/10-ft-rockey.rules
-}
-
-pkg_prerm() {
- local ICON_SIZES="16 32 48 64 128"
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- for size in ${ICON_SIZES} ; do
- xdg-icon-resource uninstall --noupdate --context apps --mode system \
- --size ${size} "dassault-systemes.draftsight" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context apps --theme gnome \
- --mode system --size ${size} "dassault-systemes.draftsight" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dwg" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dwg" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dxf" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dxf" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-dwt" \
- || ewarn "icon uninstall failed"
- xdg-icon-resource uninstall --noupdate --context mimetypes --theme gnome \
- --mode system --size ${size} \
- "application-vnd.dassault-systemes.draftsight-dwt" \
- || ewarn "icon uninstall failed"
- done
- xdg-icon-resource forceupdate
-
- # remove dongle preparing
- if [ "${ROOT}/etc/udev/rules.d/" ]; then
- rm -f "${ROOT}/etc/udev/rules.d/10-ft-rockey.rules"
- fi
-}
diff --git a/media-gfx/draftsight-bin/draftsight-bin-1.6.1_beta.ebuild b/media-gfx/draftsight-bin/draftsight-bin-1.6.1_beta.ebuild
deleted file mode 100644
index 593a164..0000000
--- a/media-gfx/draftsight-bin/draftsight-bin-1.6.1_beta.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit fdo-mime udev unpacker
-
-MY_PN="draftsight"
-MY_P="${MY_PN}-${PV}"
-DESCRIPTION="Professional 2D CAD application, supporting DWT, DXF and DWG."
-HOMEPAGE="http://www.3ds.com/products/draftsight/free-cad-software/"
-SRC_URI="${MY_P}.deb"
-
-LICENSE="${MY_PN}"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-S="${WORKDIR}"
-
-QA_PRESTRIPPED="opt/dassault-systemes/${MY_PN}/bin/DWGConverter
- amd64? ( opt/dassault-systemes/${MY_PN}/lib/libaudio.so.2 )"
-QA_TEXTRELS="opt/dassault-systemes/${MY_PN}/lib/libDDKERNEL.so.1"
-QA_EXECSTACK="opt/dassault-systemes/${MY_PN}/bin/FxCrashRptApp
-opt/dassault-systemes/${MY_PN}/lib/libDDKERNEL.so.1"
-
-RESTRICT="fetch"
-DEPEND=""
-RDEPEND="amd64? (
- sys-libs/zlib
- net-print/cups
- dev-libs/expat
- dev-libs/glib:2
- media-libs/glu
- media-libs/phonon
- dev-qt/qtcore:4
- dev-qt/qtdbus:4
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- dev-qt/qtsql:4
- dev-qt/qtwebkit:4
- dev-qt/qtsvg:4
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXrender
- x11-libs/libXt
- media-libs/nas
- )"
-
-pkg_nofetch() {
- einfo "Upstream has a mandatory EULA agreement to download this file."
- einfo "Please navigate your browser to:"
- einfo "http://www.3ds.com/products-services/draftsight-cad-software/free-download/"
- einfo "Click \"Download DraftSight 2015 for Ubuntu (beta)\""
- einfo "Download the deb file and move it to ${DISTDIR}/${MY_P}.deb"
-}
-
-src_install() {
- cp -R "${WORKDIR}/opt" "${D}"
- exeinto /usr/bin
- doexe "${FILESDIR}/${MY_PN}"
-
- # prepare for dongle
- udev_dorules "${FILESDIR}"/10-ft-rockey.rules
-}
-
-pkg_postinst() {
- elog "To use DraftSight as your default viewer for DWG, DXF, and DWT"
- elog "Please run the following commands respectively as your normal user:"
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dwg\""
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dxf\""
- elog "xdg-mime default \"dassault-systemes\"_\"draftsight.desktop\" \"application/vnd.dassault-systemes.draftsight-dwt\""
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-
- for size in 16 32 48 64 128 ; do
- local XDG_OPTS="--noupdate --novendor --mode system --size ${size}"
- xdg-icon-resource install ${XDG_OPTS} --context apps \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/program.png" \
- "dassault-systemes.draftsight"
- xdg-icon-resource install ${XDG_OPTS} --context apps --theme gnome \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/program.png" \
- "dassault-systemes.draftsight"
- for mimetype in dwg dxf dwt ; do
- xdg-icon-resource install ${XDG_OPTS} --context mimetypes \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-${mimetype}.png" \
- "application-vnd.dassault-systemes.draftsight-${mimetype}"
- xdg-icon-resource install ${XDG_OPTS} --context mimetypes --theme gnome \
- "${ROOT}/opt/dassault-systemes/DraftSight/Resources/pixmaps/${size}x${size}/file-${mimetype}.png" \
- "application-vnd.dassault-systemes.draftsight-${mimetype}"
- done
- done
- xdg-icon-resource forceupdate
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- for size in 16 32 48 64 128 ; do
- xdg-icon-resource uninstall --noupdate --context apps --mode system \
- --size ${size} "dassault-systemes.draftsight"
- xdg-icon-resource uninstall --noupdate --context apps --mode system --theme gnome \
- --size ${size} "dassault-systemes.draftsight"
- for mimetype in dwg dxf dwt ; do
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system \
- --size ${size} "application-vnd.dassault-systemes.draftsight-${mimetype}"
- xdg-icon-resource uninstall --noupdate --context mimetypes --mode system --theme gnome \
- --size ${size} "application-vnd.dassault-systemes.draftsight-${mimetype}"
- done
- done
- xdg-icon-resource forceupdate
-}
diff --git a/media-gfx/draftsight-bin/files/10-ft-rockey.rules b/media-gfx/draftsight-bin/files/10-ft-rockey.rules
deleted file mode 100644
index e70350d..0000000
--- a/media-gfx/draftsight-bin/files/10-ft-rockey.rules
+++ /dev/null
@@ -1 +0,0 @@
-BUS=="usb", SYSFS{idVendor}=="096e", MODE=="0666"
diff --git a/media-gfx/draftsight-bin/files/draftsight b/media-gfx/draftsight-bin/files/draftsight
deleted file mode 100644
index 8fe6141..0000000
--- a/media-gfx/draftsight-bin/files/draftsight
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /bin/bash
-BASEDIR="/opt/dassault-systemes/DraftSight/Linux"
-
-export LD_LIBRARY_PATH="${BASEDIR}${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
-
-# work around DT_RPATH (.) security issue by chdir'ing into expected $LD_LIBRARY_PATH
-cd "${BASEDIR}"
-
-exec "${BASEDIR}/DraftSight" $*
diff --git a/media-gfx/draftsight-bin/metadata.xml b/media-gfx/draftsight-bin/metadata.xml
deleted file mode 100644
index f2c2947..0000000
--- a/media-gfx/draftsight-bin/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>moult@gentoo.org</email>
- <name>Dion Moult</name>
- </maintainer>
- <longdescription lang="en">
- DraftSight as an AutoCAD clone that lets professional CAD users,
- students and educators create, edit and view DWG files.
- </longdescription>
-</pkgmetadata>