Compare commits

...

2 Commits

Author SHA1 Message Date
yutent c2f7976ddc 删除mutagen 2023-10-23 18:31:13 +08:00
yutent 28f2ae5033 更新打包配置 2023-09-05 15:01:19 +08:00
3 changed files with 7 additions and 4 deletions

View File

@ -12,7 +12,11 @@ cp debian/control unpack/DEBIAN/
cp -r usr unpack/ cp -r usr unpack/
cd unpack cd unpack
find . -type f | xargs md5sum > DEBIAN/md5sums find usr -type f | xargs md5sum > DEBIAN/md5sums
_size=$(du -d 0 usr | cut -f1)
sed -i "s/{{size}}/${_size}/" DEBIAN/control
sed -i "s/{{version}}/${version}/" DEBIAN/control
cd .. cd ..
dpkg-deb -b unpack/ "sonist-${version}.deb" dpkg-deb -b unpack/ "sonist-${version}.deb"

4
debian/control vendored
View File

@ -1,12 +1,12 @@
Package: sonist Package: sonist
Version: 1.0.5 Version: {{version}}
Section: X11 Section: X11
Architecture: all Architecture: all
Author: Yutent Author: Yutent
Maintainer: Yutent <yutent.io@gmail.com> Maintainer: Yutent <yutent.io@gmail.com>
Depends: python3-gi, gir1.2-gtk-3.0, python3-pil, python3-gi-cairo, python3-mutagen, mpd Depends: python3-gi, gir1.2-gtk-3.0, python3-pil, python3-gi-cairo, python3-mutagen, mpd
Priority: optional Priority: optional
Installed-Size: 3680 Installed-Size: {{size}}
Homepage: https://git.wkit.fun/appcat/sonist-gtk Homepage: https://git.wkit.fun/appcat/sonist-gtk
Description: Sonist - 基于mpd后端的音乐播放器. Description: Sonist - 基于mpd后端的音乐播放器.
高颜值且轻量的 MPD GUI客户端. 高颜值且轻量的 MPD GUI客户端.

View File

@ -27,7 +27,6 @@ class AboutWindow(Gtk.AboutDialog):
self.set_authors([ self.set_authors([
'Yutent <yutent.io@gmail.com> (Sonist)', 'Yutent <yutent.io@gmail.com> (Sonist)',
'Mic92 <https://github.com/Mic92/python-mpd2> (python-mpd2)', 'Mic92 <https://github.com/Mic92/python-mpd2> (python-mpd2)',
'quodlibet <https://github.com/quodlibet/mutagen> (python-mutagen)'
]) ])
self.set_copyright('© 2023 Yutent <yutent.io@gmail.com>') self.set_copyright('© 2023 Yutent <yutent.io@gmail.com>')
self.set_comments('Sonist-Gtk 是一个界面美观, 基于MPD后端的音乐播放器, 使用python + gtk3开发。') self.set_comments('Sonist-Gtk 是一个界面美观, 基于MPD后端的音乐播放器, 使用python + gtk3开发。')