Skip to content

Commit d96b83a

Browse files
committed
Added new PKGBUILD for the next version
This pkgbuild includes a .desktop file and icon so that the program appears in people's desktop menu's with our icon.
1 parent ac9b9b6 commit d96b83a

File tree

4 files changed

+61
-7
lines changed

4 files changed

+61
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set (CMAKE_VERBOSE_MAKEFILE true)
44

55
set(BAKA_MPLAYER_MAJOR_VERSION 1)
66
set(BAKA_MPLAYER_MINOR_VERSION 9)
7-
set(BAKA_MPLAYER_PATCH_VERSION 8)
7+
set(BAKA_MPLAYER_PATCH_VERSION 9)
88
set(BAKA_MPLAYER_VERSION
99
${BAKA_MPLAYER_MAJOR_VERSION}.${BAKA_MPLAYER_MINOR_VERSION}.${BAKA_MPLAYER_PATCH_VERSION})
1010

etc/sbin/PKGBUILD renamed to etc/sbin/pkgbuild/PKGBUILD

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
# Maintainer: u8sand <u8sand@gmail.com>
22
pkgname=baka-mplayer-git
3-
pkgver=1.9.8
4-
pkgrel=4
3+
pkgver=1.9.9_alpha
4+
pkgrel=1
55
pkgdesc="Baka MPlayer is a free and open source, cross-platform, libmpv based multimedia player."
66
url="http://bakamplayer.u8sand.net/"
77
arch=('x86_64' 'i686')
88
license=('GPLv2')
99
depends=('mpv' 'qt5-base' 'qt5-declarative' 'qt5-svg' 'qt5-x11extras')
10-
# replace make with ninja for faster compilation
11-
makedepends=('git' 'cmake' 'make')
10+
makedepends=('git' 'make' 'cmake')
1211
conflicts=('bakamplayer' 'baka-mplayer')
1312
provides=('baka-mplayer')
14-
source=("$pkgname"::'git://github.com/u8sand/Baka-MPlayer.git#branch=release')
15-
md5sums=('SKIP')
13+
source=("$pkgname"::'git://github.com/u8sand/Baka-MPlayer.git#branch=release'
14+
"baka-mplayer.svg"
15+
"baka-mplayer.desktop")
16+
md5sums=('SKIP'
17+
'635c0c198491c5378edbaa2006ef3b63'
18+
'11ea48e786706c94deafa7a759457d8c')
1619

1720
pkgver() {
1821
cd "$srcdir/$pkgname"
@@ -31,4 +34,6 @@ package() {
3134
install -D "etc/doc/baka-mplayer.md" "$pkgdir/usr/share/doc/baka-mplayer/baka-mplayer.md"
3235
install -D "etc/doc/baka-mplayer.1.gz" "$pkgdir/usr/share/man/man1/baka-mplayer.1.gz"
3336
install -D "LICENSE" "$pkgdir/usr/share/licenses/baka-mplayer/LICENSE"
37+
install -D "$srcdir/baka-mplayer.svg" "$pkgdir/usr/share/pixmaps/baka-mplayer.svg"
38+
install -D "$srcdir/baka-mplayer.desktop" "$pkgdir/usr/share/applications/baka-mplayer.desktop"
3439
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Desktop Entry]
2+
Type=Application
3+
Version=1.0
4+
Name=Baka-MPlayer
5+
Comment=An open source remake of the classic arcade game Galaga
6+
Exec=baka-mplayer
7+
Icon=baka-mplayer
8+
Terminal=false
9+
Categories=AudioVideo;Audio;Video;

etc/sbin/pkgbuild/baka-mplayer.svg

Lines changed: 40 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)