Browse Source

qcad removed: look at bgo-overlay

master
Kolan Sh 2 years ago
parent
commit
a35c39e74d
  1. 1
      sci-misc/qcad/Manifest
  2. 3
      sci-misc/qcad/files/qcad
  3. 80
      sci-misc/qcad/qcad-3.7.1.0.ebuild

1
sci-misc/qcad/Manifest

@ -1 +0,0 @@
DIST qcad-3.7.1.0.zip 41092947 SHA256 ced61007f33e67efc02003c604f879113629af78a1b33cc597c506704ea98584 SHA512 58b6015f05f69513f4dc1e96735f565f45e59cebf372f30d1ac5847e07c92b6451b5ce624baf97e24db902de4172930a5c85b95c17f05dddb18feab3b01901e5 WHIRLPOOL 940b89683c587b2adb2f3c8abe308d3865c7aa1ac520e5a5b2bcfee626ffd0e1d70d9c678f5f533b343440933fa3901e2469555c29eb2c102de95173f680fd41

3
sci-misc/qcad/files/qcad

@ -1,3 +0,0 @@
#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/qcad /usr/lib/qcad/qcad-bin

80
sci-misc/qcad/qcad-3.7.1.0.ebuild

@ -1,80 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils
DESCRIPTION="2D CAD application"
HOMEPAGE="http://www.qcad.org/"
SRC_URI="https://github.com/qcad/qcad/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64"
LINGUAS=( de en es fr it ja nl pl pt ru sl )
IUSE=""
for lingua in ${LINGUAS[*]}; do
IUSE+=" linguas_${lingua}"
done
DEPEND="
dev-qt/qthelp
dev-db/sqlite:3
dev-lang/orc
dev-libs/expat
dev-libs/glib
dev-libs/icu
dev-libs/libffi
dev-libs/libxml2
dev-libs/openssl
dev-qt/designer
dev-qt/qtgui
dev-qt/qthelp
dev-qt/qtopengl
dev-qt/qtscript
dev-qt/qtsql
dev-qt/qtsvg
dev-qt/qtwebkit
dev-qt/qtxmlpatterns
media-libs/glu
media-libs/gst-plugins-base
media-libs/gstreamer
media-libs/libpng
media-libs/mesa
media-libs/nas
sys-apps/util-linux
"
RDEPEND="${DEPEND}"
src_configure () {
qmake -r || die
}
src_install () {
cd "${S}"
for lingua in "${LINGUAS[@]}"
do
if ! use linguas_${lingua}
then
find -type f -name "*_${lingua}.*" -delete
fi
done
dobin ${FILESDIR}/qcad
insinto /usr/lib/${PN}/
doins -r scripts fonts patterns libraries linetypes ts
insopts -m0755
doins release/*
doins -r plugins
docinto examples
dodoc examples/*
docompress -x /usr/share/doc/${PF}/examples
}
Loading…
Cancel
Save