summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2016-03-01 09:21:01 +0000
committermarkd <markd@pkgsrc.org>2016-03-01 09:21:01 +0000
commit83d5621813d4125b1f50fe3146caa3f61a14ab47 (patch)
tree54371e1ae9cfa5bbd474012c34fc353cc88c6899 /multimedia
parent05a5af3a437716e8b6a854674a5df54f117f8588 (diff)
downloadpkgsrc-83d5621813d4125b1f50fe3146caa3f61a14ab47.tar.gz
Add phonon-qt5-backend-gstreamer 4.8.2
Split common files out to phonon-backend-gstreamer-shared package.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/phonon-backend-gstreamer-shared/DESCR6
-rw-r--r--multimedia/phonon-backend-gstreamer-shared/Makefile24
-rw-r--r--multimedia/phonon-backend-gstreamer-shared/PLIST7
-rw-r--r--multimedia/phonon-backend-gstreamer/Makefile25
-rw-r--r--multimedia/phonon-backend-gstreamer/Makefile.common25
-rw-r--r--multimedia/phonon-backend-gstreamer/PLIST8
-rw-r--r--multimedia/phonon-backend-gstreamer/distinfo3
-rw-r--r--multimedia/phonon-backend-gstreamer/patches/patch-gstreamer_CMakeLists.txt12
-rw-r--r--multimedia/phonon-qt5-backend-gstreamer/DESCR8
-rw-r--r--multimedia/phonon-qt5-backend-gstreamer/Makefile16
-rw-r--r--multimedia/phonon-qt5-backend-gstreamer/PLIST2
11 files changed, 107 insertions, 29 deletions
diff --git a/multimedia/phonon-backend-gstreamer-shared/DESCR b/multimedia/phonon-backend-gstreamer-shared/DESCR
new file mode 100644
index 00000000000..17f2bfa9c3e
--- /dev/null
+++ b/multimedia/phonon-backend-gstreamer-shared/DESCR
@@ -0,0 +1,6 @@
+Phonon is the Multimedia API for KDE and QT.
+
+In Phonon there are three main concepts: MediaObjects, Paths and Outputs.
+The MediaObjects control the playback/capture and provide the media data.
+MediaObjects can be connected to Outputs using Path objects which also
+allow the insertion of Effect objects between MediaObject and Output.
diff --git a/multimedia/phonon-backend-gstreamer-shared/Makefile b/multimedia/phonon-backend-gstreamer-shared/Makefile
new file mode 100644
index 00000000000..06cc1b9b8e9
--- /dev/null
+++ b/multimedia/phonon-backend-gstreamer-shared/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2016/03/01 09:21:01 markd Exp $
+
+DISTNAME= phonon-backend-gstreamer-4.8.2
+PKGNAME= ${DISTNAME:S/-4/-shared-4/}
+
+COMMENT= Multimedia API for KF5 - GStreamer backend shared files
+
+.include "../../multimedia/phonon-backend-gstreamer/Makefile.common"
+
+do-configure:
+
+do-build:
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+ ${INSTALL_DATA} ${WRKSRC}/gstreamer/icons/hisc-apps-phonon-gstreamer.svgz \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/phonon-gstreamer.svgz
+.for i in 128 64 48 22 16
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
+ ${INSTALL_DATA} ${WRKSRC}/gstreamer/icons/hi${i}-apps-phonon-gstreamer.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/phonon-gstreamer.png
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/phonon-backend-gstreamer-shared/PLIST b/multimedia/phonon-backend-gstreamer-shared/PLIST
new file mode 100644
index 00000000000..1ce5e618a27
--- /dev/null
+++ b/multimedia/phonon-backend-gstreamer-shared/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2016/03/01 09:21:01 markd Exp $
+share/icons/hicolor/128x128/apps/phonon-gstreamer.png
+share/icons/hicolor/16x16/apps/phonon-gstreamer.png
+share/icons/hicolor/22x22/apps/phonon-gstreamer.png
+share/icons/hicolor/48x48/apps/phonon-gstreamer.png
+share/icons/hicolor/64x64/apps/phonon-gstreamer.png
+share/icons/hicolor/scalable/apps/phonon-gstreamer.svgz
diff --git a/multimedia/phonon-backend-gstreamer/Makefile b/multimedia/phonon-backend-gstreamer/Makefile
index b9e7e3576a2..8ae2370cde4 100644
--- a/multimedia/phonon-backend-gstreamer/Makefile
+++ b/multimedia/phonon-backend-gstreamer/Makefile
@@ -1,32 +1,15 @@
-# $NetBSD: Makefile,v 1.22 2015/09/01 22:17:02 markd Exp $
+# $NetBSD: Makefile,v 1.23 2016/03/01 09:21:01 markd Exp $
DISTNAME= phonon-backend-gstreamer-4.8.2
-CATEGORIES= multimedia
-MASTER_SITES= ${MASTER_SITE_KDE:=phonon/phonon-backend-gstreamer/4.8.2/src/}
-EXTRACT_SUFX= .tar.xz
+PKGREVISION= 1
-MAINTAINER= markd@NetBSD.org
-HOMEPAGE= http://phonon.kde.org/
COMMENT= Multimedia API for KDE and QT - GStreamer backend
-LICENSE= gnu-lgpl-v2.1
-# BUILD_MAKE_FLAGS+= VERBOSE=1
+.include "Makefile.common"
BUILD_DEPENDS+= automoc4>=0.9.83:../../devel/automoc4
+DEPENDS+= phonon-backend-gstreamer-shared-4.8.2:../../multimedia/phonon-backend-gstreamer-shared
-USE_TOOLS+= pkg-config
-USE_LANGUAGES= c c++
-USE_CMAKE= yes
-CMAKE_ARG_PATH= ..
-CONFIGURE_DIRS= _build
-#CMAKE_ARGS+= -DWITH_PulseAudio:BOOL=OFF
-
-pre-configure:
- ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
- ${MKDIR} ${WRKSRC}/_build
-
-.include "../../multimedia/gstreamer1/buildlink3.mk"
-.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
.include "../../multimedia/phonon/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/phonon-backend-gstreamer/Makefile.common b/multimedia/phonon-backend-gstreamer/Makefile.common
new file mode 100644
index 00000000000..091f54bc5af
--- /dev/null
+++ b/multimedia/phonon-backend-gstreamer/Makefile.common
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile.common,v 1.1 2016/03/01 09:21:01 markd Exp $
+
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_KDE:=phonon/phonon-backend-gstreamer/4.8.2/src/}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= markd@NetBSD.org
+HOMEPAGE= http://phonon.kde.org/
+LICENSE= gnu-lgpl-v2.1
+
+PATCHDIR= ${.CURDIR}/../../multimedia/phonon-backend-gstreamer/patches
+DISTINFO_FILE= ${.CURDIR}/../../multimedia/phonon-backend-gstreamer/distinfo
+
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+USE_CMAKE= yes
+CMAKE_ARG_PATH= ..
+CONFIGURE_DIRS= _build
+
+pre-configure:
+ ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
+ ${MKDIR} ${WRKSRC}/_build
+
+.include "../../multimedia/gstreamer1/buildlink3.mk"
+.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
diff --git a/multimedia/phonon-backend-gstreamer/PLIST b/multimedia/phonon-backend-gstreamer/PLIST
index 1d80404cdfe..509d1d52e8d 100644
--- a/multimedia/phonon-backend-gstreamer/PLIST
+++ b/multimedia/phonon-backend-gstreamer/PLIST
@@ -1,9 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2013/11/09 22:50:56 markd Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/03/01 09:21:01 markd Exp $
lib/kde4/plugins/phonon_backend/phonon_gstreamer.so
-share/icons/hicolor/128x128/apps/phonon-gstreamer.png
-share/icons/hicolor/16x16/apps/phonon-gstreamer.png
-share/icons/hicolor/22x22/apps/phonon-gstreamer.png
-share/icons/hicolor/48x48/apps/phonon-gstreamer.png
-share/icons/hicolor/64x64/apps/phonon-gstreamer.png
-share/icons/hicolor/scalable/apps/phonon-gstreamer.svgz
share/kde4/services/phononbackends/gstreamer.desktop
diff --git a/multimedia/phonon-backend-gstreamer/distinfo b/multimedia/phonon-backend-gstreamer/distinfo
index ae9abd1c804..6e072efb33e 100644
--- a/multimedia/phonon-backend-gstreamer/distinfo
+++ b/multimedia/phonon-backend-gstreamer/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.9 2015/11/30 08:36:36 markd Exp $
+$NetBSD: distinfo,v 1.10 2016/03/01 09:21:01 markd Exp $
SHA1 (phonon-backend-gstreamer-4.8.2.tar.xz) = 9998ba3a002af09e1ba4072508d1813af1d1e5be
RMD160 (phonon-backend-gstreamer-4.8.2.tar.xz) = 9c0ec7ef27e925c207e769edc225b1d7202c7e37
SHA512 (phonon-backend-gstreamer-4.8.2.tar.xz) = a18534b89d424bb2cc9f8a7f63a794d9711d895ad1db6cd5f4bd8748ea38310ffeacd916d16443986f89d3097e108aaf5631eaba6dd37e76a7360d5f1d02ecea
Size (phonon-backend-gstreamer-4.8.2.tar.xz) = 76044 bytes
SHA1 (patch-cmake_FindGStreamer.cmake) = 61ea66ec1a89eec428b94c220e82ff4d0479fda8
+SHA1 (patch-gstreamer_CMakeLists.txt) = b1caffcf6f676540de7b450693e2644f5d35fb8f
diff --git a/multimedia/phonon-backend-gstreamer/patches/patch-gstreamer_CMakeLists.txt b/multimedia/phonon-backend-gstreamer/patches/patch-gstreamer_CMakeLists.txt
new file mode 100644
index 00000000000..f39647fe570
--- /dev/null
+++ b/multimedia/phonon-backend-gstreamer/patches/patch-gstreamer_CMakeLists.txt
@@ -0,0 +1,12 @@
+$NetBSD: patch-gstreamer_CMakeLists.txt,v 1.1 2016/03/01 09:21:01 markd Exp $
+
+Dont install icons. Separated out into separate package.
+
+--- gstreamer/CMakeLists.txt.orig 2014-12-27 14:05:27.000000000 +0000
++++ gstreamer/CMakeLists.txt
+@@ -130,4 +130,4 @@ else()
+ DESTINATION ${SERVICES_INSTALL_DIR}/phononbackends)
+ endif()
+
+-add_subdirectory(icons)
++#add_subdirectory(icons)
diff --git a/multimedia/phonon-qt5-backend-gstreamer/DESCR b/multimedia/phonon-qt5-backend-gstreamer/DESCR
new file mode 100644
index 00000000000..220b653d999
--- /dev/null
+++ b/multimedia/phonon-qt5-backend-gstreamer/DESCR
@@ -0,0 +1,8 @@
+Phonon is the Multimedia API for KDE and QT.
+
+In Phonon there are three main concepts: MediaObjects, Paths and Outputs.
+The MediaObjects control the playback/capture and provide the media data.
+MediaObjects can be connected to Outputs using Path objects which also
+allow the insertion of Effect objects between MediaObject and Output.
+
+QT5 Version
diff --git a/multimedia/phonon-qt5-backend-gstreamer/Makefile b/multimedia/phonon-qt5-backend-gstreamer/Makefile
new file mode 100644
index 00000000000..5274bd5f4ab
--- /dev/null
+++ b/multimedia/phonon-qt5-backend-gstreamer/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2016/03/01 09:21:01 markd Exp $
+
+DISTNAME= phonon-backend-gstreamer-4.8.2
+PKGNAME= ${DISTNAME:S/-/-qt5-/}
+
+COMMENT= Multimedia API for KF5 - GStreamer backend
+
+.include "../../multimedia/phonon-backend-gstreamer/Makefile.common"
+
+DEPENDS+= phonon-backend-gstreamer-shared-4.8.2:../../multimedia/phonon-backend-gstreamer-shared
+
+CMAKE_ARGS+= -DPHONON_BUILD_PHONON4QT5=ON
+
+.include "../../multimedia/phonon-qt5/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/phonon-qt5-backend-gstreamer/PLIST b/multimedia/phonon-qt5-backend-gstreamer/PLIST
new file mode 100644
index 00000000000..1d6c82a395c
--- /dev/null
+++ b/multimedia/phonon-qt5-backend-gstreamer/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/03/01 09:21:01 markd Exp $
+lib/qt5/plugins/phonon4qt5_backend/phonon_gstreamer.so