mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix build with glib 2.36.
Convert to USES=desktop-file-utils and shared-mime-info.
This commit is contained in:
parent
097876d0fb
commit
795cd3e9f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321088
@ -4,7 +4,7 @@
|
||||
|
||||
PORTNAME= nautilus
|
||||
PORTVERSION= 2.32.2.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= x11-fm gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome2
|
||||
@ -23,8 +23,9 @@ INSTALLS_ICONS= yes
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USES= gettext
|
||||
USES= desktop-file-utils shared-mime-info
|
||||
USE_GNOME= gnomeprefix gnomehack intlhack gnomedesktop \
|
||||
librsvg2 desktopfileutils ltverhack gvfs ltasneededhack
|
||||
librsvg2 ltverhack gvfs ltasneededhack
|
||||
USE_LDCONFIG= yes
|
||||
USE_AUTOTOOLS= libtool
|
||||
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -liconv" \
|
||||
@ -43,9 +44,10 @@ post-patch:
|
||||
${WRKSRC}/eel/eel-*.[ch] \
|
||||
${WRKSRC}/libnautilus-private/*.[ch] \
|
||||
${WRKSRC}/src/nautilus-zoom-control.c
|
||||
@${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \
|
||||
${WRKSRC}/configure ${WRKSRC}/eel/Makefile.in
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/lib/nautilus/extensions-2.0
|
||||
@-update-desktop-database
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -238,10 +238,6 @@ share/pixmaps/nautilus/thumbnail_frame.png
|
||||
@dirrmtry lib/nautilus
|
||||
@dirrm include/nautilus/libnautilus-extension
|
||||
@dirrm include/nautilus
|
||||
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
|
||||
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
|
||||
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
@dirrm share/doc/libnautilus-extension
|
||||
@dirrmtry share/locale/zu/LC_MESSAGES
|
||||
@dirrmtry share/locale/zu
|
||||
|
Loading…
Reference in New Issue
Block a user