summaryrefslogtreecommitdiffstats
path: root/trinity-base/krec/krec-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/krec/krec-9999.ebuild')
-rw-r--r--trinity-base/krec/krec-9999.ebuild41
1 files changed, 14 insertions, 27 deletions
diff --git a/trinity-base/krec/krec-9999.ebuild b/trinity-base/krec/krec-9999.ebuild
index f0b40654..40e96e25 100644
--- a/trinity-base/krec/krec-9999.ebuild
+++ b/trinity-base/krec/krec-9999.ebuild
@@ -20,38 +20,25 @@ DEPEND="~trinity-base/tdemultimedia-arts-${PV}
vorbis? ( media-libs/libvorbis ) )"
RDEPEND="${DEPEND}"
+src_prepare() {
+ sed -i 's/NOT BUILD_ARTS/BUILD_ARTS/' "${S}/CMakeLists.txt" || die
+ sed -i -e 's/artsmoduleseffects-shared/artsmoduleseffects/' \
+ -e 's/artscontrolsupport-shared/artscontrolsupport/' \
+ -e 's/artsgui_kde-shared/artsgui_kde/g' \
+ -e 's/artsmoduleseffects-shared/artsmoduleseffects/' \
+ "${S}/${PN}/CMakeLists.txt" || die
+ sed -i 's/artsmoduleseffects-shared/artsmoduleseffects/' \
+ "${S}/${PN}/mp3_export/CMakeLists.txt" || die
+ sed -i 's/artsmoduleseffects-shared/artsmoduleseffects/' "${S}/${PN}/ogg_export/CMakeLists.txt" || die
+ sed -i 's/soundserver_idl/soundserver_idl artsgui_idl/' "${S}/${PN}/CMakeLists.txt" || die
+ trinity-meta-2_src_prepare
+}
+
src_configure() {
mycmakeargs=(
-DWITH_LAME="$(usex mp3)"
-DWITH_VORBIS="$(usex vorbis)"
- -DBUILD_ARTS=yes
)
trinity-meta-2_src_configure
}
-
-src_install() {
- trinity-meta-2_src_install
-
- #Junk all the files that overlap with tdemultimedia-arts.
- #It would be cleaner not to let them install at all, but I wasn't
- #able to pull that off.
- rm -r "${D}"/usr/trinity/14/share/apps/artscontrol/
- rm -r "${D}"/usr/trinity/14/share/apps/artsbuilder/
- rm -r "${D}"/usr/trinity/14/include/
- rm -r "${D}"/usr/trinity/14/lib64/libarts*
- rm -r "${D}"/usr/trinity/14/lib64/mcop/arts*
- rm -r "${D}"/usr/trinity/14/lib64/mcop/Arts/
- rm -r "${D}"/usr/trinity/14/share/icons/*/*/apps/artscontrol.png
- rm -r "${D}"/usr/trinity/14/share/icons/*/*/apps/artsbuilder.png
- rm -r "${D}"/usr/trinity/14/share/icons/hicolor/scalable/
- rm -r "${D}"/usr/trinity/14/share/icons/crystalsvg/
- rm -r "${D}"/usr/trinity/14/share/applications/tde/artscontrol.desktop
- rm -r "${D}"/usr/trinity/14/share/applications/tde/artsbuilder.desktop
- rm -r "${D}"/usr/trinity/14/bin/artscontrol
- rm -r "${D}"/usr/trinity/14/bin/artsbuilder
- rm -r "${D}"/usr/trinity/14/bin/midisend
- rm -r "${D}"/usr/trinity/14/share/mimelnk/
- rm -r "${D}"/usr/trinity/14/share/apps/kicker/
- rm -r "${D}"/usr/trinity/14/share/doc/tde/HTML/en/artsbuilder
-}