Fix complex package combinations for Phonon GStreamer backend, until
someone runs into real issues. We produce two similar 100% interchangeable packages for now: phonon-gstreamer-icons-4.8.2p0 and phonon-gstreamer-icons-4.8.2p0-qt5. Not sure how to deal with it, but at least it builds and updates fine now.
This commit is contained in:
parent
95e9839174
commit
7c2dc30b57
@ -1,28 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2016/05/27 02:44:00 zhuk Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2016/05/27 03:41:30 zhuk Exp $
|
||||
|
||||
COMMENT-main = GStreamer-based Phonon backend
|
||||
COMMENT-icons = GStreamer-based Phonon backend icons
|
||||
VERSION = 4.8.2
|
||||
DISTNAME = phonon-backend-gstreamer-${VERSION}
|
||||
PKGNAME-main = ${PKGNAME}
|
||||
PKGNAME-icons = phonon-gstreamer-icons-${VERSION}
|
||||
HOMEPAGE = https://projects.kde.org/projects/kdesupport/phonon/phonon-gstreamer
|
||||
REVISION-main = 2
|
||||
REVISION-main = 3
|
||||
REVISION-icons =0
|
||||
|
||||
FULLPKGNAME-main = ${PKGNAME}
|
||||
FULLPKGPATH-main = ${PKGPATH},${FLAVOR},-main
|
||||
|
||||
# deconflict Qt4 and Qt5 versions by extracting common data
|
||||
MULTI_PACKAGES = -main -icons
|
||||
|
||||
# icons are same, so not reason to have different packages
|
||||
FULLPKGNAME-icons = ${PKGNAME-icons}
|
||||
FULLPKGPATH-icons = ${PKGPATH,-icons}
|
||||
PKGNAME-main = ${PKGNAME}
|
||||
FULLPKGNAME-main = ${FULLPKGNAME}
|
||||
FULLPKGPATH-main = ${PKGPATH},${FLAVOR},-main
|
||||
PKG_ARCH-icons = *
|
||||
|
||||
RUN_DEPENDS-icons = x11/gtk+3,-guic
|
||||
# allow playing Vorbis and MP3 notification sounds out of the box
|
||||
RUN_DEPENDS-main = multimedia/gstreamer1/plugins-good \
|
||||
multimedia/gstreamer1/plugins-libav
|
||||
multimedia/gstreamer1/plugins-libav \
|
||||
${BASE_PKGPATH},-icons
|
||||
|
||||
LIB_DEPENDS-icons =
|
||||
LIB_DEPENDS-main = ${LIB_DEPENDS} \
|
||||
@ -38,9 +39,9 @@ WANTLIB-main += gstreamer-1.0 gstvideo-1.0 gstapp-1.0
|
||||
FLAVORS = qt5
|
||||
FLAVOR ?=
|
||||
.if ${FLAVOR:Mqt5}
|
||||
WANTLIB-main += Qt5Core Qt5Gui Qt5OpenGL Qt5Widgets
|
||||
WANTLIB-main += Qt5Core Qt5Gui Qt5OpenGL Qt5Widgets
|
||||
.else
|
||||
WANTLIB-main += QtGui QtOpenGL
|
||||
WANTLIB-main += QtGui QtOpenGL
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,6 @@
|
||||
@comment $OpenBSD: PLIST-icons,v 1.1 2016/05/27 02:44:00 zhuk Exp $
|
||||
@comment $OpenBSD: PLIST-icons,v 1.2 2016/05/27 03:41:30 zhuk Exp $
|
||||
@conflict phonon-gstreamer-<4.8.2p2
|
||||
@conflict phonon-qt5-gstreamer-<4.8.2p2
|
||||
share/icons/hicolor/128x128/apps/phonon-gstreamer.png
|
||||
share/icons/hicolor/16x16/apps/phonon-gstreamer.png
|
||||
share/icons/hicolor/22x22/apps/phonon-gstreamer.png
|
||||
|
Loading…
Reference in New Issue
Block a user