diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2013-04-01 21:02:02 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2013-04-01 21:02:02 +0000 |
commit | aee6e0df05d82e08c1fa31dde64bc07ad3d78640 (patch) | |
tree | c00c059e10999f4897b932bef133191cf8172dd5 /misc/raspberrypi-userland | |
parent | 037012d66283f871df47aa1f6c836b9512b87f34 (diff) | |
download | pkgsrc-aee6e0df05d82e08c1fa31dde64bc07ad3d78640.tar.gz |
Initial import of raspberrypi-userland.
This package provides ARM side libraries and utilities used on Raspberry Pi.
Diffstat (limited to 'misc/raspberrypi-userland')
-rw-r--r-- | misc/raspberrypi-userland/DESCR | 1 | ||||
-rw-r--r-- | misc/raspberrypi-userland/Makefile | 27 | ||||
-rw-r--r-- | misc/raspberrypi-userland/PLIST | 185 | ||||
-rw-r--r-- | misc/raspberrypi-userland/buildlink3.mk | 12 | ||||
-rw-r--r-- | misc/raspberrypi-userland/distinfo | 6 | ||||
-rw-r--r-- | misc/raspberrypi-userland/patches/patch-interface_vmcs__host_linux_vcfiled_CMakeLists.txt | 17 |
6 files changed, 248 insertions, 0 deletions
diff --git a/misc/raspberrypi-userland/DESCR b/misc/raspberrypi-userland/DESCR new file mode 100644 index 00000000000..5a29908862b --- /dev/null +++ b/misc/raspberrypi-userland/DESCR @@ -0,0 +1 @@ +ARM side libraries and utilities used on Raspberry Pi. diff --git a/misc/raspberrypi-userland/Makefile b/misc/raspberrypi-userland/Makefile new file mode 100644 index 00000000000..b2529893dbf --- /dev/null +++ b/misc/raspberrypi-userland/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2013/04/01 21:02:02 jmcneill Exp $ +# + +DISTNAME= raspberrypi-userland-20130128 +CATEGORIES= misc +MASTER_SITES= http://ftp.NetBSD.org/pub/NetBSD/misc/jmcneill/rpi/ + +MAINTAINER= jmcneill@NetBSD.org +HOMEPAGE= http://github.com/jaredmcneill/userland +COMMENT= Various libraries for the Raspberry Pi +LICENSE= modified-bsd + +ONLY_FOR_PLATFORM= NetBSD-*-arm + +USE_LANGUAGES= c c++ + +USE_CMAKE= yes +CMAKE_ARGS+= -DCMAKE_TOOLCHAIN_FILE=${WRKSRC}/makefiles/cmake/toolchains/arm-netbsdelf.cmake +CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release + +SUBST_CLASSES+= vc +SUBST_STAGE.vc= pre-configure +SUBST_MESSAGE.vc= Fixing hard-coded install paths. +SUBST_FILES.vc= makefiles/cmake/vmcs.cmake +SUBST_SED.vc= -e 's,/opt/vc,${PREFIX},g' + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/raspberrypi-userland/PLIST b/misc/raspberrypi-userland/PLIST new file mode 100644 index 00000000000..cb86e6bdf6a --- /dev/null +++ b/misc/raspberrypi-userland/PLIST @@ -0,0 +1,185 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2013/04/01 21:02:02 jmcneill Exp $ +bin/tvservice +bin/vcgencmd +bin/vchiq_test +include/EGL/egl.h +include/EGL/eglext.h +include/EGL/eglext_android.h +include/EGL/eglext_brcm.h +include/EGL/eglext_nvidia.h +include/EGL/eglplatform.h +include/GLES/gl.h +include/GLES/glext.h +include/GLES/glplatform.h +include/GLES2/gl2.h +include/GLES2/gl2ext.h +include/GLES2/gl2platform.h +include/IL/OMX_Audio.h +include/IL/OMX_Broadcom.h +include/IL/OMX_Component.h +include/IL/OMX_Core.h +include/IL/OMX_ILCS.h +include/IL/OMX_IVCommon.h +include/IL/OMX_Image.h +include/IL/OMX_Index.h +include/IL/OMX_Other.h +include/IL/OMX_Types.h +include/IL/OMX_Video.h +include/KHR/khrplatform.h +include/VG/openvg.h +include/VG/vgext.h +include/VG/vgplatform.h +include/VG/vgu.h +include/WF/wfc.h +include/WF/wfcplatform.h +include/bcm_host.h +include/interface/vchi/common/endian.h +include/interface/vchi/connections/connection.h +include/interface/vchi/message_drivers/message.h +include/interface/vchi/vchi.h +include/interface/vchi/vchi_cfg.h +include/interface/vchi/vchi_cfg_internal.h +include/interface/vchi/vchi_common.h +include/interface/vchi/vchi_mh.h +include/interface/vchiq_arm/vchiq.h +include/interface/vchiq_arm/vchiq_cfg.h +include/interface/vchiq_arm/vchiq_if.h +include/interface/vchiq_arm/vchiq_ioctl.h +include/interface/vchiq_arm/vchiq_test.h +include/interface/vchiq_arm/vchiq_test_if.h +include/interface/vchiq_arm/vchiq_util.h +include/interface/vcos/generic/vcos_common.h +include/interface/vcos/generic/vcos_deprecated.h +include/interface/vcos/generic/vcos_generic_blockpool.h +include/interface/vcos/generic/vcos_generic_event_flags.h +include/interface/vcos/generic/vcos_generic_named_sem.h +include/interface/vcos/generic/vcos_generic_quickslow_mutex.h +include/interface/vcos/generic/vcos_generic_reentrant_mtx.h +include/interface/vcos/generic/vcos_generic_tls.h +include/interface/vcos/generic/vcos_joinable_thread_from_plain.h +include/interface/vcos/generic/vcos_latch_from_sem.h +include/interface/vcos/generic/vcos_mem_from_malloc.h +include/interface/vcos/generic/vcos_mutexes_are_reentrant.h +include/interface/vcos/generic/vcos_thread_reaper.h +include/interface/vcos/pthreads/vcos_futex_mutex.h +include/interface/vcos/pthreads/vcos_platform.h +include/interface/vcos/pthreads/vcos_platform_types.h +include/interface/vcos/user_nodefs.h +include/interface/vcos/vcos.h +include/interface/vcos/vcos_assert.h +include/interface/vcos/vcos_atomic_flags.h +include/interface/vcos/vcos_blockpool.h +include/interface/vcos/vcos_build_info.h +include/interface/vcos/vcos_cfg.h +include/interface/vcos/vcos_cmd.h +include/interface/vcos/vcos_ctype.h +include/interface/vcos/vcos_dlfcn.h +include/interface/vcos/vcos_event.h +include/interface/vcos/vcos_event_flags.h +include/interface/vcos/vcos_init.h +include/interface/vcos/vcos_inttypes.h +include/interface/vcos/vcos_isr.h +include/interface/vcos/vcos_legacy_isr.h +include/interface/vcos/vcos_logging.h +include/interface/vcos/vcos_logging_control.h +include/interface/vcos/vcos_lowlevel_thread.h +include/interface/vcos/vcos_mem.h +include/interface/vcos/vcos_mempool.h +include/interface/vcos/vcos_msgqueue.h +include/interface/vcos/vcos_mutex.h +include/interface/vcos/vcos_named_semaphore.h +include/interface/vcos/vcos_once.h +include/interface/vcos/vcos_queue.h +include/interface/vcos/vcos_quickslow_mutex.h +include/interface/vcos/vcos_reentrant_mutex.h +include/interface/vcos/vcos_semaphore.h +include/interface/vcos/vcos_stdbool.h +include/interface/vcos/vcos_stdint.h +include/interface/vcos/vcos_string.h +include/interface/vcos/vcos_thread.h +include/interface/vcos/vcos_thread_attr.h +include/interface/vcos/vcos_timer.h +include/interface/vcos/vcos_tls.h +include/interface/vcos/vcos_types.h +include/interface/vctypes/vc_display_types.h +include/interface/vctypes/vc_image_types.h +include/interface/vmcs_host/khronos/IL/OMX_Audio.h +include/interface/vmcs_host/khronos/IL/OMX_Broadcom.h +include/interface/vmcs_host/khronos/IL/OMX_Component.h +include/interface/vmcs_host/khronos/IL/OMX_Core.h +include/interface/vmcs_host/khronos/IL/OMX_ILCS.h +include/interface/vmcs_host/khronos/IL/OMX_IVCommon.h +include/interface/vmcs_host/khronos/IL/OMX_Image.h +include/interface/vmcs_host/khronos/IL/OMX_Index.h +include/interface/vmcs_host/khronos/IL/OMX_Other.h +include/interface/vmcs_host/khronos/IL/OMX_Types.h +include/interface/vmcs_host/khronos/IL/OMX_Video.h +include/interface/vmcs_host/linux/vcfiled/vcfiled_check.h +include/interface/vmcs_host/linux/vchost_config.h +include/interface/vmcs_host/vc_cec.h +include/interface/vmcs_host/vc_cecservice.h +include/interface/vmcs_host/vc_cecservice_defs.h +include/interface/vmcs_host/vc_cma.h +include/interface/vmcs_host/vc_dispmanx.h +include/interface/vmcs_host/vc_dispmanx_types.h +include/interface/vmcs_host/vc_dispservice_defs.h +include/interface/vmcs_host/vc_dispservice_x_defs.h +include/interface/vmcs_host/vc_fileservice_defs.h +include/interface/vmcs_host/vc_gencmd_defs.h +include/interface/vmcs_host/vc_hdmi.h +include/interface/vmcs_host/vc_hdmi_property.h +include/interface/vmcs_host/vc_hostreq_defs.h +include/interface/vmcs_host/vc_ilcs_defs.h +include/interface/vmcs_host/vc_imageconv_defs.h +include/interface/vmcs_host/vc_sdtv.h +include/interface/vmcs_host/vc_service_common.h +include/interface/vmcs_host/vc_tvservice.h +include/interface/vmcs_host/vc_tvservice_defs.h +include/interface/vmcs_host/vc_vchi_audioserv_defs.h +include/interface/vmcs_host/vc_vchi_bufman.h +include/interface/vmcs_host/vc_vchi_bufman_defs.h +include/interface/vmcs_host/vc_vchi_dispmanx.h +include/interface/vmcs_host/vc_vchi_fileservice_defs.h +include/interface/vmcs_host/vc_vchi_filesys.h +include/interface/vmcs_host/vc_vchi_gencmd.h +include/interface/vmcs_host/vcfilesys.h +include/interface/vmcs_host/vcfilesys_defs.h +include/interface/vmcs_host/vcgencmd.h +include/interface/vmcs_host/vchost.h +include/interface/vmcs_host/vchostreq.h +include/interface/vmcs_host/vcilcs.h +include/interface/vmcs_host/vcilcs_common.h +include/vcinclude/common.h +include/vcinclude/vc_image_types.h +include/vcinclude/vcore.h +lib/libEGL.so +lib/libEGL_static.a +lib/libGLESv2.so +lib/libGLESv2_static.a +lib/libOpenVG.so +lib/libWFC.so +lib/libbcm_host.so +lib/libkhrn_client.a +lib/libkhrn_static.a +lib/libmmal.so +lib/libmmal_vc_client.so +lib/libopenmaxil.so +lib/libvcfiled_check.a +lib/libvchiq_arm.so +lib/libvchostif.a +lib/libvcos.so +sbin/vcfiled +share/install/vcfiled +@pkgdir include/interface/vmcs_host/linux/vcfiled/etc/init.d +@pkgdir include/interface/vmcs_host/linux/vcfiled/CMakeFiles/vcfiled_lock_test.dir +@pkgdir include/interface/vmcs_host/linux/vcfiled/CMakeFiles/vcfiled_check.dir +@pkgdir include/interface/vmcs_host/linux/vcfiled/CMakeFiles/vcfiled.dir +@pkgdir include/interface/vmcs_host/CMakeFiles/vcilcs.dir +@pkgdir include/interface/vmcs_host/CMakeFiles/vchostif.dir/linux +@pkgdir include/interface/vcos/pthreads/generic/CMakeFiles +@pkgdir include/interface/vcos/pthreads/CMakeFiles/vcos.dir/__/glibc +@pkgdir include/interface/vcos/pthreads/CMakeFiles/vcos.dir/__/generic +@pkgdir include/interface/vcos/glibc +@pkgdir include/interface/vcos/CMakeFiles +@pkgdir include/interface/vchiq_arm/CMakeFiles/vchiq_test.dir +@pkgdir include/interface/vchiq_arm/CMakeFiles/vchiq_arm.dir diff --git a/misc/raspberrypi-userland/buildlink3.mk b/misc/raspberrypi-userland/buildlink3.mk new file mode 100644 index 00000000000..89335b3b760 --- /dev/null +++ b/misc/raspberrypi-userland/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2013/04/01 21:02:02 jmcneill Exp $ + +BUILDLINK_TREE+= raspberrypi-userland + +.if !defined(RASPBERRYPI_USERLAND_BUILDLINK3_MK) +RASPBERRYPI_USERLAND_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.raspberrypi-userland+= raspberrypi-userland>=20130128 +BUILDLINK_PKGSRCDIR.raspberrypi-userland?= ../../misc/raspberrypi-userland +.endif # RASPBERRYPI_USERLAND_BUILDLINK3_MK + +BUILDLINK_TREE+= -raspberrypi-userland diff --git a/misc/raspberrypi-userland/distinfo b/misc/raspberrypi-userland/distinfo new file mode 100644 index 00000000000..44c98861db7 --- /dev/null +++ b/misc/raspberrypi-userland/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2013/04/01 21:02:02 jmcneill Exp $ + +SHA1 (raspberrypi-userland-20130128.tar.gz) = 62447920f71244c4186f21c209619e1d1837b6d9 +RMD160 (raspberrypi-userland-20130128.tar.gz) = 475a068514b0d318892b7682e14c7fa3c8667292 +Size (raspberrypi-userland-20130128.tar.gz) = 32090507 bytes +SHA1 (patch-interface_vmcs__host_linux_vcfiled_CMakeLists.txt) = 09eafe7b7d2a9743b7b5d6beca43026204ea451d diff --git a/misc/raspberrypi-userland/patches/patch-interface_vmcs__host_linux_vcfiled_CMakeLists.txt b/misc/raspberrypi-userland/patches/patch-interface_vmcs__host_linux_vcfiled_CMakeLists.txt new file mode 100644 index 00000000000..f52a5931519 --- /dev/null +++ b/misc/raspberrypi-userland/patches/patch-interface_vmcs__host_linux_vcfiled_CMakeLists.txt @@ -0,0 +1,17 @@ +$NetBSD: patch-interface_vmcs__host_linux_vcfiled_CMakeLists.txt,v 1.1.1.1 2013/04/01 21:02:02 jmcneill Exp $ + +Don't install Linux specific init script. + +--- interface/vmcs_host/linux/vcfiled/CMakeLists.txt.orig 2013-01-28 14:07:20.000000000 +0000 ++++ interface/vmcs_host/linux/vcfiled/CMakeLists.txt +@@ -20,8 +20,8 @@ install(TARGETS vcfiled + configure_file (etc/init.d/vcfiled ${PROJECT_BINARY_DIR}/etc/init.d/vcfiled) + + # script to start up vcfiled at start of day +-install(PROGRAMS ${PROJECT_BINARY_DIR}/etc/init.d/vcfiled +- DESTINATION /etc/init.d) ++#install(PROGRAMS ${PROJECT_BINARY_DIR}/etc/init.d/vcfiled ++# DESTINATION /etc/init.d) + # install locally to the installation directory too + install(PROGRAMS ${PROJECT_BINARY_DIR}/etc/init.d/vcfiled + DESTINATION ${VMCS_INSTALL_PREFIX}/share/install) |