2022-03-01 23:25:58 +08:00
|
|
|
#!/bin/bash
|
2022-02-28 00:03:18 +08:00
|
|
|
|
2022-04-09 02:28:49 +08:00
|
|
|
# Add libtorrent-rasterbar
|
2022-03-01 23:25:58 +08:00
|
|
|
cp -fv networking/netlibs/libtorrent-rasterbar.xml ../blfs_root/blfs-xml/networking/netlibs
|
2022-04-09 02:28:49 +08:00
|
|
|
grep -qF libtorrent-rasterbar.xml ../blfs_root/blfs-xml/networking/netlibs/netlibs.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtorrent-rasterbar.xml"/>' ../blfs_root/blfs-xml/networking/netlibs/netlibs.xml
|
2024-10-07 05:00:45 +08:00
|
|
|
grep -qF libtorrent-rasterbar-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY libtorrent-rasterbar-version "2.0.10-a3cdc51">' >> ../blfs_root/blfs-xml/packages.ent
|
2022-04-09 02:28:49 +08:00
|
|
|
|
|
|
|
# Add qBittorrent
|
2022-03-01 23:25:58 +08:00
|
|
|
cp -fv xsoft/other/qbittorrent.xml ../blfs_root/blfs-xml/xsoft/other
|
2022-04-09 02:28:49 +08:00
|
|
|
grep -qF qbittorrent.xml ../blfs_root/blfs-xml/xsoft/other/other.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qbittorrent.xml"/>' ../blfs_root/blfs-xml/xsoft/other/other.xml
|
2024-10-07 05:00:45 +08:00
|
|
|
grep -qF qbittorrent-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY qbittorrent-version "5.0.0">' >> ../blfs_root/blfs-xml/packages.ent
|
2022-04-09 02:28:49 +08:00
|
|
|
|
2024-02-22 09:19:24 +08:00
|
|
|
# Add pkcs11-helper
|
|
|
|
cp -fv postlfs/security/pkcs11-helper.xml ../blfs_root/blfs-xml/postlfs/security
|
|
|
|
grep -qF pkcs11-helper.xml ../blfs_root/blfs-xml/postlfs/security/security.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkcs11-helper.xml"/>' ../blfs_root/blfs-xml/postlfs/security/security.xml
|
2024-10-07 05:00:45 +08:00
|
|
|
grep -qF pkcs11-helper-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY pkcs11-helper-version "1.30.0-d86851b">' >> ../blfs_root/blfs-xml/packages.ent
|
2022-04-09 02:28:49 +08:00
|
|
|
|
|
|
|
# Add libid3tag
|
|
|
|
cp -fv multimedia/libdriv/libid3tag.xml ../blfs_root/blfs-xml/multimedia/libdriv
|
2022-03-01 23:25:58 +08:00
|
|
|
grep -qF libid3tag.xml ../blfs_root/blfs-xml/multimedia/libdriv/libdriv.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libid3tag.xml"/>' ../blfs_root/blfs-xml/multimedia/libdriv/libdriv.xml
|
|
|
|
grep -qF libid3tag-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY libid3tag-version "0.15.1b">' >> ../blfs_root/blfs-xml/packages.ent
|
2022-04-09 02:28:49 +08:00
|
|
|
|
|
|
|
# Add minidlna
|
|
|
|
cp -fv server/other/minidlna.xml ../blfs_root/blfs-xml/server/other
|
|
|
|
grep -qF minidlna.xml ../blfs_root/blfs-xml/server/other/other.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="minidlna.xml"/>' ../blfs_root/blfs-xml/server/other/other.xml
|
2024-02-22 07:11:15 +08:00
|
|
|
grep -qF minidlna-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY minidlna-version "1.3.3">' >> ../blfs_root/blfs-xml/packages.ent
|
2022-04-20 03:13:15 +08:00
|
|
|
|
|
|
|
# Add QMPlay2
|
|
|
|
cp -fv multimedia/videoutils/qmplay2.xml ../blfs_root/blfs-xml/multimedia/videoutils
|
|
|
|
grep -qF qmplay2.xml ../blfs_root/blfs-xml/multimedia/videoutils/videoutils.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qmplay2.xml"/>' ../blfs_root/blfs-xml/multimedia/videoutils/videoutils.xml
|
2024-10-07 05:00:45 +08:00
|
|
|
grep -qF qmplay2-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY qmplay2-version "24.06.16-f61024b">' >> ../blfs_root/blfs-xml/packages.ent
|
2022-12-19 04:17:00 +08:00
|
|
|
|
|
|
|
# Add SDL2_ttf
|
|
|
|
cp -fv general/graphlib/sdl2-ttf.xml ../blfs_root/blfs-xml/general/graphlib
|
|
|
|
grep -qF sdl2-ttf.xml ../blfs_root/blfs-xml/general/graphlib/graphlib.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sdl2-ttf.xml"/>' ../blfs_root/blfs-xml/general/graphlib/graphlib.xml
|
2024-10-07 05:00:45 +08:00
|
|
|
grep -qF sdl2-ttf-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY sdl2-ttf-version "2.22.0-c37ced3">' >> ../blfs_root/blfs-xml/packages.ent
|
2024-02-22 08:06:51 +08:00
|
|
|
|
|
|
|
# Add SDL2_image
|
|
|
|
cp -fv general/graphlib/sdl2-image.xml ../blfs_root/blfs-xml/general/graphlib
|
|
|
|
grep -qF sdl2-image.xml ../blfs_root/blfs-xml/general/graphlib/graphlib.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sdl2-image.xml"/>' ../blfs_root/blfs-xml/general/graphlib/graphlib.xml
|
2024-10-07 05:00:45 +08:00
|
|
|
grep -qF sdl2-image-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY sdl2-image-version "2.8.2-6f45843">' >> ../blfs_root/blfs-xml/packages.ent
|