mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user