phonon.port.mk 864 B

123456789101112131415161718192021222324
  1. # $OpenBSD: phonon.port.mk,v 1.7 2016/05/27 02:50:05 zhuk Exp $
  2. .if ${MODULES:Mx11/qt5} || ${MODULES:Mdevel/kf5}
  3. MODPHONON_WANTLIB = phonon4qt5
  4. MODPHONON_LIB_DEPENDS = phonon-qt5->=4.8.0:multimedia/phonon,qt5
  5. .else
  6. MODPHONON_WANTLIB = ${MODKDE4_LIB_DIR}/phonon_s
  7. MODPHONON_LIB_DEPENDS = phonon->=4.8.0:multimedia/phonon
  8. .endif
  9. # If enabled (default), make sure at least one Phonon backend is
  10. # installed prior installing affected port.
  11. MODPHONON_PLUGIN_DEPS ?= Yes
  12. .if ${MODPHONON_PLUGIN_DEPS:L} == "yes"
  13. . if ${MODULES:Mx11/qt5} || ${MODULES:Mdevel/kf5}
  14. MODPHONON_RUN_DEPENDS = phonon-qt5-gstreamer-*:multimedia/phonon-backend/gstreamer,qt5
  15. . else
  16. MODPHONON_RUN_DEPENDS = phonon-vlc-*|phonon-gstreamer-*:multimedia/phonon-backend/vlc
  17. . endif
  18. .endif
  19. WANTLIB += ${MODPHONON_WANTLIB}
  20. LIB_DEPENDS += ${MODPHONON_LIB_DEPENDS}
  21. RUN_DEPENDS += ${MODPHONON_RUN_DEPENDS}