Convert package to the new template format (f).
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
# Template file for 'farstream-devel'.
|
||||
#
|
||||
depends="gst-plugins-base1-devel farstream-${version}_${revision}"
|
||||
short_desc="${sourcepkg} - development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
replaces="farsight2-devel>=0"
|
||||
noarch=yes
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
vmove usr/share/gtk-doc usr/share
|
||||
vmove usr/share/gir-1.0 usr/share
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
# Template file for 'farstream'
|
||||
pkgname=farstream
|
||||
version=0.2.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-valgrind --disable-debug --disable-static"
|
||||
depends="gst-python pygobject2 pygtk gst-plugins-good1 gst-plugins-bad1"
|
||||
makedepends="pkg-config intltool gupnp-igd-devel>=0.2.0 libnice-devel>=0.1.3
|
||||
gst-plugins-base1-devel python-devel gst-python-devel pygobject2-devel
|
||||
gobject-introspection"
|
||||
@@ -20,5 +19,22 @@ long_desc="
|
||||
that makes it possible to write plugins for different streaming protocols, on
|
||||
the other side it offers an API for clients to use those plugins."
|
||||
|
||||
replaces="farsight2>=0"
|
||||
subpackages="$pkgname-devel"
|
||||
farstream-devel_package() {
|
||||
depends="gst-plugins-base1-devel farstream-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
replaces="farsight2-devel>=0"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share/gtk-doc
|
||||
vmove usr/share/gir-1.0
|
||||
}
|
||||
}
|
||||
|
||||
farstream_package() {
|
||||
depends="gst-python pygobject2 pygtk gst-plugins-good1 gst-plugins-bad1"
|
||||
replaces="farsight2>=0"
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user