summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-05-09 21:05:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-05-09 21:12:11 +0200
commit0c8aadc5bd665342c9fa0b1bf2fa8a00e7400887 (patch)
treedd0f603158e245a8bd9981cfe44dd77877b24ed6 /media-gfx/librecad
parentmedia-gfx/librecad: Fix build with >=dev-libs/boost-1.76 (diff)
downloadgentoo-0c8aadc5bd665342c9fa0b1bf2fa8a00e7400887.tar.gz
gentoo-0c8aadc5bd665342c9fa0b1bf2fa8a00e7400887.tar.bz2
gentoo-0c8aadc5bd665342c9fa0b1bf2fa8a00e7400887.zip
media-gfx/librecad: Fix metainfo install path
Drop IUSE=3d in 9999 too, amazingly, a follow-up to 3a46e048. Closes: https://bugs.gentoo.org/726036 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/librecad')
-rw-r--r--media-gfx/librecad/librecad-2.1.3-r6.ebuild (renamed from media-gfx/librecad/librecad-2.1.3-r5.ebuild)2
-rw-r--r--media-gfx/librecad/librecad-9999.ebuild14
-rw-r--r--media-gfx/librecad/metadata.xml15
3 files changed, 15 insertions, 16 deletions
diff --git a/media-gfx/librecad/librecad-2.1.3-r5.ebuild b/media-gfx/librecad/librecad-2.1.3-r6.ebuild
index 7b21b0e12ca4..9e36da264e46 100644
--- a/media-gfx/librecad/librecad-2.1.3-r5.ebuild
+++ b/media-gfx/librecad/librecad-2.1.3-r6.ebuild
@@ -51,7 +51,7 @@ src_install() {
insinto /usr/share/${PN}
doins -r unix/resources/*
use doc && docinto html && dodoc -r librecad/support/doc/*
- insinto /usr/share/appdata
+ insinto /usr/share/metainfo
doins unix/appdata/librecad.appdata.xml
doicon librecad/res/main/${PN}.png
make_desktop_entry ${PN} LibreCAD ${PN} Graphics
diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild
index 04902b991e93..4f1a71b35035 100644
--- a/media-gfx/librecad/librecad-9999.ebuild
+++ b/media-gfx/librecad/librecad-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -14,16 +14,13 @@ if [[ ${PV} == *9999* ]]; then
else
SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/${PV/_/}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/LibreCAD-${PV}"
+ KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
-IUSE="3d debug doc tools"
+IUSE="debug doc tools"
-BDEPEND="
- dev-qt/linguist-tools:5
-"
RDEPEND="
dev-cpp/muParser
dev-libs/boost:=
@@ -38,6 +35,9 @@ DEPEND="${RDEPEND}
dev-qt/qthelp:5
dev-qt/qtxml:5
"
+BDEPEND="
+ dev-qt/linguist-tools:5
+"
src_configure() {
eqmake5 -r
@@ -49,7 +49,7 @@ src_install() {
insinto /usr/share/${PN}
doins -r unix/resources/*
use doc && docinto html && dodoc -r librecad/support/doc/*
- insinto /usr/share/appdata
+ insinto /usr/share/metainfo
doins unix/appdata/librecad.appdata.xml
doicon librecad/res/main/${PN}.png
make_desktop_entry ${PN} LibreCAD ${PN} Graphics
diff --git a/media-gfx/librecad/metadata.xml b/media-gfx/librecad/metadata.xml
index e83f7a4a7026..803bf3514a84 100644
--- a/media-gfx/librecad/metadata.xml
+++ b/media-gfx/librecad/metadata.xml
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
- <use>
- <flag name="3d">Require all 2D coordinates stored as 3D</flag>
- <flag name="tools">Build additional tool programs: tff2lff</flag>
- </use>
- <upstream>
- <remote-id type="github">LibreCAD/LibreCAD</remote-id>
- </upstream>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="tools">Build additional tool programs: tff2lff</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">LibreCAD/LibreCAD</remote-id>
+ </upstream>
</pkgmetadata>