mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
miraclecast: new package
[Thomas: - add hash file - fix license information: use comma as a separator in <pkg>_LICENSE, and htable is under LGPLv2.1+ and not GPLv2.1+ (which doesn't exist)] Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com> CC: Baruch Siach <baruch@tkos.co.il> CC: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
15e062edde
commit
0209b529b0
@ -21,6 +21,7 @@ menu "Audio and video applications"
|
|||||||
source "package/kodi/Config.in"
|
source "package/kodi/Config.in"
|
||||||
source "package/lame/Config.in"
|
source "package/lame/Config.in"
|
||||||
source "package/madplay/Config.in"
|
source "package/madplay/Config.in"
|
||||||
|
source "package/miraclecast/Config.in"
|
||||||
source "package/mjpegtools/Config.in"
|
source "package/mjpegtools/Config.in"
|
||||||
source "package/modplugtools/Config.in"
|
source "package/modplugtools/Config.in"
|
||||||
source "package/mpd/Config.in"
|
source "package/mpd/Config.in"
|
||||||
|
23
package/miraclecast/Config.in
Normal file
23
package/miraclecast/Config.in
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
config BR2_PACKAGE_MIRACLECAST
|
||||||
|
bool "miraclecast"
|
||||||
|
depends on BR2_PACKAGE_SYSTEMD
|
||||||
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||||
|
depends on BR2_USE_WCHAR # glib2
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||||
|
depends on BR2_USE_MMU # glib2
|
||||||
|
select BR2_PACKAGE_LIBGLIB2
|
||||||
|
select BR2_PACKAGE_GSTREAMER1
|
||||||
|
select BR2_PACKAGE_READLINE
|
||||||
|
select BR2_PACKAGE_SYSTEMD_KDBUS
|
||||||
|
help
|
||||||
|
The MiracleCast project provides software to connect external
|
||||||
|
monitors to your system via Wifi. It is compatible to the
|
||||||
|
Wifi-Display specification also known as Miracast. MiracleCast
|
||||||
|
implements the Display-Source as well as Display-Sink side.
|
||||||
|
|
||||||
|
https://github.com/albfan/miraclecast
|
||||||
|
|
||||||
|
comment "miraclecast needs systemd and a glibc toolchain w/ threads and wchar"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_USE_WCHAR \
|
||||||
|
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_SYSTEMD
|
2
package/miraclecast/miraclecast.hash
Normal file
2
package/miraclecast/miraclecast.hash
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Locally calculated
|
||||||
|
sha256 deef87155ed07bcf737260c29599e886bd248b573e72ba167369df93acb1fa61 miraclecast-8b61f733da124ccbfd1b85e188581fad1c41c1e1.tar.gz
|
23
package/miraclecast/miraclecast.mk
Normal file
23
package/miraclecast/miraclecast.mk
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# miraclecast
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
MIRACLECAST_VERSION = 8b61f733da124ccbfd1b85e188581fad1c41c1e1
|
||||||
|
MIRACLECAST_SITE = $(call github,albfan,miraclecast,$(MIRACLECAST_VERSION))
|
||||||
|
MIRACLECAST_LICENSE = LGPLv2.1+, GPLv2 (gdhcp)
|
||||||
|
MIRACLECAST_LICENSE_FILES = COPYING LICENSE_gdhcp LICENSE_htable LICENSE_lgpl
|
||||||
|
MIRACLECAST_DEPENDENCIES = host-pkgconf systemd gstreamer1 \
|
||||||
|
readline libglib2
|
||||||
|
# Straight out the repository, no ./configure
|
||||||
|
MIRACLECAST_AUTORECONF = YES
|
||||||
|
|
||||||
|
define MIRACLECAST_INSTALL_DBUS_POLICY
|
||||||
|
$(INSTALL) -m 0644 -D \
|
||||||
|
$(@D)/res/org.freedesktop.miracle.conf \
|
||||||
|
$(TARGET_DIR)/etc/dbus-1/system.d/org.freedesktop.miracle.conf
|
||||||
|
endef
|
||||||
|
MIRACLECAST_POST_INSTALL_TARGET_HOOKS += MIRACLECAST_INSTALL_DBUS_POLICY
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
Loading…
x
Reference in New Issue
Block a user