Makefile 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # $OpenBSD: Makefile,v 1.158 2017/01/03 18:54:48 shadchin Exp $
  2. COMMENT= integrated music management application for GNOME
  3. GNOME_PROJECT= rhythmbox
  4. GNOME_VERSION= 3.4.1
  5. REVISION= 0
  6. SHARED_LIBS += rhythmbox-core 0.0 # 7.0
  7. CATEGORIES= audio
  8. MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
  9. Antoine Jacoutot <ajacoutot@openbsd.org>
  10. # GPLv2 with exception clause
  11. PERMIT_PACKAGE_CDROM= Yes
  12. WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
  13. WANTLIB += Xinerama Xrandr Xrender archive atk-1.0 atk-bridge-2.0
  14. WANTLIB += atspi bz2 c cairo cairo-gobject crypto dbus-1 epoxy
  15. WANTLIB += expat ffi fontconfig freetype gcrypt gdk-3 gdk_pixbuf-2.0
  16. WANTLIB += gio-2.0 girepository-1.0 glib-2.0 gmime-2.6 gmodule-2.0
  17. WANTLIB += gobject-2.0 gpg-error gpod graphite2 grilo-0.3 gstaudio-1.0
  18. WANTLIB += gstbase-1.0 gstcontroller-1.0 gstpbutils-1.0 gstreamer-1.0
  19. WANTLIB += gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3 harfbuzz
  20. WANTLIB += iconv intl json-glib-1.0 lz4 lzma lzo2 m notify orc-0.4
  21. WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre peas-1.0
  22. WANTLIB += peas-gtk-1.0 pixman-1 plist png pthread pthread-stubs
  23. WANTLIB += soup-2.4 sqlite3 tdb totem-plparser xcb xcb-render
  24. WANTLIB += xcb-shm xml2 z
  25. MODULES= devel/dconf \
  26. lang/python \
  27. x11/gnome
  28. BUILD_DEPENDS= devel/py-gobject3${MODPY_FLAVOR}
  29. RUN_DEPENDS= devel/py-gobject3${MODPY_FLAVOR}
  30. # needed for the tests
  31. BUILD_DEPENDS += devel/check
  32. LIB_DEPENDS= audio/libgpod \
  33. databases/tdb \
  34. devel/json-glib \
  35. devel/libnotify \
  36. devel/libpeas \
  37. multimedia/gstreamer1/plugins-base \
  38. x11/gnome/grilo \
  39. x11/gnome/totem-pl-parser
  40. # context plugin
  41. RUN_DEPENDS += www/py-mako${MODPY_FLAVOR}
  42. # calls grl_registry_load...plugin
  43. RUN_DEPENDS += x11/gnome/grilo-plugins>=0.3.0
  44. # needed for flac support
  45. RUN_DEPENDS += multimedia/gstreamer1/plugins-good
  46. # needed for mp3 support
  47. RUN_DEPENDS += multimedia/gstreamer1/plugins-libav
  48. MODGNOME_TOOLS += desktop-file-utils gobject-introspection gtk-update-icon-cache
  49. MODGNOME_TOOLS += vala yelp
  50. MODGNOME_LDFLAGS= -L${X11BASE}/lib
  51. MODGNOME_CPPFLAGS= -I${X11BASE}/include
  52. MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
  53. CONFIGURE_STYLE= gnu
  54. CONFIGURE_ARGS= --without-brasero \
  55. --without-hal \
  56. --without-gudev \
  57. --disable-fm-radio \
  58. --disable-lirc
  59. # XXX requires libdmapsharing
  60. CONFIGURE_ARGS += --disable-daap
  61. # XXX requires hal|udev|gvfs-mtp
  62. CONFIGURE_ARGS += --without-mtp
  63. # XXX requires libmx
  64. CONFIGURE_ARGS += --disable-visualizer
  65. # WRKBUILD/tests
  66. TEST_IS_INTERACTIVE= x11
  67. post-install:
  68. rm ${PREFIX}/lib/rhythmbox/{,sample-}plugins/*/*.la
  69. rm ${PREFIX}/lib/rhythmbox/sample-plugins/*/*.a
  70. rm ${PREFIX}/lib/mozilla/plugins/*.{a,la}
  71. # XXX hangs: check at next rhythmbox update
  72. rm -rf ${PREFIX}/{lib,share}/rhythmbox/plugins/replaygain
  73. .include <bsd.port.mk>