1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

auto-detect gtk12 in helps of depreciating gtk12.

This commit is contained in:
Michael Johnson 2005-01-25 22:32:35 +00:00
parent 82837f15a0
commit cbe2b0b704
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127339
2 changed files with 10 additions and 2 deletions

View File

@ -24,7 +24,8 @@ LIB_DEPENDS= avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
INSTALLS_SHLIB= yes
USE_REINPLACE= yes
USE_GL= yes
USE_GNOME= gnometarget gtk12 gnomehack pkgconfig
USE_GNOME= gnometarget gnomehack pkgconfig
WANT_GNOME= yes
USE_GMAKE= yes
USE_LIBTOOL_VER=15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
@ -49,6 +50,13 @@ PORTDOCS= codecs.html \
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgtk12}!=""
USE_GNOME+= gtk12
PLIST_SUB+= GTK=""
.else
PLIST_SUB+= GTK="@comment "
.endif
.if defined(WITH_LAME) || exists(${LOCALBASE}/lib/libmp3lame.a)
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
PLIST_SUB+= LAME=""

View File

@ -1,4 +1,4 @@
bin/libquicktime_config
%%GTK%%bin/libquicktime_config
bin/lqt-config
bin/lqt_transcode
bin/lqtplay