Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
yutent | c2f7976ddc | |
yutent | 28f2ae5033 |
6
build.sh
6
build.sh
|
@ -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"
|
||||||
|
|
|
@ -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客户端.
|
||||||
|
|
|
@ -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开发。')
|
||||||
|
|
Loading…
Reference in New Issue