blob: 5f55a0873b857c24f7abdc796d574be8b61ecd03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mp3splt-gtk
pkgver=0.8.1
pkgrel=0
pkgdesc="Gtk frontend for mp3splt"
url="http://mp3splt.sourceforge.net/"
arch="all"
license="GPLv2"
depends=""
makedepends="gtk+3.0-dev gst-plugins-base-dev gnome-doc-utils libmp3splt-dev
audacious-dev
autoconf automake libtool"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://prdownloads.sourceforge.net/mp3splt/mp3splt-gtk-$pkgver.tar.gz
dbus-glib-underlinking.patch"
_builddir="$srcdir"/mp3splt-gtk-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
libtoolize --force && aclocal -I m4 && autoconf \
&& automake --add-missing
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--disable-gnome \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="69cdc6344f45091e06ab4e3f3454a9f0 mp3splt-gtk-0.8.1.tar.gz
9531efb02e98624356bda87c92be7cce dbus-glib-underlinking.patch"
sha256sums="d0bfd6524bd29e061c9d00574c164ed70a112eec11f36ae8a240606c712f1241 mp3splt-gtk-0.8.1.tar.gz
3f69ef630140230aec15c240a5b19b455a38334e58a98498066011483f75846d dbus-glib-underlinking.patch"
sha512sums="ab4cd6bb9d790d4828ff480897ce1c8dd584bbe6bea0819dc5c5ec5f6409508d28cc7db0ece23a3239383734515ded1c35526322bb7d387e4ca7c14a896888ba mp3splt-gtk-0.8.1.tar.gz
f209a5cfcb108f6207cb5e2a2f1baa19673609d419e6408c216ffbebb70ecb6c09b3d612bf5c460b83c0d701056d234c1616ac87011f7f11061aa38d633443f1 dbus-glib-underlinking.patch"
|