Skip to content

Commit

Permalink
app-arch/p7zip: Fix build problems for GUI
Browse files Browse the repository at this point in the history
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564332

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Oct 29, 2015
1 parent 1722770 commit dc66bae
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions app-arch/p7zip/p7zip-15.09.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ src_prepare() {
sed \
-e 's:-m32 ::g' \
-e 's:-m64 ::g' \
-e 's:-O::g' \
-e 's: -s ::g' \
-e 's: -s$::g' \
-e 's:-pipe::g' \
-e "/^CXX=/s:g++:$(tc-getCXX):" \
-e "/^CC=/s:gcc:$(tc-getCC):" \
Expand Down Expand Up @@ -100,7 +97,7 @@ src_compile() {
emake all3
if use kde || use wxwidgets; then
emake -- 7zG
emake -- 7zFM
# emake -- 7zFM
fi
}

Expand All @@ -116,13 +113,14 @@ src_install() {

if use kde || use wxwidgets; then
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
# make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"

make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
# make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"

dobin GUI/p7zipForFilemanager
exeinto /usr/$(get_libdir)/${PN}
doexe bin/7z{G,FM}
# doexe bin/7z{G,FM}
doexe bin/7zG

insinto /usr/$(get_libdir)/${PN}
doins -r GUI/{Lang,help}
Expand Down

0 comments on commit dc66bae

Please sign in to comment.