net-misc/unison: fix .desktop and GUI build

Closes: https://bugs.gentoo.org/360161
Closes: https://bugs.gentoo.org/750125
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2020-10-20 03:08:18 +00:00
parent 0926380404
commit dfcfaa586a
2 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ PATCHES=(
DOCS=( BUGS.txt CONTRIB INSTALL NEWS README ROADMAP.txt TODO.txt )
src_compile() {
local myconf
local myconf="all"
if use threads; then
myconf="$myconf THREADS=true"
@@ -77,7 +77,7 @@ src_install() {
if use gtk; then
newicon -s scalable ../icons/U.svg ${PN}-${SLOT}.svg
make_desktop_entry Unison "${PN} (${SLOT})" "${EPREFIX}/usr/share/${PN}/${PN}-${SLOT}.svg"
make_desktop_entry unison-${SLOT} "${PN} (${SLOT})" "${EPREFIX}/usr/share/${PN}/${PN}-${SLOT}.svg"
fi
# No manual.pdf or manual.html available for this version

View File

@@ -32,7 +32,7 @@ RDEPEND="
DOCS=( BUGS.txt CONTRIB INSTALL NEWS README ROADMAP.txt TODO.txt )
src_compile() {
local myconf
local myconf="all"
if use threads; then
myconf="$myconf THREADS=true"
@@ -69,7 +69,7 @@ src_install() {
if use gtk; then
newicon -s scalable ../icons/U.svg ${PN}-${SLOT}.svg
make_desktop_entry Unison "${PN} (${SLOT})" "${EPREFIX}/usr/share/${PN}/${PN}-${SLOT}.svg"
make_desktop_entry unison-${SLOT} "${PN} (${SLOT})" "${EPREFIX}/usr/share/${PN}/${PN}-${SLOT}.svg"
fi
# No docs for release candidates