Commit 67b75d7e authored by Manuel Tortosa's avatar Manuel Tortosa

Merge branch 'master' of gitorious.org:chakra-packages/apps into testing

parents 39504b86 d259e948
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# (c) 2010 Drake Justice
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=acetoneiso2
pkgver=2.2.2
pkgrel=1
pkgdesc="An all in one ISO tool (bin mdf nrg img daa dmg cdi b5i bwi pdi iso)"
arch=('i686' 'x86_64')
url="http://www.acetoneteam.org"
license=('GPL3')
depends=('qt>=4' 'fuseiso' 'cdrdao' 'cdrkit' 'gnupg2' 'pinentry' 'mplayer' 'phonon')
optdepends=("p7zip: for ISO compress/decompress support"
"dvd+rw-tools: for dvd ISO creation")
conflicts=('acetoneiso')
install=${pkgname}.install
source=(http://downloads.sourceforge.net/acetoneiso/AcetoneISO/AcetoneISO%202.2.1/acetoneiso_${pkgver}.tar.gz)
md5sums=('5d7110659edcd2d69ad91300f2f21dc5')
build() {
cd ${srcdir}/acetoneiso_${pkgver}/acetoneiso
qmake
sed -i 's|-I/usr/include/QtCore|-I/usr/include/QtCore -I/usr/include/KDE|' Makefile
make || return 1
}
package() {
cd ${srcdir}/acetoneiso_${pkgver}/acetoneiso
make INSTALL_ROOT="${pkgdir}" install
}
post_install() {
cat << EOF
-->
--> Please remember to add 'fuse' to your MODULES array in /etc/rc.conf
-->
EOF
}
post_upgrade() {
post_install $*
}
2010-03-17 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* Update to major release 0.98.3
2009-07-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
* FS#15542 fixed in 0.97.2-14
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=amsn
pkgver=0.98.3
pkgrel=1
pkgdesc="MSN client written in Tcl/Tk"
arch=('i686' 'x86_64')
url="http://amsn.sourceforge.net/"
license=('GPL2')
depends=('tk' 'tls')
makedepends=('libjpeg' 'libpng' 'farsight2' 'libv4l')
optdepends=('farsight2: for video conferencing')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2)
md5sums=('cf184f4c786676a1a0b4b6e1411b9193')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
}
--- utils/TkCximage/src/CxImage/ximajpg.cpp.orig 2009-07-18 05:29:43.000000000 -0300
+++ utils/TkCximage/src/CxImage/ximajpg.cpp 2009-07-18 05:30:31.000000000 -0300
@@ -142,6 +142,7 @@
*/ //</DP>
// Set the scale <ignacio>
+ SetJpegScale(8); // Set an initial value (FIX for jpeg-7)
cinfo.scale_denom = GetJpegScale();
// Borrowed the idea from GIF implementation <ignacio>
--- utils/TkCximage/src/CxImage/ximapng.cpp 2008-03-07 20:14:37.000000000 +0100
+++ utils/TkCximage/src/CxImage/ximapng.cpp_fixed 2010-01-28 23:08:13.000000000 +0100
@@ -142,9 +142,9 @@
if (info_ptr->num_trans!=0){ //palette transparency
if (info_ptr->num_trans==1){
if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE){
- info.nBkgndIndex = info_ptr->trans_values.index;
+ info.nBkgndIndex = info_ptr->trans_color.index;
} else{
- info.nBkgndIndex = info_ptr->trans_values.gray>>nshift;
+ info.nBkgndIndex = info_ptr->trans_color.gray>>nshift;
}
}
if (info_ptr->num_trans>1){
@@ -152,7 +152,7 @@
if (pal){
DWORD ip;
for (ip=0;ip<min(head.biClrUsed,(unsigned long)info_ptr->num_trans);ip++)
- pal[ip].rgbReserved=info_ptr->trans[ip];
+ pal[ip].rgbReserved=info_ptr->trans_alpha[ip];
for (ip=info_ptr->num_trans;ip<head.biClrUsed;ip++){
pal[ip].rgbReserved=255;
}
@@ -166,9 +166,9 @@
int num_trans;
png_color_16 *image_background;
if (png_get_tRNS(png_ptr, info_ptr, &trans, &num_trans, &image_background)){
- info.nBkgndColor.rgbRed = (BYTE)(info_ptr->trans_values.red>>nshift);
- info.nBkgndColor.rgbGreen = (BYTE)(info_ptr->trans_values.green>>nshift);
- info.nBkgndColor.rgbBlue = (BYTE)(info_ptr->trans_values.blue>>nshift);
+ info.nBkgndColor.rgbRed = (BYTE)(info_ptr->trans_color.red>>nshift);
+ info.nBkgndColor.rgbGreen = (BYTE)(info_ptr->trans_color.green>>nshift);
+ info.nBkgndColor.rgbBlue = (BYTE)(info_ptr->trans_color.blue>>nshift);
info.nBkgndColor.rgbReserved = 0;
info.nBkgndIndex = 0;
}
@@ -417,12 +417,12 @@
if (info.nBkgndIndex >= 0){
info_ptr->num_trans = 1;
info_ptr->valid |= PNG_INFO_tRNS;
- info_ptr->trans = trans;
- info_ptr->trans_values.index = (BYTE)info.nBkgndIndex;
- info_ptr->trans_values.red = tc.rgbRed;
- info_ptr->trans_values.green = tc.rgbGreen;
- info_ptr->trans_values.blue = tc.rgbBlue;
- info_ptr->trans_values.gray = info_ptr->trans_values.index;
+ info_ptr->trans_alpha = trans;
+ info_ptr->trans_color.index = (BYTE)info.nBkgndIndex;
+ info_ptr->trans_color.red = tc.rgbRed;
+ info_ptr->trans_color.green = tc.rgbGreen;
+ info_ptr->trans_color.blue = tc.rgbBlue;
+ info_ptr->trans_color.gray = info_ptr->trans_color.index;
// the transparency indexes start from 0 for non grayscale palette
if (!bGrayScale && head.biClrUsed && info.nBkgndIndex)
@@ -443,7 +443,7 @@
trans[ip]=GetPaletteColor((BYTE)ip).rgbReserved;
info_ptr->num_trans = (WORD)nc;
info_ptr->valid |= PNG_INFO_tRNS;
- info_ptr->trans = trans;
+ info_ptr->trans_alpha = trans;
}
// copy the palette colors
diff --git a/avidemux/ADM_coreImage/src/ADM_interlaceUtil.cpp b/avidemux/ADM_coreImage/src/ADM_interlaceUtil.cpp
index 33b2a7f..99f0664 100644
--- a/avidemux/ADM_coreImage/src/ADM_interlaceUtil.cpp
+++ b/avidemux/ADM_coreImage/src/ADM_interlaceUtil.cpp
@@ -30,19 +30,8 @@ Skip factor=2
***************************************************************************/
#include "ADM_default.h"
-
-//#include "ADM_editor/ADM_edit.hxx"
#include "ADM_videoFilter.h"
-//#define MMX_TRACE
-#warning remove mmxmacro and debug asm
-//#define ASM_ILACING
-
-
-#include "ADM_mmxMacros.h"
-
-
-
#define SKIP_FACTOR 2 // 2^SKIPFACTOR=SKIP_LINEAR+1
#define SKIP_LINEAR 3
@@ -62,7 +51,7 @@ Skip factor=2
*/
#if defined(ADM_CPU_X86) && defined(ASM_ILACING)
-
+#warning REWRITE IN PLAIN ASM
static uint32_t ADMVideo_interlaceCount_MMX( uint8_t *src ,uint32_t w, uint32_t h);
static uint8_t * FUNNY_MANGLE(_l_p) =NULL;
static uint8_t * FUNNY_MANGLE(_l_c) =NULL;
diff --git a/avidemux/ADM_coreImage/src/ADM_vidFieldASM.cpp b/avidemux/ADM_coreImage/src/ADM_vidFieldASM.cpp
index 61d11d4..479731c 100644
--- a/avidemux/ADM_coreImage/src/ADM_vidFieldASM.cpp
+++ b/avidemux/ADM_coreImage/src/ADM_vidFieldASM.cpp
@@ -20,15 +20,13 @@
***************************************************************************/
#include "ADM_default.h"
-
#include "ADM_videoFilter.h"
-
#include"ADM_vidField.h"
#ifdef ADM_CPU_X86
// #define DEBUG_DEINT 1
// #define MMX_TRACE 1
- #include "ADM_mmxMacros.h"
+// #include "ADM_mmxMacros.h"
void myDeintASM(void);
@@ -36,25 +34,27 @@
static uint8_t * FUNNY_MANGLE(_l_p) , * FUNNY_MANGLE(_l_c) ,* FUNNY_MANGLE(_l_n);
static uint8_t * FUNNY_MANGLE(_l_e) , * FUNNY_MANGLE(_l_e2);
#define EXPAND(x) (x)+((x)<<16)+((x)<<32) +((x)<<48)
-static mmx_t _mmTHRESH1;
-static mmx_t _mmTHRESH2;
+static uint64_t __attribute__((used)) __attribute__ ((__aligned__ (8))) FUNNY_MANGLE(_mmTHRESH1) ;
+static uint64_t __attribute__((used)) __attribute__ ((__aligned__ (8))) FUNNY_MANGLE(_mmTHRESH2) ;
-#define COMPUTE_MMX \
-punpcklbw_r2r(mm5,mm0); /*c expand 4 bytes -> 4 word */ \
-punpcklbw_r2r(mm5,mm1); /*p*/ \
-punpcklbw_r2r(mm5,mm2); /* n*/ \
-movq_r2r(mm0,mm3); /* mm3 also c*/ \
-psubw_r2r(mm1,mm0) ; /* mm0=mm0-mm1 = c-p*/ \
-psubw_r2r(mm2,mm3) ; /* mm3=mm3-mm2 = c-n*/ \
-psraw_i2r(1,mm0); /* to protect from overflow*/ \
-psraw_i2r(1,mm3);\
-pmullw_r2r(mm0,mm3); /* mm3=(c-p)*(c-n) / 4;*/ \
-movq_r2r(mm3,mm0) ; /* mm0 also c-p*c-n */ \
-pcmpgtw_r2r(mm4,mm3); /* keep only > size*/ \
-pcmpgtw_r2r(mm6,mm0); /* keep only > size*/ \
-packsswb_r2r(mm5,mm0); \
-packsswb_r2r(mm5,mm3);
+#define COMPUTE_MMX \
+__asm__ __volatile__(\
+"punpcklbw %%mm5,%%mm0\n\t" \
+"punpcklbw %%mm5,%%mm1\n\t" \
+"punpcklbw %%mm5,%%mm2\n\t" \
+"movq %%mm0,%%mm3\n\t" \
+"psubw %%mm1,%%mm0\n\t" \
+"psubw %%mm2,%%mm3\n\t" \
+"psraw $1,%%mm0\n\t" \
+"psraw $1,%%mm3\n\t" \
+"pmullw %%mm0,%%mm3\n\t" \
+"movq %%mm3,%%mm0\n\t" \
+"pcmpgtw %%mm4,%%mm3\n\t" \
+"pcmpgtw %%mm6,%%mm0\n\t" \
+"packsswb %%mm5,%%mm0\n\t" \
+"packsswb %%mm5,%%mm3\n\t" \
+::)
#endif
void ADMVideoFields::hasMotion_C(uint8_t *p,uint8_t *c,
@@ -90,8 +90,8 @@ void ADMVideoFields::hasMotion_MMX(uint8_t *p,uint8_t *c,
{
- _mmTHRESH1.uq=EXPAND((uint64_t ) ((_param->motion_trigger*_param->motion_trigger)>>2) );
- _mmTHRESH2.uq=EXPAND((uint64_t ) ((_param->blend_trigger*_param->blend_trigger)>>2) );
+ _mmTHRESH1=EXPAND((uint64_t ) ((_param->motion_trigger*_param->motion_trigger)>>2) );
+ _mmTHRESH2=EXPAND((uint64_t ) ((_param->blend_trigger*_param->blend_trigger)>>2) );
_l_h=_info.height-2;
_l_w=_info.width>>2;
@@ -102,10 +102,11 @@ void ADMVideoFields::hasMotion_MMX(uint8_t *p,uint8_t *c,
_l_e=e;
_l_e2=e2;
// printf("\n MMX \n");
-
- pxor_r2r(mm5,mm5);
- movq_m2r(_mmTHRESH1,mm4);
- movq_m2r(_mmTHRESH2,mm6);
+ __asm__ __volatile__ (
+ "pxor %%mm5,%%mm5\n\t"
+ "movq "Mangle(_mmTHRESH1)",%%mm4\n\t"
+ "movq "Mangle(_mmTHRESH2)",%%mm6\n\t"
+ ::);
myDeintASM();
}
#if !defined(DEBUG_DEINT)
@@ -149,7 +150,7 @@ void myDeintASM(void)
:
: "eax", "ecx","edx","esi"
);
- emms();
+ __asm__ __volatile__ ("emms");
}
#else
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase=avidemux
pkgname=('avidemux-cli' 'avidemux')
pkgver=2.5.3
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL')
url="http://fixounet.free.fr/avidemux/"
makedepends=('cmake' 'libxslt' 'qt' 'jack' 'esound' 'libvorbis' 'sdl' 'libxv'
'alsa-lib' 'lame' 'xvidcore' 'faad2' 'faac' 'x264' 'libsamplerate' 'opencore-amr' 'yasm')
source=(http://downloads.sourceforge.net/avidemux/avidemux_${pkgver}.tar.gz
2.5.3_field_asm_fix.diff)
md5sums=('5a688029895b66b65ca86b7c85a03ee3'
'7eaae393f6c0890a68d382f32925e07d')
build() {
cd "${srcdir}/${pkgbase}_${pkgver}"
patch -Np1 -i "${srcdir}/2.5.3_field_asm_fix.diff" || return 1
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D CMAKE_SKIP_RPATH=ON -D GTK=0 -D QT4=1 .. || return 1
make || return 1
# plugin build expects libraries to be already installed; we fake a prefix
# in build/ by symlinking all libraries to build/lib/
mkdir -p lib
cd lib
find ../avidemux -name '*.so*' | xargs ln -sft . || return 1
cd ../../plugins
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr -D AVIDEMUX_SOURCE_DIR=${srcdir}/avidemux_${pkgver} \
-D AVIDEMUX_CORECONFIG_DIR=${srcdir}/avidemux_${pkgver}/build/config \
-D AVIDEMUX_INSTALL_PREFIX=${srcdir}/avidemux_${pkgver}/build \
-D CMAKE_BUILD_TYPE=Release -D CMAKE_SKIP_RPATH=ON -D GTK=0 -D QT4=1 .. || return 1
make || return 1
}
package_avidemux-cli() {
pkgdesc="A graphical tool to edit video (filter/re-encode/split)"
depends=('libxv' 'libxml2' 'sdl')
optdepends=('lame: for the corresponding audio encoder plugin' \
'faac: for the corresponding audio encoder plugin' \
'faad2: for the corresponding audio decoder plugin' \
'opencore-amr: for the corresponding audio decoder plugin' \
'esound: for the corresponding audio device plugin' \
'jack: for the corresponding audio device plugin' \
'sdl: for the corresponding audio device plugin' \
'x264: for the corresponding video encoder plugin' \
'xvidcore: for the corresponding video encoder plugin')
cd "${srcdir}/${pkgbase}_${pkgver}/build"
make DESTDIR="${pkgdir}" install || return 1
cd "${srcdir}/${pkgbase}_${pkgver}/plugins/build"
make DESTDIR="${pkgdir}" install || return 1
rm -r "${pkgdir}"/usr/share/avidemux
rm "${pkgdir}"/usr/bin/avidemux2_qt4
rm "${pkgdir}"/usr/lib/*{_qt4,QT4}.so
rm "${pkgdir}"/usr/lib/ADM_plugins/videoEncoder/x264/*Qt.so
rm "${pkgdir}"/usr/lib/ADM_plugins/videoEncoder/xvid/*Qt.so
rm "${pkgdir}"/usr/lib/ADM_plugins/videoFilter/*_qt4.so
ln -s /usr/lib/ADM_plugins/videoEncoder/libADM_vidEnc_xvid.so "${pkgdir}/usr/lib/libADM_vidEnc_xvid.so"
ln -s /usr/lib/ADM_plugins/videoEncoder/libADM_vidEnc_x264.so "${pkgdir}/usr/lib/libADM_vidEnc_x264.so"
install -D -m644 ../../avidemux_icon.png "${pkgdir}/usr/share/pixmaps/avidemux.png" || return 1
install -D -m644 ../../man/avidemux.1 "${pkgdir}/usr/share/man/man1/avidemux.1" || return 1
}
package_avidemux() {
pkgdesc="A graphical tool to edit video (filter/re-encode/split)"
depends=('avidemux-cli' 'qt')
cd "${srcdir}/${pkgbase}_${pkgver}"
install -D -m755 build/avidemux/avidemux2_qt4 "${pkgdir}/usr/bin/avidemux" || return 1
install -d "${pkgdir}"/usr/lib/ADM_plugins/videoEncoder/{x264,xvid}
install -d "${pkgdir}"/usr/lib/ADM_plugins/videoFilter
install -D -m755 build/lib/*{_qt4,QT4}.so "${pkgdir}/usr/lib"
install -D -m755 plugins/build/ADM_videoEncoder/ADM_vidEnc_x264/qt4/*Qt.so "${pkgdir}/usr/lib/ADM_plugins/videoEncoder/x264"
install -D -m755 plugins/build/ADM_videoEncoder/ADM_vidEnc_xvid/qt4/*Qt.so "${pkgdir}/usr/lib/ADM_plugins/videoEncoder/xvid"
install -D -m755 plugins/build/ADM_videoFilters/*/*_qt4.so "${pkgdir}/usr/lib/ADM_plugins/videoFilter"
install -d "${pkgdir}/usr/share/avidemux/i18n"
install -D -m644 build/po/*.qm "${pkgdir}/usr/share/avidemux/i18n"
install -D -m644 avidemux2.desktop "${pkgdir}/usr/share/applications/avidemux.desktop" || return 1
sed -i 's/Name=avidemux2/Name=avidemux/' "${pkgdir}/usr/share/applications/avidemux.desktop" || return 1
sed -i 's/avidemux2_gtk/avidemux/' "${pkgdir}/usr/share/applications/avidemux.desktop" || return 1
}
diff -Naur avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp
--- avidemux_2.5.0.orig/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2009-07-11 21:12:49.000000000 -0400
+++ avidemux_2.5.0/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp 2009-07-11 21:14:03.000000000 -0400
@@ -73,7 +73,7 @@
#ifdef __APPLE__
QString appdir = QCoreApplication::applicationDirPath() + "/../Resources/locale/";
#else
- QString appdir = QCoreApplication::applicationDirPath() + "/i18n/";
+ QString appdir = "/usr/share/avidemux/i18n/";
#endif
loadTranslation(&qtTranslator, appdir + "qt_" + QLocale::system().name());
@@ -164,4 +164,4 @@
}
return "Qt";
-}
\ No newline at end of file
+}
diff -Naur avidemux_2.5.0.orig/cmake/Ts.cmake avidemux_2.5.0/cmake/Ts.cmake
--- avidemux_2.5.0.orig/cmake/Ts.cmake 2009-07-11 21:12:51.000000000 -0400
+++ avidemux_2.5.0/cmake/Ts.cmake 2009-07-11 21:22:34.000000000 -0400
@@ -64,7 +64,7 @@
SET(qm_files ${qm_files} ${_outXml} ${_out})
- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
+ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
ENDFOREACH(ts_input ${ts_files})
SET(${_sources} ${${_sources}} ${qm_files})
@@ -95,7 +95,7 @@
SET(qm_files ${qm_files} ${_out})
- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
+ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
ENDFOREACH(ts_input ${ts_files})
SET(${_sources} ${${_sources}} ${qm_files})
# Contributor: Alois Nespor <Alois.Nespor@gmail.com>
pkgname=bibletime-kde4
origname=bibletime
pkgver=2.7
pkgrel=1
pkgdesc="Bible software that uses the Sword Engine for KDE4"
arch=('i686' 'x86_64')
url=("http://www.blog.bibletime.info")
license=('GPL2')
depends=('qt>=4.5' 'sword' 'openssl')
makedepends=('cmake' 'boost')
source=(http://downloads.sourceforge.net/bibletime/bibletime-$pkgver.tar.gz)
build() {
cd $srcdir/bibletime-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ${srcdir}/$origname-$pkgver || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}
md5sums=('ae22d2ac1d86588b5583d169100e9a71')
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=blender
pkgver=2.49b
pkgrel=2
pkgdesc="A fully integrated 3D graphics creation suite (binary version)"
arch=('i686' 'x86_64')
url="http://blender.org/"
license=('GPL')
depends=('libgl' 'libjpeg6' 'libx11' 'libxau' 'libxcb' 'libxdamage' 'libxdmcp' 'libxext' 'libxfixes' 'libxi' 'libxxf86vm' 'python' 'sdl' 'zlib')
makedepends=('librsvg')
install=blender.install
source=('blender.desktop')
md5sums=('b5b9720b9430b1f5e2aa0b2df533fed8')
case ${CARCH} in
i686)
source=(${source[@]} 'http://video.blendertestbuilds.de/download.blender.org/release/Blender2.49b/blender-2.49b-linux-glibc236-py26-i386.tar.bz2')
md5sums=(${md5sums[@]} 'f9157c5142fc0638ab2970033b7a91a0');;
x86_64)
source=(${source[@]} 'http://video.blendertestbuilds.de/download.blender.org/release/Blender2.49b/blender-2.49b-linux-glibc236-py26-x86_64.tar.bz2')
md5sums=(${md5sums[@]} '58822737042a0bd220553ac78994722f');;
esac
build() {
mkdir -p $pkgdir/usr/{share/blender,share/icons/hicolor,bin}
case ${CARCH} in
i686)
cd $srcdir/blender-2.49b-linux-glibc236-py26-i386
;;
x86_64)
cd $srcdir/blender-2.49b-linux-glibc236-py26-x86_64
;;
esac
cp -r .blender/locale $pkgdir/usr/share
cp -r .blender/scripts $pkgdir/usr/share/blender
cp -r icons/* $pkgdir/usr/share/icons/hicolor
cp blender $pkgdir/usr/bin
cp blenderplayer $pkgdir/usr/bin
# stolen from blender in extra
install -Dm644 $srcdir/blender.desktop $pkgdir/usr/share/applications/blender.desktop
}
# vim:set ts=2 sw=2 et:
[Desktop Entry]
Encoding=UTF-8
Name=Blender
Name[da]=Blender
Name[nl]=Blender
Name[no]=Blender
Name[de]=Blender
Name[es]=Blender
Comment=A 3D program
Comment[es]=Un programa de 3D
Comment[no]=Et 3d-program
Comment[da]=Et program til 3d-modelering
Exec=blender
Icon=blender
Terminal=false
X-MultipleArgs=false
Type=Application
Categories=Application;Graphics;3DGraphics;
MimeType=application/blender;application/x-blender;
post_install() {
cat << EOF
We ship the plugins, but most of these features can be accessed only
from the users home directory. Therefore, you wanna copy everything from
/usr/share/blender to ~/.blender (some are hidden files!).
Happy blending!
EOF
echo "update desktop mime database..."
update-desktop-database
gtk-update-icon-cache /usr/share/icons/hicolor
}
post_upgrade() {
post_install $1
}
pre_remove() {
/bin/true
}
post_remove() {
echo "update desktop mime database..."
update-desktop-database
gtk-update-icon-cache /usr/share/icons/hicolor
}
op=$1
shift
$op $*
......@@ -124,7 +124,7 @@ build_it()
# done
# sudo pacman -Uf $_packages_to_install || exit 1
sudo pacman -U ../_repo/local/${module}-*.pkg.*
sudo pacman -U --noconfirm ../_repo/local/${module}-*.pkg.*
fi
popd &>/dev/null
......
# Contributor: Martin Stolpe <martinstolpe [at] gmail ... com>
# Contributer: Joshua L. Blocher <verbalshadow@gmail.com>
pkgname=bzr-explorer
pkgver=1.1.0beta1
pkgrel=1
pkgdesc="A desktop application for using the Bazaar Version Control System"
arch=('i686' 'x86_64')
url="http://doc.bazaar-vcs.org/explorer/en/index.html"
license=('GPL')
depends=("python" "bzr" "qbzr")
source=(http://launchpad.net/bzr-explorer/1.1/1.1beta1/+download/$pkgname-$pkgver.tar.gz)
md5sums=('be3dc1998246fe0eae74a6e6058657db')
build() {
cd "${startdir}/src/${pkgname}-${pkgver}/"
python setup.py install --prefix'=/usr' --root="${startdir}/pkg" || return 1
}
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# (c) 2010 Drake Justice
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=cinstall-testing
pkgver=20100731
pkgrel=1
depends=('kdelibs' 'qt' 'squashfs-tools' 'xz-utils' 'unionfs-fuse' 'fakechroot')
pkgdesc="Bundle Creator/Launcher and Package-Manager"