blob: ceeff71418b062fe1d235363a32e52a1c7446adf (
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
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mp3splt-gtk
pkgver=0.8.2
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"
_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
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--disable-gnome \
|| return 1
sed -i -e 's/-DGTK_DISABLE_DEPRECATED//' Makefile src/Makefile
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="0484828f1c75a9be80788c84592640f0 mp3splt-gtk-0.8.2.tar.gz"
sha256sums="5634d0a6d15f73affc361c49cafb96a5e53fa2e65a6d7723e74a3a79d3f27c88 mp3splt-gtk-0.8.2.tar.gz"
sha512sums="9179b78deb7b6e227d0c8b5a1e1bdc6a60b26caf876ec45080e96a63d08098674701e7cb7c3755bb4a99bba3cb994b1594047e351b321d24891fa80a8551cef6 mp3splt-gtk-0.8.2.tar.gz"
|