mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
* Fix autodetection problem for freetype2 which breaks gmplayer for some
machines, hopefully satisfying pr/57622 * RUN_DEPENDS on mplayer-skins if compiled WITH_GUI [1] PR: 57687 Suggested by: Jeremy Messenger <mezz7@cox.net> [1]
This commit is contained in:
parent
600df92c42
commit
051bef12df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90649
@ -38,10 +38,11 @@
|
||||
# (if not available) and then link mplayer against it. Then you'll
|
||||
# be able to use gmplayer, the graphical version of mplayer
|
||||
#
|
||||
# WITH_FREETYPE
|
||||
# WITHOUT_FREETYPE
|
||||
# default: undefined
|
||||
# defining this will change mplayer's font display ability from bitmap
|
||||
# fonts to truetype fonts
|
||||
# since freetype is installed on almost any system people might want
|
||||
# to run mplayer on, this port now defaults to freetype unless not
|
||||
# defined otherwise
|
||||
#
|
||||
#
|
||||
# CPU features:
|
||||
@ -166,7 +167,7 @@
|
||||
|
||||
PORTNAME= mplayer
|
||||
PORTVERSION= 0.92.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= multimedia audio ipv6
|
||||
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
|
||||
http://www2.mplayerhq.hu/MPlayer/releases/ \
|
||||
@ -306,6 +307,10 @@ WITH_XMMS= yes
|
||||
WITH_LZO= yes
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libfreetype.so.9) && !defined(WITHOUT_FREETYPE)
|
||||
WITH_FREETYPE= yes
|
||||
.endif
|
||||
|
||||
.if defined(WITH_OPTIMIZED_CFLAGS)
|
||||
CFLAGS+= -O3 -ffast-math -fomit-frame-pointer
|
||||
.endif
|
||||
@ -319,6 +324,7 @@ PLIST_SUB+= GMPLAYER="@comment "
|
||||
|
||||
.if defined(WITH_GUI)
|
||||
USE_GNOME+= gtk12
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/mplayer/Skin:${PORTSDIR}/multimedia/mplayer-skins
|
||||
.if defined(PKGNAMESUFFIX)
|
||||
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-gtk
|
||||
.else
|
||||
@ -454,6 +460,7 @@ CONFIGURE_ARGS+= --with-extraincdir=${LOCALBASE}/include/freetype2 \
|
||||
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
||||
.else
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/mplayer/fonts:${PORTSDIR}/multimedia/mplayer-fonts
|
||||
CONFIGURE_ARGS+= --disable-freetype
|
||||
.endif
|
||||
|
||||
.if defined(WITH_XANIM)
|
||||
|
Loading…
Reference in New Issue
Block a user