diff options
-rw-r--r-- | trinity-base/kstars/kstars-14.0.12.ebuild | 7 | ||||
-rw-r--r-- | trinity-base/kstars/kstars-9999.ebuild | 7 |
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 } |