Subackage this port into gnome-media and glade3-gnome-media. There is no

reason to force glade3 dependency on users who do not want/need the
gnome-media profiles catalog.

ok jasper@
This commit is contained in:
ajacoutot 2011-03-15 06:24:47 +00:00
parent 5ce94368b5
commit 2ba6348eac
8 changed files with 49 additions and 26 deletions

View File

@ -1,14 +1,20 @@
# $OpenBSD: Makefile,v 1.42 2011/01/18 20:03:07 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.43 2011/03/15 06:24:47 ajacoutot Exp $
COMMENT= GNOME media utilities
COMMENT-main= GNOME media utilities
COMMENT-glade3= GNOME media profiles catalog for Glade3
GNOME_PROJECT= gnome-media
GNOME_VERSION= 2.32.0
REVISION= 1
PKGNAME-main= ${DISTNAME}
PKGNAME-glade3= glade3-${DISTNAME}
REVISION-main= 2
SHARED_LIBS += gnome-media-profiles 1.0 # .0.0
CATEGORIES= x11
CATEGORIES-main= x11 ${CATEGORIES}
CATEGORIES-glade3= devel ${CATEGORIES}
# GPLv2/GFDLv1.1/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
@ -16,24 +22,35 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo
WANTLIB += expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gstbase-0.10
WANTLIB += gstreamer-0.10 gthread-2.0 gtk-x11-2.0 ltdl m ogg pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
WANTLIB += pthread-stubs vorbis vorbisfile xcb xml2 z xcb-render
WANTLIB += xcb-render-util gstaudio-0.10 gstinterfaces-0.10 canberra-gtk
WANTLIB += canberra gladeui-1
WANTLIB += GL ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0
WANTLIB += cairo drm expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gstreamer-0.10
WANTLIB += gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread-stubs xcb xcb-render
WANTLIB += xcb-shm xml2 z
MULTI_PACKAGES= -main -glade3
MODULES= devel/gettext \
x11/gnome \
devel/gconf2
BUILD_DEPENDS= multimedia/gstreamer-0.10/plugins-good
LIB_DEPENDS= multimedia/gstreamer-0.10/plugins-base>=0.10.25 \
audio/libcanberra \
WANTLIB-main += ${WANTLIB}
WANTLIB-main += c canberra canberra-gtk gstaudio-0.10 gstbase-0.10
WANTLIB-main += gstinterfaces-0.10 ltdl ogg pthread vorbis vorbisfile
LIB_DEPENDS-main= multimedia/gstreamer-0.10/plugins-base>=0.10.25 \
audio/libcanberra
WANTLIB-glade3 += ${WANTLIB}
WANTLIB-glade3 += gladeui-1 gnome-media-profiles
LIB_DEPENDS-glade3= ${BUILD_PKGPATH},-main \
devel/glade3
RUN_DEPENDS-glade3= ${MODGETTEXT_RUN_DEPENDS}
MODGNOME_HELP_FILES= Yes
DESKTOP_FILES= Yes

View File

@ -0,0 +1 @@
This package provides the GNOME media profiles catalog for Glade3.

View File

@ -1,3 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.4 2010/09/30 07:35:18 ajacoutot Exp $
lib/glade3/modules/libgnome-media-profiles.so
@lib lib/libgnome-media-profiles.so.${LIBgnome-media-profiles_VERSION}

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-glade3,v 1.1 2011/03/15 06:24:47 ajacoutot Exp $
lib/glade3/modules/libgnome-media-profiles.so

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-main,v 1.1 2011/03/15 06:24:47 ajacoutot Exp $
@lib lib/libgnome-media-profiles.so.${LIBgnome-media-profiles_VERSION}

View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST-glade3,v 1.1 2011/03/15 06:24:47 ajacoutot Exp $
@conflict gnome-media-<2.32.0p2
%%SHARED%%
lib/glade3/
lib/glade3/modules/
@comment lib/glade3/modules/libgnome-media-profiles.a
@comment lib/glade3/modules/libgnome-media-profiles.la
share/glade3/
share/glade3/catalogs/
share/glade3/catalogs/gnome-media-profiles.xml

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.14 2010/09/30 07:35:18 ajacoutot Exp $
@comment $OpenBSD: PLIST-main,v 1.1 2011/03/15 06:24:47 ajacoutot Exp $
@pkgpath x11/gnome/media
%%SHARED%%
@bin bin/gnome-audio-profiles-properties
@bin bin/gnome-sound-recorder
@ -11,19 +12,12 @@ include/gnome-media/profiles/audio-profile-edit.h
include/gnome-media/profiles/audio-profile.h
include/gnome-media/profiles/audio-profiles-edit.h
include/gnome-media/profiles/gnome-media-profiles.h
lib/glade3/
lib/glade3/modules/
@comment lib/glade3/modules/libgnome-media-profiles.a
@comment lib/glade3/modules/libgnome-media-profiles.la
lib/libgnome-media-profiles.a
lib/libgnome-media-profiles.la
lib/pkgconfig/gnome-media-profiles.pc
share/applications/gnome-sound-recorder.desktop
share/applications/gnome-volume-control.desktop
share/applications/gstreamer-properties.desktop
share/glade3/
share/glade3/catalogs/
share/glade3/catalogs/gnome-media-profiles.xml
share/gnome-media/
share/gnome-media/gnome-audio-profile-edit.ui
share/gnome-media/gnome-audio-profile-new.ui