mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 19:07:13 +08:00
56 lines
1.8 KiB
Bash
56 lines
1.8 KiB
Bash
#
|
|
# Packages of Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgbase=gstreamer0.10-ugly
|
|
pkgname=('gstreamer0.10-ugly' 'gstreamer0.10-ugly-plugins')
|
|
pkgver=0.10.19
|
|
pkgrel=8
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
makedepends=('pkgconfig' 'gstreamer0.10-base' 'libdvdread' 'lame' 'libmpeg2' 'a52dec'
|
|
'libid3tag' 'libmad' 'libsidplay' 'libcdio' 'x264' 'opencore-amr')
|
|
url="http://gstreamer.freedesktop.org/"
|
|
options=(!libtool)
|
|
source=(${url}/src/gst-plugins-ugly/gst-plugins-ugly-${pkgver}.tar.xz
|
|
opencore-amr.patch
|
|
cdio-cd-text-api.patch)
|
|
md5sums=('ba26045c8c8c91f0d48d327ccf53ac0c'
|
|
'd8feb6c99bfaff8be6b2c48ea4e98e47'
|
|
'6c1c665f864387f3a77d32231fedeaab')
|
|
|
|
build() {
|
|
cd "${srcdir}/gst-plugins-ugly-${pkgver}"
|
|
patch -Np0 -i "${srcdir}/opencore-amr.patch"
|
|
patch -Np1 -i "${srcdir}/cdio-cd-text-api.patch"
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--enable-experimental \
|
|
--with-package-name="GStreamer Ugly Plugins (Chakra GNU/Linux)" \
|
|
--with-package-origin="http://www.chakra-project.org/"
|
|
|
|
make
|
|
sed -e 's/gst-libs gst ext/gst-libs gst/' -i Makefile
|
|
}
|
|
|
|
package_gstreamer0.10-ugly() {
|
|
pkgdesc="GStreamer Multimedia Framework Ugly plugin libraries"
|
|
depends=('gstreamer0.10-base>=0.10.36')
|
|
|
|
cd "${srcdir}/gst-plugins-ugly-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
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')
|
|
groups=('gstreamer0.10-plugins')
|
|
|
|
cd "${srcdir}/gst-plugins-ugly-${pkgver}"
|
|
make -C ext DESTDIR="${pkgdir}" install
|
|
}
|