From bde2c5984d0429786d866f6bdeaca25e4f058d85 Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 25 Aug 2023 19:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BE=9D=E8=B5=96=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 8 ++++---- build.sh | 18 ++++++++++++++++++ debian/control | 2 +- 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100755 build.sh diff --git a/Readme.md b/Readme.md index 5353b1f..2f4e417 100644 --- a/Readme.md +++ b/Readme.md @@ -8,8 +8,8 @@ ### 感觉以下第三方库 -- [`python-mpd2`](https://github.com/Mic92/python-mpd2), 本项目内置了修改版的`python-mpd2`, 加入了Gtk的信号与槽机制的支持, 并更加友好的方式处理异常, 减少程序崩溃。 -- [`python-mutagen`](https://github.com/quodlibet/mutagen), 用于获取歌曲文件内嵌的封面。 +- [`python3-mpd2`](https://github.com/Mic92/python-mpd2), 本项目内置了修改版的`python3-mpd2`, 加入了Gtk的信号与槽机制的支持, 并更加友好的方式处理异常, 减少程序崩溃。 +- [`python3-mutagen`](https://github.com/quodlibet/mutagen), 用于获取歌曲文件内嵌的封面。 ### 项目依赖 @@ -17,8 +17,8 @@ - `python3` - `gir1.2-gtk-3.0` Gtk3 -- `python-mutagen` 获取歌曲标签信息的库 -- `python-mpd2` MPD连接库(已内置修改版) +- `python3-mutagen` 获取歌曲标签信息的库 +- `python3-mpd2` MPD连接库(已内置修改版) diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..78d3897 --- /dev/null +++ b/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +if [ -d unpack ]; then + sudo rm -rf unpack +fi + +mkdir -p unpack/DEBIAN + +cp debian/control unpack/DEBIAN/ +cp -r usr unpack/ + +cd unpack +find . -type f | xargs md5sum > DEBIAN/md5sums + +cd .. +apt deb unpack + +mv unpack.deb sonist-1.0.0.deb \ No newline at end of file diff --git a/debian/control b/debian/control index fb2e129..0f6aeef 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Section: X11 Architecture: all Author: Yutent Maintainer: Yutent -Depends: gir1.2-gtk-3.0, python-mutagen, mpd +Depends: gir1.2-gtk-3.0, python3-mutagen, mpd Priority: optional Installed-Size: 5644 Homepage: https://github.com/app-cat/sonist-gtk