2024-09-09 08:57:42 +00:00
|
|
|
inherit autotools-brokensep gettext
|
2024-09-09 08:52:07 +00:00
|
|
|
SUMMARY = "MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully \
|
|
|
|
compliant with DLNA/UPnP-AV clients."
|
|
|
|
HOMEPAGE = "http://sourceforge.net/projects/minidlna/"
|
|
|
|
BUGTRACKER = "http://sourceforge.net/tracker/?group_id=243163&atid=1121516&source=navbar"
|
|
|
|
LICENSE = "GPLv2"
|
|
|
|
PRIORITY = "optional"
|
2024-09-09 08:57:42 +00:00
|
|
|
DEPENDS = "libvorbis sqlite3 libexif libjpeg-turbo libid3tag ffmpeg flac zlib"
|
2024-09-09 08:52:07 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
|
|
|
|
|
|
|
# Package Revision (update whenever recipe is changed)
|
2024-09-09 08:57:42 +00:00
|
|
|
PR = "r5"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
SRC_URI = "\
|
|
|
|
http://sourceforge.net/projects/minidlna/files/minidlna/${PV}/${PN}-${PV}.tar.gz \
|
|
|
|
file://0001-certification-fixes.patch \
|
2024-09-09 08:57:42 +00:00
|
|
|
file://0001-M-DMS.patch \
|
|
|
|
file://0001-initial-notify.patch \
|
|
|
|
file://0001-chunked-data.patch \
|
|
|
|
file://0001-search-criteria.patch \
|
2024-09-09 08:52:07 +00:00
|
|
|
"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
SRC_URI[md5sum] = "879027192c89e5376cdd2ae2d1aa33b4"
|
|
|
|
SRC_URI[sha256sum] = "ed42d5cadf9488a95a0107341918879ef8ce4c650e19337688c46cdcd484bc4e"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
do_install_append () {
|
2024-09-09 08:57:42 +00:00
|
|
|
sed -i s:#network_interface=eth0:network_interface=bridge0,ppp0:g minidlna.conf
|
|
|
|
sed -i s:"#friendly_name=My DLNA Server":"friendly_name=9x35 MobileAP DLNA":g minidlna.conf
|
2024-09-09 08:52:07 +00:00
|
|
|
install -d ${D}${sysconfdir}
|
|
|
|
install --mode=0644 -b ${WORKDIR}/${PN}-${PV}/${PN}.conf ${D}${sysconfdir}
|
|
|
|
install -d ${D}${sysconfdir}/init.d/
|
|
|
|
install ${WORKDIR}/${PN}-${PV}/linux/${PN}.init.d.script ${D}${sysconfdir}/init.d/minidlna
|
|
|
|
}
|