Commit 9c02881a authored by Phil Miller's avatar Phil Miller

* updates

parent f3559538
#
# 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=dvdauthor
pkgver=0.6.14
pkgrel=1
pkgdesc="DVD authoring tools"
arch=('i686' 'x86_64')
url="http://dvdauthor.sourceforge.net/"
license=('GPL')
depends=('libdvdread' 'imagemagick')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('bd646b47950c4091ffd781d43fd2c5e9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || 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>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=k9copy
pkgver=2.3.5
pkgrel=1
pkgdesc="A small utility which allows the copy of DVD under Linux"
arch=('i686' 'x86_64')
url="http://k9copy.sourceforge.net"
license=('GPL')
depends=('kdebase-runtime' 'libmpeg2' 'xine-lib' 'dvd+rw-tools' 'dvdauthor')
makedepends=('automoc4' 'cmake')
install=k9copy.install
source=(http://downloads.sourceforge.net/project/${pkgname}/k9copy-kde4/${pkgver}/${pkgname}-${pkgver}-Source.tar.gz
k9copy-2.3.5-gcc45.patch)
md5sums=('808382988bc87c58d7149da97637e57d'
'826e1de9da577f195ae13f2f7bdb7aa6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}-Source"
# fix build with gcc45
patch -Np0 -i ${srcdir}/k9copy-2.3.5-gcc45.patch || return 1
sed -i -e "s:Name=k9copy:Name=K9copy:g" k9copy.desktop k9copy_assistant.desktop
cmake -DCMAKE_INSTALL_PREFIX=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}
Passing const char * instead of QByteArray to printf
http://bugs.gentoo.org/show_bug.cgi?id=304755
Patch written by Kacper Kowalik <xarthisius.kk@gmail.com>
--- src/xine/k9xineplayer.cpp
+++ src/xine/k9xineplayer.cpp
@@ -251,7 +251,7 @@
if ((vo_port = xine_open_video_driver(xine,
m_vo.toAscii(), XINE_VISUAL_TYPE_X11, (void *) &vis)) == NULL) {
- printf("I'm unable to initialize '%s' video driver. Giving up.\n", m_vo.toAscii());
+ printf("I'm unable to initialize '%s' video driver. Giving up.\n", m_vo.toAscii().constData());
return ;
}
@@ -270,7 +270,7 @@
running=false;
m_title="";
if ((!xine_open(stream, m_mrl.toUtf8())) || (!xine_play(stream, 0, 0))) {
- printf("Unable to open mrl '%s'\n", m_mrl.toUtf8());
+ printf("Unable to open mrl '%s'\n", m_mrl.toUtf8().constData());
return ;
}
QTimer::singleShot (500, this, SLOT (updatePosition ()));
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
#
# 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=skanlite
pkgver=0.4
_kdever=4.4.0
pkgrel=1
pkgdesc="Image Scanning Application for KDE"
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('LGPL')
depends=('kdegraphics-common')
makedepends=('pkgconfig' 'cmake' 'automoc4')
options=('docs')
source=("http://download.kde.org/stable/${_kdever}/src/extragear/${pkgname}-${pkgver}-kde${_kdever}.tar.bz2")
md5sums=('b1e6e8a3e6b2ffab667afbf6426d344d')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver}-kde${_kdever} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
#
# 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>
# PKGBUILD based on: http://aur.archlinux.org/packages.php?ID=26800
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=vlc-dev
pkgver=1.1.0rc1
_dlver=1.1.0-rc
pkgrel=1
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player with VAAPI support"
arch=('i686' 'x86_64')
url="http://www.videolan.org/vlc/"
license=(GPL)
# NOTE: Here you choose whether or not to enable all the VAAPI stuff (GPU acceleration for video processing - which is faster).
# But with VLC this is still experimental (like this whole bleeding edge version of VLC). Thus, if for any reason you want to
# disable VAAPI, just set the value of the following variable to anything else than "1". You can also comment the variable itself,
# modify it or just remove it completely. We call this the 'Freedom of choice' down here.
_vaapi=1
makedepends=('libnotify' 'libxpm' 'lirc-utils' 'live-media' 'xulrunner')
optdepends=('libdvdcss: for decoding encrypted DVDs'
'libnotify: for notification plugin'
'lirc-utils: for lirc plugin')
if [ "$_vaapi" == "1" ]; then
depends=('a52dec' 'avahi' 'ffmpeg' 'fribidi' 'fluidsynth' 'libass' 'libcddb'
'libcdio' 'libdca' 'libdvbpsi' 'libdvdnav' 'libmad' 'libmatroska'
'libmodplug' 'libmpcdec' 'libmpeg2' 'libmtp' 'libproxy' 'libshout'
'libv4l' 'libva-sds' 'libxv' 'lua' 'mesa' 'qt' 'sdl_image' 'smbclient'
'sysfsutils' 'taglib' 'ttf-freefont' 'vdpau-video' 'xdg-utils' 'zvbi')
else # 'libva-sds' and 'vdpau-video' won't be installed, if "_vaapi" variable not set as "1"
depends=('a52dec' 'avahi' 'ffmpeg' 'fribidi' 'fluidsynth' 'libass' 'libcddb'
'libcdio' 'libdca' 'libdvbpsi' 'libdvdnav' 'libmad' 'libmatroska'
'libmodplug' 'libmpcdec' 'libmpeg2' 'libmtp' 'libproxy' 'libshout'
'libv4l' 'libxv' 'lua' 'mesa' 'qt' 'sdl_image' 'smbclient' 'sysfsutils'
'taglib' 'ttf-freefont' 'xdg-utils' 'zvbi')
fi
replaces=('vlc')
conflicts=('vlc')
provides=('vlc')
options=(!libtool)
install=vlc.install
source=(http://downloads.videolan.org/pub/videolan/testing/vlc-${_dlver}/vlc-${_dlver}.tar.bz2
vlc-vdpau.desktop)
md5sums=('4983cbcaf206392c8fa7df6608fdf1ef'
'b58ffb8c14b6967685a08c1d5332e190')
build() {
# fix build
if [ "${_arch}" = "i686" ]; then
export CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe -D__STDC_CONSTANT_MACROS"
else
export CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -D__STDC_CONSTANT_MACROS"
fi
cd $startdir/src/vlc-${_dlver}
sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c
[ "${CARCH}" = "i686" ] && EXTRAFEATURES="--enable-loader --enable-live555 --with-live555-tree=/usr/lib/live"
[ "${CARCH}" = "x86_64" ] && EXTRAFEATURES="--enable-fast-install --enable-live555 --with-live555-tree=/usr/lib/live"
./configure --prefix=/usr \
--enable-libass \
--enable-dvdread \
--enable-jack \
--enable-dvdnav \
--disable-rpath \
--enable-zvbi \
--enable-qt4 \
--enable-faad \
--enable-alsa \
--enable-skins2 \
--enable-dvb \
--enable-v4l \
--enable-theora \
--enable-flac \
--enable-snapshot \
--enable-dbus \
--enable-ogg \
--enable-dbus-control \
--enable-shared \
--enable-nls \
--enable-lirc \
--enable-shout \
--enable-pvr \
--enable-ncurses \
--enable-mozilla \
--enable-merge-ffmpeg \
--disable-projectm \
--program-suffix= \
--enable-realrtsp ${EXTRAFEATURES} || return 1
CFLAGS="-fPIC"
make || return 1
make DESTDIR=${pkgdir}/ install || return 1
for res in 16 32 48 128; do
install -D -m644 ${srcdir}/vlc-${_dlver}/share/vlc${res}x${res}.png \
${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png || return 1
done
#Enabling hardware acceleration option in the .desktop file
install -D -m 644 ${srcdir}/vlc-vdpau.desktop ${pkgdir}/usr/share/applications/vlc-vdpau.desktop
rm -rf ${pkgdir}/usr/lib/mozilla
}
\ No newline at end of file
--- vlc-1.0.4/modules/codec/png.c~ 2010-01-19 02:31:45.575326077 +0100
+++ vlc-1.0.4/modules/codec/png.c 2010-01-19 02:32:21.465321175 +0100
@@ -155,7 +155,7 @@
p_info = png_create_info_struct( p_png );
if( p_info == NULL )
{
- png_destroy_read_struct( &p_png, png_infopp_NULL, png_infopp_NULL );
+ png_destroy_read_struct( &p_png, NULL, NULL );
block_Release( p_block ); *pp_block = NULL;
return NULL;
}
@@ -163,7 +163,7 @@
p_end_info = png_create_info_struct( p_png );
if( p_end_info == NULL )
{
- png_destroy_read_struct( &p_png, &p_info, png_infopp_NULL );
+ png_destroy_read_struct( &p_png, &p_info, NULL );
block_Release( p_block ); *pp_block = NULL;
return NULL;
}
This diff is collapsed.
[Desktop Entry]
Categories=AudioVideo;Player;
Comment[de]=Wiedergabe, Aufnahme und Verbreitung Ihrer Multimedia-Streams
Comment=Wiedergabe, Aufnahme und Verbreitung Ihrer Multimedia-Streams
Comment[bn]=আপনার মাল্টিমিডিয়া স্ট্রীম পড়ুন, ধরে রাখুন এবং ছড়িয়ে দিন
Comment[ca]=Reproduïu, captureu i difoneu fluxos multimèdia
Comment[es]=Lea, capture y emita sus contenidos multimedia
Comment[et]=Multimeediafailide taasesitamine, lindistamine ja edastamine
Comment[fi]=Toista, tallenna ja lähetä multimediaa
Comment[fr]=Lire, capturer, diffuser vos flux multimedia
Comment[gl]=Lea, capture e emita os seus fluxos multimedia
Comment[hu]=Multimédiás adatfolyamok olvasása, mentése, szórása
Comment[it]=Legge, acquisisce e trasmette i tuoi flussi multimediali
Comment[ja]=マルチメディアストリームの読み込み、キャプチャー、ブロードキャスト
Comment[km]=អាន ចាប់យក ប្រកាស​ស្ទ្រីម​ពហុមេឌៀ​របស់​អ្នក
Comment[lt]=Groti, įrašyti, siųsti daugialypės terpės kūrinius
Comment[nl]=Uw multimediastreams afspelen, opnemen en uitzenden
Comment[nn]=Spel av, ta opp og send ut multimedia
Comment[pa]=ਆਪਣੀ ਮਲਟੀਮੀਡਿਆ ਸਟਰੀਮ ਪੜ੍ਹੋ, ਕੈਪਚਰ ਤੇ ਬਰਾਡਕਾਸਟ ਕਰੋ
Comment[pl]=Odczytywanie, przechwytywanie i nadawanie strumieni multimedialnych
Comment[pt_BR]=Reproduza, capture e transmita os seus fluxos multimídia
Comment[ru]=Универсальный проигрыватель видео и аудио
Comment[sk]=Naèítavajte, zaznamenávajte, vysielajte svoje multimediálne streamy
Comment[sv]=Allmän uppspelare av film och musik
Comment[wa]=Lét, egaloye, evoye vos floûs multimedia
Comment[zh_CN]=为您读取、捕获或发送多媒体流
Exec=vlc %U --ffmpeg-hw
GenericName[de]=
GenericName=
Icon=vlc
MimeType=x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-player;x-content/audio-cdda;video/x-nsv;video/x-msvideo;video/x-msvideo;video/x-ms-wmv;video/x-ms-asf;video/x-flv;video/x-flic;video/x-anim;video/vnd.rn-realvideo;video/quicktime;video/mpeg;video/mp4;video/mp4;video/dv;image/vnd.rn-realpix;audio/x-wav;audio/x-scpls;audio/x-pn-realaudio-plugin;audio/x-ms-asx;audio/x-mpegurl;audio/x-flac;audio/vnd.rn-realaudio;audio/vnd.rn-realaudio;audio/mpeg;audio/mpeg;audio/mpeg;audio/mp4;audio/mp4;application/x-shockwave-flash;application/x-ogg;application/x-matroska;application/vnd.rn-realmedia;application/ogg;
Name[de]=VLC Media Player (with VDPAU)
Name=VLC Media Player (with VDPAU)
Name[bn]=VLC মিডিয়া প্লেয়ার (with VDPAU)
Name[ca]=Reproductor multimèdia VLC (with VDPAU)
Name[es]=Reproductor multimedia VLC (with VDPAU)
Name[et]=VLC meediaesitaja (with VDPAU)
Name[fi]=VLC-mediasoitin (with VDPAU)
Name[fr]=Lecteur multimédia VLC (with VDPAU)
Name[gl]=Reprodutor multimedia VLC (with VDPAU)
Name[hu]=VLC médialejátszó (with VDPAU)
Name[it]=Lettore multimediale VLC (with VDPAU)
Name[ja]=VLCメディアプレイヤー (with VDPAU)
Name[km]=កម្មវិធី​ចាក់​មេឌៀ VLC (with VDPAU)
Name[lt]=VLC grotuvas (with VDPAU)
Name[nl]=VLC Mediaspeler (with VDPAU)
Name[nn]=VLC mediespelar (with VDPAU)
Name[pa]=VLC ਮੀਡਿਆ ਪਲੇਅਰ (with VDPAU)
Name[pl]=VLC media player - odtwarzacz multimedialny (with VDPAU)
Name[pt_BR]=Reprodutor de Mídias VLC (with VDPAU)
Name[ru]=Медиаплеер VLC (with VDPAU)
Name[sk]=VLC media player (with VDPAU)
Name[sv]=Mediaspelaren VLC (with VDPAU)
Name[wa]=Djouweu d' media VLC (with VDPAU)
Name[zh_CN]=VLC media player (with VDPAU)
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
Version=1.0
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
GR=$'\x1b[1;32m'
NC=$'\x1b[0m'
echo "******************************************************************************"
echo "$GR OBS. to enable VAAPI (with VDPAU):$NC"
echo "1. Launch VLC with$GR --ffmpeg-hw$NC parameter or add$GR ffmpeg-hw=1$NC to$GR vlcrc$NC (~/.config/vlc/)"
echo "2. In VLC tick:$GR 'Input & Codecs' -> 'Use GPU acceleration (experimental)'$NC"
echo "*******************************************************************************"
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment