transmission: Upgrade to 4.0.5
PATCH 1/1 transmission: Upgrade to 4.0.5
License-Update: Copyright Years updated
Add missing MIT license,see COPYING file
Switch to cmake build system as thats the new and only build system supported.
Use gtk4 when selecting gtk knob, it can support gtk3 as well however, its not added as knob, if needed someone should send a patch
Signed-off-by Khem Raj <[email protected]>
---
...nsmission_git.bb => transmission_4.0.5.bb} | 31 +++++--------------
1 file changed, 8 insertions(+), 23 deletions(-)
rename meta-oe/recipes-connectivity/transmission/{transmission_git.bb => transmission_4.0.5.bb} (72%)meta-oe/recipes-connectivity/transmission/transmission_4.0.5.bb renamed from meta-oe/recipes-connectivity/transmission/transmission_git.bb +8 -23
@@ -1,50 +1,35 @@ DESCRIPTION = "Transmission is a fast, easy, and free BitTorrent client" SECTION = "network" HOMEPAGE = "https://transmissionbt.com/" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=73f535ddffcf2a0d3af4f381f84f9b33" +LICENSE = "MIT & GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=ba8199e739948e198310093de27175fa" DEPENDS = "curl libevent gnutls openssl libtool intltool-native glib-2.0-native" RDEPENDS:${PN}-web = "${PN}" SRC_URI = " \ - gitsm://github.com/transmission/transmission;branch=master;protocol=https \ + gitsm://github.com/transmission/transmission;branch=4.0.x;protocol=https \ file://transmission-daemon \ " -# Transmission release 3.00 -SRCREV = "bb6b5a062ee594dfd4b7a12a6b6e860c43849bfd" -PV = "3.00" +# Transmission release 4.0.5 +SRCREV = "a6fe2a64aa7eca089f96006cf082a12f0cde937f" S = "${WORKDIR}/git" -inherit autotools-brokensep gettext update-rc.d pkgconfig systemd mime-xdg +inherit cmake gettext update-rc.d pkgconfig systemd mime-xdg PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" -PACKAGECONFIG[gtk] = " --with-gtk,--without-gtk,gtk+3," -PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd," +PACKAGECONFIG[gtk] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF,gtk4 gtkmm4," +PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF,systemd," # Weak default values for transmission user and group # Change them in bbappend if needed TRANSMISSION_USER ??= "root" TRANSMISSION_GROUP ??= "root" -# Configure aborts with: -# config.status: error: po/Makefile.in.in was not created by intltoolize. -do_configure() { - sed -i /AM_GLIB_GNU_GETTEXT/d ${S}/configure.ac - cd ${S} - ./update-version-h.sh - intltoolize --copy --force --automake - aclocal - libtoolize --automake --copy --force - autoconf - automake -a - oe_runconf -} - do_install:append() { if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then sed -i '/USERNAME=/c\USERNAME=${TRANSMISSION_USER}' ${WORKDIR}/transmission-daemon
Signature · 1 line
2.45.0