summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2013-06-15 02:03:45 +0200
committerSebastian Pipping <sebastian@pipping.org>2013-06-15 02:03:45 +0200
commitba34b2c3f696eb42e4e3eb78d941a2f5865c138c (patch)
tree31e4d98b2b737e144474c00c173b29e1cde7793a /media-gfx
parentsys-apps/apt: 0.9.8.2 (diff)
downloadbetagarden-ba34b2c3f696eb42e4e3eb78d941a2f5865c138c.tar.gz
betagarden-ba34b2c3f696eb42e4e3eb78d941a2f5865c138c.tar.bz2
betagarden-ba34b2c3f696eb42e4e3eb78d941a2f5865c138c.zip
media-gfx/arcad-c1-bin: 2013.06122234524
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/arcad-c1-bin/Manifest1
-rw-r--r--media-gfx/arcad-c1-bin/arcad-c1-bin-2013.06122234524.ebuild55
-rw-r--r--media-gfx/arcad-c1-bin/metadata.xml8
3 files changed, 64 insertions, 0 deletions
diff --git a/media-gfx/arcad-c1-bin/Manifest b/media-gfx/arcad-c1-bin/Manifest
new file mode 100644
index 0000000..38f5172
--- /dev/null
+++ b/media-gfx/arcad-c1-bin/Manifest
@@ -0,0 +1 @@
+DIST arcad-c1-mono_2013.06122234524_amd64.deb 64854922 SHA256 3157f2bb80294fe85d20379282e165dc2eb75c5960b4227bdd472cfdffd3733b SHA512 606de1357070663ee736c4d35d953074e12f709e36eb9550a600c1b0d3896e821486bcfa4d7249b13819a4e19d51bdecea9e7bad59eff5198f284956cd638586 WHIRLPOOL 94ce287eb0008f1e2abe8d811a9b8a0dde7a6259685c71246db576d42eb55d323ddedf2de23e95f475912277a7063060d1bce14261058fa70887ee74b3ae78c6
diff --git a/media-gfx/arcad-c1-bin/arcad-c1-bin-2013.06122234524.ebuild b/media-gfx/arcad-c1-bin/arcad-c1-bin-2013.06122234524.ebuild
new file mode 100644
index 0000000..6f39cab
--- /dev/null
+++ b/media-gfx/arcad-c1-bin/arcad-c1-bin-2013.06122234524.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit unpacker
+
+MY_PN=${PN%%-bin}-mono
+DESCRIPTION="3D CAD program"
+HOMEPAGE="http://cad.arcad.de/products_architecture_arcad.php"
+SRC_URI="http://packages.arcad.de/FREE-Linux/pool/precise/stable/a/${MY_PN}/${MY_PN}_${PV}_amd64.deb"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# Inspired by from debian/control file
+DEPEND=""
+RDEPEND=">=sys-libs/glibc-2.14
+ >=media-libs/fontconfig-2.8.0
+ >=media-libs/freetype-2.2.1
+ media-libs/mesa
+ virtual/glu
+ virtual/jpeg
+ media-libs/libpng:1.2
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXft
+ dev-libs/libxml2
+ x11-libs/libXmu
+ x11-libs/libXp
+ x11-libs/libXrender
+ x11-libs/libXt"
+
+S=${WORKDIR}
+RESTRICT="mirror strip"
+
+src_install() {
+ local app=${PN%%-bin}
+ local target=_Linux_x86_64_3.5.0
+
+ cp -R . "${D}"/ || die
+ dosym /opt/tuxbase/projects/arcad-c1/${app}.desktop /usr/share/applications/${app}.desktop || die
+ dosym lib${target} /opt/tuxbase/lib || die
+ dosym bin${target} /opt/tuxbase/projects/arcad-c1/bin || die
+ dosym /opt/tuxbase/projects/arcad-c1/start /usr/bin/${app} || die
+
+ dosym /usr/lib64/libjpeg.so /opt/tuxbase/lib/libjpeg.so.62 || die
+
+ # Ensure that the shipped libXm.so.4.0.3 is used rather than the system-wide libXm.so.4.0.4 or we get:
+ # symbol lookup error: /opt/tuxbase/lib/libtxtbl.so.2010.02: undefined symbol: _XmXftSetClipRectangles
+ dosym libXm.so.4.0.3 /opt/tuxbase/lib/libXm.so.4 || die
+}
diff --git a/media-gfx/arcad-c1-bin/metadata.xml b/media-gfx/arcad-c1-bin/metadata.xml
new file mode 100644
index 0000000..16bcc9f
--- /dev/null
+++ b/media-gfx/arcad-c1-bin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>