openbsd-ports/multimedia/kaffeine/Makefile
ajacoutot 973a6fb381 - tweak the way the gtk-update-icon-cache goo is run
gtk-update-icon-cache is part of gtk+2: adding gtk+2 to run_depends just
to update the icon cache (which only gtk apps can use) is overkill to
say the least!
As from now, each time icons are installed under %D/share/icons, we try
to execute gtk-update-icon-cache and if it is not there, we just ignore
the error.
What it means is that if you have gtk+2 installed, then it'll run fine
and your apps will be able to use the cache. Otherwise, it will silently
fails which is fine since it means none of your apps would have been
able to take advantage of the cache anyway.

discussed with jasper@
2008-04-17 08:10:09 +00:00

49 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2008/04/17 08:10:10 ajacoutot Exp $
CATEGORIES= multimedia x11 x11/kde
COMMENT= video player for KDE
HOMEPAGE= http://kaffeine.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kaffeine/}
DISTNAME= kaffeine-0.8.6
PKGNAME= ${DISTNAME}p1
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS += kaffeinepart 0.0 # .0.1
SHARED_LIBS += kaffeineaudioencoder 0.0 # .0.1
MODULES= x11/kde
MODKDE_VERSION= 3.5.7
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.61
CONFIGURE_ARGS+= ${MODKDE_CONFIGURE_ARGS}
CONFIGURE_ARGS+= --disable-libsuffix \
--without-gstreamer \
--without-arts \
--without-lame
USE_GMAKE= Yes
CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV}
MAKE_ENV= ${CONFIGURE_ENV}
MAKE_FLAGS+= ${MODKDE_MAKE_FLAGS}
SEPARATE_BUILD= simple
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS= kdecore.>=7,DCOP,kdesu,kio,kdefx,kparts,kutils,kdeprint,kdeui,kwalletclient,khtml,kjs::x11/kde/libs3 \
vorbis,vorbisenc::audio/libvorbis \
cdda_interface,cdda_paranoia::audio/cdparanoia \
xine.>=20::multimedia/xine-lib
WANTLIB= X11 ICE Xrender SM Xext freetype Xinerama \
util m pthread z c stdc++ expat fontconfig \
pcre pcreposix iconv jpeg ogg png idn intl art_lgpl_2 \
Xau Xdmcp Xtst fam rpcsvc
# GPL
PERMIT_DISTFILES_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_PACKAGE_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
.include <bsd.port.mk>