Commit c54dc7d6 authored by Leo's avatar Leo

testing/libgpod: drop py- bindings

parent 43ff74cc
......@@ -2,41 +2,38 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libgpod
pkgver=0.8.3
pkgrel=1
pkgrel=2
pkgdesc="A shared library to access the contents of an iPod"
url="http://www.gtkpod.org/libgpod"
arch="all"
license="LGPL"
makedepends="automake autoconf libtool intltool libimobiledevice-dev libplist-dev
swig py-gobject-dev mutagen sg3_utils-dev gdk-pixbuf-dev
glib-dev sqlite-dev gobject-introspection-dev libxml2-dev"
license="LGPL-2.1-or-later"
makedepends="automake autoconf libtool intltool libimobiledevice-dev libplist-dev
swig mutagen sg3_utils-dev gdk-pixbuf-dev glib-dev sqlite-dev
gobject-introspection-dev libxml2-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://downloads.sourceforge.net/project/gtkpod/$pkgname/$pkgname-0.8/$pkgname-$pkgver.tar.bz2
source="https://downloads.sourceforge.net/project/gtkpod/libgpod/libgpod-0.8/libgpod-$pkgver.tar.bz2
0001-323-Segmentation-fault-when-opening-ipod.patch
0002-Fix-spelling-errors-in-comments-and-strings-using-co.patch
0003-Fixed-PList-deprecation.patch
libgpod-0.8.2-pkgconfig_overlinking.patch"
builddir="$srcdir/$pkgname-$pkgver"
replaces="py-libgpod" # Removed in 0.8.3-r2
check() {
cd "$builddir"
make check
}
build() {
cd "$builddir"
MCS=/usr/bin/mcs ./configure \
--prefix=/usr \
--with-udev-dir=/lib/udev \
--enable-udev \
--with-python=/usr/bin/python2
--enable-udev
make PREFIX=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
}
package() {
cd "$builddir"
make PREFIX=/usr DESTDIR="${pkgdir}" install
make PREFIX=/usr DESTDIR="$pkgdir" install
}
sha512sums="e39f22054c2d2bdf5fc764aa1f692de17a1a06c7c7e9c60883d126b216dacca7840bf818e7e7e039218fe2a64c0920ba96d8cbbe310e11c1c4e68b82e7cbbd8e libgpod-0.8.3.tar.bz2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment