core/gstreamer0.10-ugly/PKGBUILD

44 lines
1.5 KiB
Bash
Raw Normal View History

2012-05-20 03:33:08 +08:00
# maintainer abveritas@chakra-project.org
2010-03-14 23:48:48 +08:00
pkgbase=gstreamer0.10-ugly
pkgname=('gstreamer0.10-ugly' 'gstreamer0.10-ugly-plugins')
2012-05-20 03:33:08 +08:00
pkgver=0.10.19
pkgrel=6
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer0.10-base' 'libdvdread' 'lame' 'libmpeg2' 'a52dec'
'libid3tag' 'libmad' 'libsidplay' 'libcdio' 'x264' 'opencore-amr')
2010-03-14 23:48:48 +08:00
url="http://gstreamer.freedesktop.org/"
options=(!libtool)
2012-05-20 03:33:08 +08:00
source=(${url}/src/gst-plugins-ugly/gst-plugins-ugly-${pkgver}.tar.xz)
md5sums=('ba26045c8c8c91f0d48d327ccf53ac0c')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/gst-plugins-ugly-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --enable-experimental \
2010-11-08 05:49:06 +08:00
--with-package-name="GStreamer Ugly Plugins (Chakra GNU/Linux)" \
--with-package-origin="http://www.chakra-project.org/"
2010-03-14 23:48:48 +08:00
make
sed -e 's/gst-libs gst ext/gst-libs gst/' -i Makefile
2010-03-14 23:48:48 +08:00
}
package_gstreamer0.10-ugly() {
pkgdesc="GStreamer Multimedia Framework Ugly plugin libraries"
2012-05-20 03:33:08 +08:00
depends=('gstreamer0.10-base>=0.10.36')
2010-03-14 23:48:48 +08:00
cd "${srcdir}/gst-plugins-ugly-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}
package_gstreamer0.10-ugly-plugins() {
pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)"
depends=("gstreamer0.10-ugly=${pkgver}" 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libid3tag' 'libmad' 'libsidplay' 'libcdio' 'x264' 'opencore-amr')
2010-03-14 23:48:48 +08:00
groups=('gstreamer0.10-plugins')
cd "${srcdir}/gst-plugins-ugly-${pkgver}"
make -C ext DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}