diff options
author | miwi <miwi@FreeBSD.org> | 2006-11-13 17:48:51 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-11-13 17:48:51 +0800 |
commit | 4366cee1f74d024bcc1bef5446022d56a39756bd (patch) | |
tree | 00fcc2bbcca5080512bae2dbd649c8e8ae50f7f0 /multimedia | |
parent | b1797cb7065550f03b8e7fa4460d41fc913773b1 (diff) | |
download | freebsd-ports-gnome-4366cee1f74d024bcc1bef5446022d56a39756bd.tar.gz freebsd-ports-gnome-4366cee1f74d024bcc1bef5446022d56a39756bd.tar.zst freebsd-ports-gnome-4366cee1f74d024bcc1bef5446022d56a39756bd.zip |
- Fix pkg-plist
- Add dbus optional
- Bump PORTREVISION
PR: 105438
Submitted by: Max Brazhnikov<makc@issp.ac.ru> (maintainer)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gxine/Makefile | 15 | ||||
-rw-r--r-- | multimedia/gxine/pkg-plist | 2 |
2 files changed, 12 insertions, 5 deletions
diff --git a/multimedia/gxine/Makefile b/multimedia/gxine/Makefile index 7dc82da1ec29..15cdbcecc30e 100644 --- a/multimedia/gxine/Makefile +++ b/multimedia/gxine/Makefile @@ -7,6 +7,7 @@ PORTNAME= gxine PORTVERSION= 0.5.8 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= xine @@ -14,8 +15,7 @@ MASTER_SITE_SUBDIR= xine MAINTAINER= makc@issp.ac.ru COMMENT= An alternative GUI for the Xine media player -LIB_DEPENDS= xine.15:${PORTSDIR}/multimedia/libxine \ - dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib +LIB_DEPENDS= xine.15:${PORTSDIR}/multimedia/libxine USE_BZIP2= yes USE_AUTOTOOLS= libtool:15 @@ -23,7 +23,7 @@ USE_GNOME= gtk20 gnomehier USE_GMAKE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -I${X11BASE}/lib" -CONFIGURE_ARGS+=--mandir=${PREFIX}/man --with-dbus +CONFIGURE_ARGS+=--mandir=${PREFIX}/man CFLAGS= -O2 -fno-strict-aliasing -pipe INSTALLS_ICONS= yes @@ -32,9 +32,18 @@ MAN1= gxine.1 gxine_client.1 MANCOMPRESSED= no OPTIONS= MOZILLA_PLUGIN "Install Mozilla plugin" on \ + DBUS "Enable dbus support" on \ LIRC "Enable lirc support" off .include <bsd.port.pre.mk> + +.if !defined(WITHOUT_DBUS) +CONFIGURE_ARGS+=--with-dbus +LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib +.else +CONFIGURE_ARGS+=--without-dbus +.endif + .if defined(WITHOUT_NLS) CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " diff --git a/multimedia/gxine/pkg-plist b/multimedia/gxine/pkg-plist index d844d6a8cbcc..47bb524a6580 100644 --- a/multimedia/gxine/pkg-plist +++ b/multimedia/gxine/pkg-plist @@ -47,8 +47,6 @@ share/pixmaps/gxine.png %%NLS%%@dirrmtry share/locale/zh_CN %%NLS%%@dirrmtry share/locale/uk/LC_MESSAGES %%NLS%%@dirrmtry share/locale/uk -%%NLS%%@dirrmtry share/locale/sq/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/sq %%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES %%NLS%%@dirrmtry share/locale/pl %%NLS%%@dirrmtry share/locale/cs/LC_MESSAGES |