diff --git a/transmission-web-control/Makefile b/transmission-web-control/Makefile new file mode 100644 index 000000000..cf3ba232c --- /dev/null +++ b/transmission-web-control/Makefile @@ -0,0 +1,40 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=transmission-web-control +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/ronggang/transmission-web-control +PKG_SOURCE_DATE:=2024-04-08 +PKG_SOURCE_VERSION:=054e2edf7ee1ec859cec3ee5661a550481321a27 +PKG_MIRROR_HASH:=skip + +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE +PKG_MAINTAINER:=Richard Yu + +include $(INCLUDE_DIR)/package.mk + +define Package/transmission-web-control + SECTION:=net + CATEGORY:=Network + SUBMENU:=BitTorrent + DEPENDS:=+transmission-daemon + TITLE:=A custom web UI for Transmission + URL:=https://github.com/ronggang/transmission-web-control + PKGARCH:=all +endef + +define Package/transmission-web-control/description + Transmission Web Control is a custom Web UI for Transmission. +endef + +define Build/Compile +endef + +define Package/transmission-web-control/install + $(INSTALL_DIR) $(1)/usr/share/transmission/public_html + $(CP) $(PKG_BUILD_DIR)/src/* $(1)/usr/share/transmission/public_html +endef + +$(eval $(call BuildPackage,transmission-web-control)) diff --git a/transmission-web-control/patches/001-remove-ui-original-link.patch b/transmission-web-control/patches/001-remove-ui-original-link.patch new file mode 100644 index 000000000..a88549852 --- /dev/null +++ b/transmission-web-control/patches/001-remove-ui-original-link.patch @@ -0,0 +1,24 @@ +--- a/src/index.html ++++ b/src/index.html +@@ -66,11 +66,6 @@ + data-options="iconCls:'icon-mobile',plain:true" system-tip-lang="toolbar.tip['ui-mobile']"> + | +- +- +- | + + +
  • UI
  • +
  • +-
  • + +