summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2022-07-11 20:44:14 +0000
committerormorph <roma251078@mail.ru>2022-07-11 20:44:14 +0000
commit49d29396288feffdd3a45ad1266c03abcf18eee8 (patch)
tree8aef18bb2e75c85a0080e9c0ee3ed085b6bef27f
parent8efd3957f93ca95c2695159d0adfd9956e91254a (diff)
downloadtde-packaging-gentoo-49d29396288feffdd3a45ad1266c03abcf18eee8.tar.gz
tde-packaging-gentoo-49d29396288feffdd3a45ad1266c03abcf18eee8.zip
Fixing kstarts build errors
Signed-off-by: ormorph <roma251078@mail.ru>
-rw-r--r--trinity-base/kstars/kstars-14.0.12.ebuild7
-rw-r--r--trinity-base/kstars/kstars-9999.ebuild7
2 files changed, 12 insertions, 2 deletions
diff --git a/trinity-base/kstars/kstars-14.0.12.ebuild b/trinity-base/kstars/kstars-14.0.12.ebuild
index fee3ab86..07e8dab0 100644
--- a/trinity-base/kstars/kstars-14.0.12.ebuild
+++ b/trinity-base/kstars/kstars-14.0.12.ebuild
@@ -15,7 +15,7 @@ fi
IUSE="usb v4l"
DEPEND="~trinity-base/libtdeedu-${PV}
- usb? ( virtual/libusb:1 )
+ usb? ( virtual/libusb:0 )
v4l? ( media-libs/libv4l )
"
RDEPEND="${DEPEND}"
@@ -27,6 +27,11 @@ src_prepare() {
-e 's/tdeeduui-shared/tdeeduui/g' -e 's/extdate-shared/extdate/g' \
"${S}/${PN}/${PN}/CMakeLists.txt" || die
sed -i 's/tdeeduplot-shared/tdeeduplot/' "${S}/${PN}/${PN}/tools/CMakeLists.txt" || die
+ # Removing unnecessary dependencies
+ sed -i ':a;N;$!ba;s/tdeeduui/file-delet/2' "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ sed -i ':a;N;$!ba;s/tdeeduplot/file-delet/2' "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ sed -i ':a;N;$!ba;s/extdate/file-delet/2' "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ sed -i '/file-delet/d' "${S}/${PN}/${PN}/CMakeLists.txt" || die
trinity-meta-2_src_prepare
}
diff --git a/trinity-base/kstars/kstars-9999.ebuild b/trinity-base/kstars/kstars-9999.ebuild
index 1ee81732..cd06525c 100644
--- a/trinity-base/kstars/kstars-9999.ebuild
+++ b/trinity-base/kstars/kstars-9999.ebuild
@@ -15,7 +15,7 @@ fi
IUSE="usb v4l"
DEPEND="~trinity-base/libtdeedu-${PV}
- usb? ( virtual/libusb:1 )
+ usb? ( virtual/libusb:0 )
v4l? ( media-libs/libv4l )
"
RDEPEND="${DEPEND}"
@@ -27,6 +27,11 @@ src_prepare() {
-e 's/tdeeduui-shared/tdeeduui/g' -e 's/extdate-shared/extdate/g' \
"${S}/${PN}/${PN}/CMakeLists.txt" || die
sed -i 's/tdeeduplot-shared/tdeeduplot/' "${S}/${PN}/${PN}/tools/CMakeLists.txt" || die
+ # Removing unnecessary dependencies
+ sed -i ':a;N;$!ba;s/tdeeduui/file-delet/2' "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ sed -i ':a;N;$!ba;s/tdeeduplot/file-delet/2' "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ sed -i ':a;N;$!ba;s/extdate/file-delet/2' "${S}/${PN}/${PN}/CMakeLists.txt" || die
+ sed -i '/file-delet/d' "${S}/${PN}/${PN}/CMakeLists.txt" || die
trinity-meta-2_src_prepare
}