diff options
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/libreoffice/distinfo | 10 | ||||
-rw-r--r-- | japanese/radish-play/Makefile | 39 | ||||
-rw-r--r-- | japanese/radish-play/distinfo | 3 | ||||
-rw-r--r-- | japanese/radish-play/files/ffplay-patch-radish-play.sh | 29 | ||||
-rw-r--r-- | japanese/radish-play/files/mpv-patch-radish-play.sh | 46 | ||||
-rw-r--r-- | japanese/radish-play/pkg-descr | 2 |
7 files changed, 125 insertions, 5 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index a598534c916a..ab1225a81b6d 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -233,6 +233,7 @@ SUBDIR += qkc SUBDIR += qolibri SUBDIR += quit + SUBDIR += radish-play SUBDIR += roget-fpw SUBDIR += rogue_s SUBDIR += ruby-romkan diff --git a/japanese/libreoffice/distinfo b/japanese/libreoffice/distinfo index d99afe7d1cdc..234ed53b23e2 100644 --- a/japanese/libreoffice/distinfo +++ b/japanese/libreoffice/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1746204988 -SHA256 (libreoffice/i18n/LibreOffice_25.2.3_Linux_x86-64_deb_langpack_ja.tar.gz) = 60e848218eaf220df2883db689fafa5658d2cbe5086ebe614de6f6044651c5ce -SIZE (libreoffice/i18n/LibreOffice_25.2.3_Linux_x86-64_deb_langpack_ja.tar.gz) = 761553 -SHA256 (libreoffice/i18n/LibreOffice_25.2.3_Linux_x86-64_deb_helppack_ja.tar.gz) = b4430af8bd88953000ec86d6dcf724830474417a22e43c3c112fb8858de91fb5 -SIZE (libreoffice/i18n/LibreOffice_25.2.3_Linux_x86-64_deb_helppack_ja.tar.gz) = 2911307 +TIMESTAMP = 1750805486 +SHA256 (libreoffice/i18n/LibreOffice_25.2.4_Linux_x86-64_deb_langpack_ja.tar.gz) = 536b7c45b6562ccfff9517669f5300012747723857792d8eab73618935272dba +SIZE (libreoffice/i18n/LibreOffice_25.2.4_Linux_x86-64_deb_langpack_ja.tar.gz) = 762271 +SHA256 (libreoffice/i18n/LibreOffice_25.2.4_Linux_x86-64_deb_helppack_ja.tar.gz) = cd22daf2c1b89a2ab309afb598c2863b9fcf0fbe367341734df11195873c8d90 +SIZE (libreoffice/i18n/LibreOffice_25.2.4_Linux_x86-64_deb_helppack_ja.tar.gz) = 2911744 diff --git a/japanese/radish-play/Makefile b/japanese/radish-play/Makefile new file mode 100644 index 000000000000..e591916f310c --- /dev/null +++ b/japanese/radish-play/Makefile @@ -0,0 +1,39 @@ +PORTNAME= radish-play +DISTVERSION= g20250621 +CATEGORIES= japanese audio + +MAINTAINER= mew14930xvi@inbox.lv +COMMENT= Japanese Internet radio player +WWW= https://github.com/jg1uaa/radish-play + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= curl:ftp/curl \ + jq:textproc/jq \ + xmllint:textproc/libxml2 + +USE_GITHUB= yes +GH_ACCOUNT= jg1uaa +GH_TAGNAME= 2e4f02c +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/${PORTNAME} + +OPTIONS_DEFAULT= MPV +OPTIONS_SINGLE= PLAYER +OPTIONS_SINGLE_PLAYER= FFPLAY MPV +FFPLAY_DESC= Use ffplay (via ffmpeg, implies the SDL option) +MPV_DESC= Use mpv as media player + +FFPLAY_RUN_DEPENDS= ffplay:multimedia/ffmpeg +FFPLAY_EXTRA_PATCHES= ${PATCHDIR}/ffplay-patch-radish-play.sh +MPV_RUN_DEPENDS= mpv:multimedia/mpv +MPV_EXTRA_PATCHES= ${PATCHDIR}/mpv-patch-radish-play.sh + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/japanese/radish-play/distinfo b/japanese/radish-play/distinfo new file mode 100644 index 000000000000..c15542569be3 --- /dev/null +++ b/japanese/radish-play/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1750656614 +SHA256 (jg1uaa-radish-play-g20250621-2e4f02c_GH0.tar.gz) = 62be0ffe5ddeec56f28bffae9cceca073dbae82fe26070834e2d8fbf140052bd +SIZE (jg1uaa-radish-play-g20250621-2e4f02c_GH0.tar.gz) = 5746 diff --git a/japanese/radish-play/files/ffplay-patch-radish-play.sh b/japanese/radish-play/files/ffplay-patch-radish-play.sh new file mode 100644 index 000000000000..147f9d6c6c68 --- /dev/null +++ b/japanese/radish-play/files/ffplay-patch-radish-play.sh @@ -0,0 +1,29 @@ +--- radish-play.sh.orig 2024-06-17 18:49:28 UTC ++++ radish-play.sh +@@ -22,11 +22,12 @@ Options: + lisradi: ListenRadio + shiburadi: Shibuya no Radio + -s STATION ID Station ID +- -d MINUTE Record minute(s) +- -o FILEPATH Output file path + -i ADDRESS login mail address (radiko only) + -p PASSWORD login password (radiko only) + -l Show all station ID list ++ ++EXAMPLES: ++ radish-play -t nhk -s tokyo-r1 + _EOT_ + } + +@@ -427,11 +428,6 @@ else + -fflags +discardcorrupt \ + -i "${playlist_uri}" \ + -nodisp +-fi +-ret=$? +-if [ ${ret} -ne 0 ]; then +- echo "Record failed" >&2 +- exit 1 + fi + + # Finish diff --git a/japanese/radish-play/files/mpv-patch-radish-play.sh b/japanese/radish-play/files/mpv-patch-radish-play.sh new file mode 100644 index 000000000000..f00addccce8a --- /dev/null +++ b/japanese/radish-play/files/mpv-patch-radish-play.sh @@ -0,0 +1,46 @@ +--- radish-play.sh.orig 2024-06-17 18:49:28 UTC ++++ radish-play.sh +@@ -22,11 +22,12 @@ Options: + lisradi: ListenRadio + shiburadi: Shibuya no Radio + -s STATION ID Station ID +- -d MINUTE Record minute(s) +- -o FILEPATH Output file path + -i ADDRESS login mail address (radiko only) + -p PASSWORD login password (radiko only) + -l Show all station ID list ++ ++EXAMPLES: ++ radish-play -t nhk -s tokyo-r1 + _EOT_ + } + +@@ -415,23 +416,12 @@ if [ "${type}" = "radiko" ]; then + + # Play + if [ "${type}" = "radiko" ]; then +- ffplay \ +- -loglevel error \ +- -fflags +discardcorrupt \ +- -headers "X-Radiko-Authtoken: ${radiko_authtoken}" \ +- -i "${playlist_uri}" \ +- -nodisp ++ mpv \ ++ --http-header-fields="X-Radiko-Authtoken: ${radiko_authtoken}" \ ++ "${playlist_uri}" + else +- ffplay \ +- -loglevel error \ +- -fflags +discardcorrupt \ +- -i "${playlist_uri}" \ +- -nodisp +-fi +-ret=$? +-if [ ${ret} -ne 0 ]; then +- echo "Record failed" >&2 +- exit 1 ++ mpv \ ++ "${playlist_uri}" + fi + + # Finish diff --git a/japanese/radish-play/pkg-descr b/japanese/radish-play/pkg-descr new file mode 100644 index 000000000000..2cfe8cde872d --- /dev/null +++ b/japanese/radish-play/pkg-descr @@ -0,0 +1,2 @@ +This is shell script to play Internet radio programs available on +NHK Radio Rajiru, Radiko, ListenRadio, and Shibuya Radio. |