Date: Thursday, January 26, 2012 @ 04:41:28 Author: heftig Revision: 147671
archrelease: copy trunk to staging-i686, staging-x86_64 Added: libgnome-media-profiles/repos/staging-i686/ libgnome-media-profiles/repos/staging-i686/PKGBUILD (from rev 147670, libgnome-media-profiles/trunk/PKGBUILD) libgnome-media-profiles/repos/staging-i686/libgnome-media-profiles.install (from rev 147670, libgnome-media-profiles/trunk/libgnome-media-profiles.install) libgnome-media-profiles/repos/staging-x86_64/ libgnome-media-profiles/repos/staging-x86_64/PKGBUILD (from rev 147670, libgnome-media-profiles/trunk/PKGBUILD) libgnome-media-profiles/repos/staging-x86_64/libgnome-media-profiles.install (from rev 147670, libgnome-media-profiles/trunk/libgnome-media-profiles.install) ------------------------------------------------+ staging-i686/PKGBUILD | 39 +++++++++++++++++++++++ staging-i686/libgnome-media-profiles.install | 17 ++++++++++ staging-x86_64/PKGBUILD | 39 +++++++++++++++++++++++ staging-x86_64/libgnome-media-profiles.install | 17 ++++++++++ 4 files changed, 112 insertions(+) Copied: libgnome-media-profiles/repos/staging-i686/PKGBUILD (from rev 147670, libgnome-media-profiles/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2012-01-26 09:41:28 UTC (rev 147671) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> +pkgname=libgnome-media-profiles +pkgver=3.0.0 +pkgrel=3 +pkgdesc="Library for management of audio recording profiles" +arch=(i686 x86_64) +url="http://www.gnome.org" +license=('GPL2') +depends=('gconf' 'gtk3' 'gstreamer0.10-base-plugins') +makedepends=('intltool' 'gnome-doc-utils') +options=('!emptydirs' '!libtool') +install=libgnome-media-profiles.install +source=(http://download.gnome.org/sources/${pkgname}/3.0/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('ab1288e53a8fccca3e8fa59757ef586901e236e09a737a1178eeb8d74428c061') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc \ + --disable-static -disable-scrollkeeper \ + --disable-schemas-install + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-audio-profiles "${pkgdir}"/etc/gconf/schemas/*.schemas + rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas +} + +# vim:set ts=2 sw=2 et: Copied: libgnome-media-profiles/repos/staging-i686/libgnome-media-profiles.install (from rev 147670, libgnome-media-profiles/trunk/libgnome-media-profiles.install) =================================================================== --- staging-i686/libgnome-media-profiles.install (rev 0) +++ staging-i686/libgnome-media-profiles.install 2012-01-26 09:41:28 UTC (rev 147671) @@ -0,0 +1,17 @@ +pkgname=libgnome-media-profiles + +post_install(){ + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} Copied: libgnome-media-profiles/repos/staging-x86_64/PKGBUILD (from rev 147670, libgnome-media-profiles/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2012-01-26 09:41:28 UTC (rev 147671) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> +pkgname=libgnome-media-profiles +pkgver=3.0.0 +pkgrel=3 +pkgdesc="Library for management of audio recording profiles" +arch=(i686 x86_64) +url="http://www.gnome.org" +license=('GPL2') +depends=('gconf' 'gtk3' 'gstreamer0.10-base-plugins') +makedepends=('intltool' 'gnome-doc-utils') +options=('!emptydirs' '!libtool') +install=libgnome-media-profiles.install +source=(http://download.gnome.org/sources/${pkgname}/3.0/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('ab1288e53a8fccca3e8fa59757ef586901e236e09a737a1178eeb8d74428c061') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc \ + --disable-static -disable-scrollkeeper \ + --disable-schemas-install + + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-audio-profiles "${pkgdir}"/etc/gconf/schemas/*.schemas + rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas +} + +# vim:set ts=2 sw=2 et: Copied: libgnome-media-profiles/repos/staging-x86_64/libgnome-media-profiles.install (from rev 147670, libgnome-media-profiles/trunk/libgnome-media-profiles.install) =================================================================== --- staging-x86_64/libgnome-media-profiles.install (rev 0) +++ staging-x86_64/libgnome-media-profiles.install 2012-01-26 09:41:28 UTC (rev 147671) @@ -0,0 +1,17 @@ +pkgname=libgnome-media-profiles + +post_install(){ + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +}