This commit is contained in:
moonman 2014-08-10 22:23:13 -06:00
commit d42aa98bbd
25 changed files with 1140 additions and 755 deletions

View file

@ -1,14 +1,11 @@
# Maintainer: Huulivoide <gmail.com: jesse.jaara>
# Contributor: Jonathan Hudson <daria.co.uk: jh+arch>
# If you are building this on the original 256MB Raspberry Pi
# you need to enable some swap (100MB ?) or the build will fail
# on OMXPlayerSubtitles.cpp
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Contributor: Huulivoide <gmail.com: jesse.jaara>
# Contributor: Jonathan Hudson <daria.co.uk: jh+arch>
buildarch=16
pkgname=omxplayer-git
pkgver=340.f322182
pkgver=366.90b8951
pkgrel=1
pkgdesc="omxplayer is a command line media player for the RaspberryPi"
arch=('arm' 'armv6h')
@ -19,8 +16,10 @@ makedepends=('git' 'boost')
optdepends=('ttf-freefont')
provides=(omxplayer)
conflicts=('omxplayer' 'omxplayer-bin')
source=(git://github.com/popcornmix/omxplayer.git
Makefile.arch Makefile.include.arch)
source=('git://github.com/popcornmix/omxplayer.git'
'alarm.patch')
md5sums=('SKIP'
'4f21babb3985e7e029a799383938f8ce')
pkgver() {
cd omxplayer
@ -30,8 +29,7 @@ pkgver() {
prepare() {
cd "${srcdir}/omxplayer"
cp ../Makefile.arch Makefile
cp ../Makefile.include.arch Makefile.include
patch -p1 -i ../alarm.patch
sed 's|truetype/freefont|TTF|g' -i omxplayer.cpp
}
@ -47,7 +45,3 @@ package() {
make DESTDIR="${pkgdir}" install
}
md5sums=('SKIP'
'462e40e8da2e2b10cb32138e7885d285'
'a8635442d02665944c04c18606453a04')

View file

@ -0,0 +1,107 @@
diff -urN a/Makefile b/Makefile
--- a/Makefile 2014-08-10 15:20:40.333620698 -0600
+++ b/Makefile 2014-08-10 16:00:28.275387482 -0600
@@ -2,9 +2,9 @@
CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST
-LDFLAGS+=-L./ -Lffmpeg_compiled/usr/local/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz
+LDFLAGS+=-L./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz
-INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-gnueabihf/dbus-1.0/include
+INCLUDES+=-I./ -Ilinux
DIST ?= omxplayer-dist
@@ -39,7 +39,7 @@
OBJS+=$(filter %.o,$(SRC:.cpp=.o))
-all: dist
+all: omxplayer.bin
%.o: %.cpp
@rm -f $@
@@ -51,7 +51,7 @@
bash gen_version.sh > version.h
omxplayer.bin: version $(OBJS)
- $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) -lvchiq_arm -lvcos -ldbus-1 -lrt -lpthread -lavutil -lavcodec -lavformat -lswscale -lswresample -lpcre
+ $(CXX) -o omxplayer.bin $(OBJS) $(LDFLAGS) -lvchiq_arm -lvcos -ldbus-1 -lrt -lpthread -lavutil -lavcodec -lavformat -lswscale -lswresample -lpcre
$(STRIP) omxplayer.bin
help.h: README.md Makefile
@@ -74,19 +74,9 @@
@rm -rf $(DIST)
@rm -f omxplayer-dist.tar.gz
-ffmpeg:
- @rm -rf ffmpeg
- make -f Makefile.ffmpeg
- make -f Makefile.ffmpeg install
-
-dist: omxplayer.bin omxplayer.1
- mkdir -p $(DIST)/usr/lib/omxplayer
- mkdir -p $(DIST)/usr/bin
- mkdir -p $(DIST)/usr/share/doc/omxplayer
- mkdir -p $(DIST)/usr/share/man/man1
- cp omxplayer omxplayer.bin $(DIST)/usr/bin
- cp COPYING $(DIST)/usr/share/doc/omxplayer
- cp README.md $(DIST)/usr/share/doc/omxplayer/README
- cp omxplayer.1 $(DIST)/usr/share/man/man1
- cp -a ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/
- cd $(DIST); tar -czf ../$(DIST).tgz *
+install:
+ install -d $(DESTDIR)/usr/bin
+ install -d $(DESTDIR)/usr/share/doc/omxplayer
+ install omxplayer $(DESTDIR)/usr/bin/
+ install omxplayer.bin $(DESTDIR)/usr/bin/
+ install README.md COPYING $(DESTDIR)/usr/share/doc/omxplayer/
diff -urN a/Makefile.include b/Makefile.include
--- a/Makefile.include 2014-08-10 15:20:40.333620698 -0600
+++ b/Makefile.include 2014-08-10 16:03:26.779799178 -0600
@@ -1,40 +1,4 @@
-USE_BUILDROOT=0
-FLOAT=hard
-
-ifeq ($(USE_BUILDROOT), 1)
-BUILDROOT :=/opt/xbmc-bcm/buildroot
-SDKSTAGE :=$(BUILDROOT)/output/staging
-TARGETFS :=$(BUILDROOT)/output/target
-TOOLCHAIN :=$(BUILDROOT)/output/host/usr/
-HOST :=arm-unknown-linux-gnueabi
-SYSROOT :=$(BUILDROOT)/output/host/usr/arm-unknown-linux-gnueabi/sysroot
-else
-BUILDROOT :=/opt/bcm-rootfs
-SDKSTAGE :=/opt/bcm-rootfs
-TARGETFS :=/opt/bcm-rootfs
-TOOLCHAIN :=/home/dc4/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/
-HOST :=arm-linux-gnueabihf
-#SYSROOT :=$(TOOLCHAIN)/arm-bcm2708hardfp-linux-gnueabi/sysroot
-SYSROOT :=/opt/bcm-rootfs
-endif
-
-JOBS=7
-
-CFLAGS := -isystem$(PREFIX)/include
-CXXFLAGS := $(CFLAGS)
-CPPFLAGS := $(CFLAGS)
-LDFLAGS := -L$(BUILDROOT)/lib
-LD := $(TOOLCHAIN)/bin/$(HOST)-ld --sysroot=$(SYSROOT)
-CC := $(TOOLCHAIN)/bin/$(HOST)-gcc --sysroot=$(SYSROOT)
-CXX := $(TOOLCHAIN)/bin/$(HOST)-g++ --sysroot=$(SYSROOT)
-OBJDUMP := $(TOOLCHAIN)/bin/$(HOST)-objdump
-RANLIB := $(TOOLCHAIN)/bin/$(HOST)-ranlib
-STRIP := $(TOOLCHAIN)/bin/$(HOST)-strip
-AR := $(TOOLCHAIN)/bin/$(HOST)-ar
-CXXCP := $(CXX) -E
-PATH := $(PREFIX)/bin:$(BUILDROOT)/output/host/usr/bin:$(PATH)
-
-CFLAGS += -pipe -mfloat-abi=$(FLOAT) -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux -mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -mno-apcs-stack-check -g -mstructure-size-boundary=32 -mno-sched-prolog
-LDFLAGS += -L$(SDKSTAGE)/lib -L$(SDKSTAGE)/usr/lib -L$(SDKSTAGE)/opt/vc/lib/ -Lpcre/build
-#INCLUDES += -isystem$(SDKSTAGE)/usr/include -isystem$(SDKSTAGE)/opt/vc/include -isystem$(SYSROOT)/usr/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -isystem$(SDKSTAGE)/usr/include/freetype2
-INCLUDES += -isystem$(SDKSTAGE)/opt/vc/include -isystem$(SYSROOT)/usr/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -Ipcre/build -Iboost-trunk -Ifreetype2/include
+STRIP := strip
+CFLAGS += -fomit-frame-pointer -mabi=aapcs-linux -mtune=arm1176jzf-s -Wno-psabi -mno-apcs-stack-check -g -mstructure-size-boundary=32 -mno-sched-prolog
+LDFLAGS += -L/opt/vc/lib/
+INCLUDES += -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -I/usr/include/freetype2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include

View file

@ -4,28 +4,27 @@
buildarch=4
pkgname=uboot-beaglebone
pkgver=2013.07
pkgrel=1
pkgver=2014.07
pkgrel=2
pkgdesc="U-Boot for Beaglebone and Beaglebone Black"
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
license=('GPL')
makedepends=('git')
source=("git://git.denx.de/u-boot.git#tag=v${pkgver}"
'https://raw.github.com/eewiki/u-boot-patches/master/v2013.07/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch'
makedepends=('bc')
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
'alarm.patch'
'uEnv.txt')
md5sums=('SKIP'
'dbc20ae3e48ae69fc2bbd35b96a6663e'
'd811e78f6df4bda2cc916be699f1c750')
md5sums=('36d4bad687edcafa396fee607e505d4e'
'c0137fc5549efcc1ec3b32c421bea286'
'ccb79775b81654e16fca18825c7f2506')
prepare() {
cd u-boot
patch -p1 -i "${srcdir}"/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch
rm -rf .git
cd u-boot-${pkgver}
patch -p1 -i ../alarm.patch
}
build() {
cd u-boot
cd u-boot-${pkgver}
unset CFLAGS
unset CXXFLAGS
@ -36,7 +35,7 @@ build() {
}
package() {
cd u-boot
cd u-boot-${pkgver}
mkdir -p "${pkgdir}"/boot
cp MLO u-boot.img "${srcdir}"/uEnv.txt "${pkgdir}"/boot
}

View file

@ -0,0 +1,161 @@
diff -urN a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
--- a/include/configs/am335x_evm.h 2014-07-14 11:16:45.000000000 -0600
+++ b/include/configs/am335x_evm.h 2014-08-10 18:40:55.817027322 -0600
@@ -17,6 +17,7 @@
#define __CONFIG_AM335X_EVM_H
#include <configs/ti_am335x_common.h>
+#define CONFIG_SUPPORT_RAW_INITRD
#ifndef CONFIG_SPL_BUILD
# define CONFIG_FIT
@@ -74,6 +75,8 @@
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
+#define CONFIG_IDENT_STRING " Arch Linux ARM"
+
#ifndef CONFIG_SPL_BUILD
#define CONFIG_EXTRA_ENV_SETTINGS \
DEFAULT_LINUX_BOOT_ENV \
@@ -81,15 +84,17 @@
"bootpart=0:2\0" \
"bootdir=/boot\0" \
"bootfile=zImage\0" \
+ "fdtdir=/boot/dtbs\0" \
"fdtfile=undefined\0" \
+ "rdfile=initramfs-linux.img\0" \
"console=ttyO0,115200n8\0" \
"partitions=" \
"uuid_disk=${uuid_gpt_disk};" \
"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \
"optargs=\0" \
"mmcdev=0\0" \
- "mmcroot=/dev/mmcblk0p2 ro\0" \
- "mmcrootfstype=ext4 rootwait\0" \
+ "mmcroot=/dev/mmcblk0p2\0" \
+ "mmcrootextra=rw fixrtc rootwait\0" \
"rootpath=/export/rootfs\0" \
"nfsopts=nolock\0" \
"static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}" \
@@ -98,8 +103,7 @@
"ramrootfstype=ext2\0" \
"mmcargs=setenv bootargs console=${console} " \
"${optargs} " \
- "root=${mmcroot} " \
- "rootfstype=${mmcrootfstype}\0" \
+ "root=${mmcroot} ${mmcrootextra}\0" \
"spiroot=/dev/mtdblock4 rw\0" \
"spirootfstype=jffs2\0" \
"spisrcaddr=0xe0000\0" \
@@ -122,37 +126,43 @@
"${optargs} " \
"root=${ramroot} " \
"rootfstype=${ramrootfstype}\0" \
- "loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz\0" \
+ "loadramdisk=load mmc ${bootpart} ${rdaddr} ${bootdir}/${rdfile}\0" \
"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
- "loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
- "mmcloados=run mmcargs; " \
- "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
- "if run loadfdt; then " \
- "bootz ${loadaddr} - ${fdtaddr}; " \
- "else " \
- "if test ${boot_fdt} = try; then " \
- "bootz; " \
- "else " \
- "echo WARN: Cannot load the DT; " \
- "fi; " \
- "fi; " \
- "else " \
- "bootz; " \
- "fi;\0" \
+ "loadfdt=load mmc ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}\0" \
"mmcboot=mmc dev ${mmcdev}; " \
"if mmc rescan; then " \
+ "gpio set 54;" \
"echo SD/MMC found on device ${mmcdev};" \
"if run loadbootenv; then " \
+ "gpio set 55;" \
"echo Loaded environment from ${bootenv};" \
"run importbootenv;" \
"fi;" \
+ "if test -n $cape; then " \
+ "if test -e mmc ${bootpart} ${fdtdir}/$fdtbase-$cape.dtb; then " \
+ "setenv fdtfile $fdtbase-$cape.dtb; " \
+ "fi; " \
+ "echo using: $fdtfile...; " \
+ "fi; " \
+ "echo Checking if uenvcmd is set ...;" \
"if test -n $uenvcmd; then " \
+ "gpio set 56; " \
"echo Running uenvcmd ...;" \
"run uenvcmd;" \
"fi;" \
"if run loadimage; then " \
- "run mmcloados;" \
+ "if run loadfdt; then " \
+ "run mmcargs;" \
+ "if run loadramdisk; then " \
+ "bootz ${loadaddr} ${rdaddr}:${filesize} ${fdtaddr};" \
+ "else " \
+ "bootz ${loadaddr} - ${fdtaddr};" \
+ "fi;" \
+ "else " \
+ "echo Kernel found, but no device tree found;" \
+ "fi;" \
"fi;" \
+ "echo No kernel found;"\
"fi;\0" \
"spiboot=echo Booting from spi ...; " \
"run spiargs; " \
@@ -169,28 +179,44 @@
"ramboot=echo Booting from ramdisk ...; " \
"run ramargs; " \
"bootz ${loadaddr} ${rdaddr} ${fdtaddr}\0" \
- "findfdt="\
+ "findfdt=" \
"if test $board_name = A335BONE; then " \
- "setenv fdtfile am335x-bone.dtb; fi; " \
+ "setenv fdtfile am335x-bone.dtb; setenv fdtbase am335x-bone; fi; " \
"if test $board_name = A335BNLT; then " \
- "setenv fdtfile am335x-boneblack.dtb; fi; " \
+ "setenv fdtfile am335x-boneblack.dtb; setenv fdtbase am335x-boneblack; fi; " \
"if test $board_name = A33515BB; then " \
"setenv fdtfile am335x-evm.dtb; fi; " \
"if test $board_name = A335X_SK; then " \
"setenv fdtfile am335x-evmsk.dtb; fi; " \
"if test $fdtfile = undefined; then " \
"echo WARNING: Could not determine device tree to use; fi; \0" \
+ "findmmc=" \
+ "if test $board_name = A335BNLT; then " \
+ "setenv mmc1 1;" \
+ "mmc dev 0;" \
+ "if mmc rescan; then " \
+ "setenv mmc0 1;" \
+ "else " \
+ "setenv mmc0 0;" \
+ "fi;" \
+ "fi;\0" \
NANDARGS \
DFUARGS
#endif
#define CONFIG_BOOTCOMMAND \
+ "gpio set 53; " \
+ "i2c mw 0x24 1 0x3e; " \
+ "run findmmc; " \
"run findfdt; " \
"run mmcboot;" \
+ "gpio clear 56; " \
+ "gpio clear 55; " \
+ "gpio clear 54; " \
"setenv mmcdev 1; " \
"setenv bootpart 1:2; " \
- "run mmcboot;" \
- "run nandboot;"
+ "if test $mmc0 = 1; then setenv mmcroot /dev/mmcblk1p2; fi; " \
+ "run mmcboot;"
/* NS16550 Configuration */
#define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */

View file

@ -1,7 +1 @@
uenvcmd=run findmmc1; run findmmc0; if run loaduimage; then run loadfdt; run mmcboot; fi;
findmmc1=if test $board_name = A335BNLT; then setenv mmc1 1; else setenv mmc1 0; fi
findmmc0=setenv mmcdev 0; mmc dev ${mmcdev}; if mmc rescan; then setenv mmc0 1; else setenv mmc0 0; fi
mmcroot=/dev/mmcblk0p2 rw
loadfdt=ext4load mmc ${mmcdev}:2 ${fdtaddr} /boot/dtbs/${fdtfile}
loaduimage=if ext4load mmc 0:2 ${loadaddr} /boot/zImage; then setenv mmcdev 0; else setenv mmcdev 1; if test $mmc0 = 1; then setenv mmcroot /dev/mmcblk1p2 rw; fi; ext4load mmc 1:2 ${loadaddr} /boot/zImage; fi
optargs=coherent_pool=1M

View file

@ -4,8 +4,8 @@
buildarch=4
pkgbase=uboot-sunxi
pkgname=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-iteaduino_plus_a10' 'uboot-iteaduino_plus_a20'
'uboot-hackberry' 'uboot-a20-olinuxino_micro' 'uboot-a13-olinuxino-micro'
pkgname=('uboot-cubieboard2' 'uboot-cubietruck' 'uboot-a10-iteaduino-plus' 'uboot-a20-iteaduino-plus'
'uboot-hackberry' 'uboot-a20-olinuxino-micro' 'uboot-a13-olinuxino-micro'
'uboot-a10s-olinuxino-micro' 'uboot-a10s-olinuxino-micro-lcd7')
pkgver=2014.04
pkgrel=9
@ -93,7 +93,7 @@ package_uboot-cubietruck() {
cp cubietruck.env "${pkgdir}"/boot/uEnv.txt
}
package_uboot-iteaduino_plus_a10() {
package_uboot-a10-iteaduino-plus() {
pkgdesc="U-Boot for Iteaduino Plus A10"
install=${pkgbase}.install
provides=('uboot-sunxi')
@ -106,7 +106,7 @@ package_uboot-iteaduino_plus_a10() {
cp iteaduino_plus_a10.env "${pkgdir}"/boot/uEnv.txt
}
package_uboot-iteaduino_plus_a20() {
package_uboot-a20-iteaduino-plus() {
pkgdesc="U-Boot for Iteaduino Plus A20"
install=${pkgbase}.install
provides=('uboot-sunxi')
@ -132,7 +132,7 @@ package_uboot-hackberry() {
cp hackberry.env "${pkgdir}"/boot/uEnv.txt
}
package_uboot-a20-olinuxino_micro() {
package_uboot-a20-olinuxino-micro() {
pkgdesc="U-Boot for A20 OLinuXino Micro"
install=${pkgbase}.install
provides=('uboot-sunxi')
@ -145,7 +145,7 @@ package_uboot-a20-olinuxino_micro() {
cp a20-olinuxino_micro.env "${pkgdir}"/boot/uEnv.txt
}
package_uboot-a13-olinuxinom() {
package_uboot-a13-olinuxino-micro() {
pkgdesc="U-Boot for A13 OLinuXino Micro"
install=${pkgbase}.install
provides=('uboot-sunxi')
@ -158,7 +158,7 @@ package_uboot-a13-olinuxinom() {
cp a13-olinuxinom.env "${pkgdir}"/boot/uEnv.txt
}
package_uboot-a10s-olinuxino-m() {
package_uboot-a10s-olinuxino-micro() {
pkgdesc="U-Boot for A10s OLinuXino Micro"
install=${pkgbase}.install
provides=('uboot-sunxi')
@ -172,7 +172,7 @@ package_uboot-a10s-olinuxino-m() {
}
package_uboot-a10s-olinuxino-m-lcd7() {
package_uboot-a10s-olinuxino-micro-lcd7() {
pkgdesc="U-Boot for A10s OLinuXino Micro with 7 inch LCD"
install=${pkgbase}.install
provides=('uboot-sunxi')

View file

@ -2,7 +2,7 @@
pkgname=couchpotato-git
_gitname=CouchPotatoServer
pkgver=3533.31daf49
pkgver=3613.e75a852
pkgrel=1
pkgdesc="Automatic Movie Downloading via NZBs & Torrent"
arch=('any')

View file

@ -6,7 +6,7 @@
# Contributor: Simon Perry <aur [at] sanxion [dot] net>
pkgname=dropbear
pkgver=2014.63
pkgver=2014.65
pkgrel=1
pkgdesc="Lightweight replacement for sshd"
arch=('i686' 'x86_64' 'armv6h')
@ -15,7 +15,7 @@ license=('MIT')
depends=('zlib')
source=(http://matt.ucc.asn.au/$pkgname/releases/$pkgname-$pkgver.tar.bz2
$pkgname.service)
sha256sums=('595992de432ba586a0e7e191bbb1ad587727678bb3e345b018c395b8c55b57ae'
sha256sums=('e20057aa7db0f9ea4efdcbfc6fc6b73a648b47b6ab6a01659472142b06f5f56c'
'1920dc2d9a1dd86b3137ae4348196f9b95142d6eee484ee536bc7dfed7f0def0')
build() {

View file

@ -5,10 +5,10 @@
# Contributor: Farhan Yousaf <farhany at xaviya dot com>
pkgname=netatalk
pkgver=3.1.3
pkgver=3.1.4
pkgrel=1
pkgdesc='A kernel-level implementation of AFP services'
arch=('i686' 'x86_64' 'armv6h')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url='http://netatalk.sourceforge.net'
license=('GPL')
depends=('avahi>=0.6' 'libldap' 'libgcrypt>=1.2.3' 'libevent' 'python2' 'dbus-glib' 'python2-dbus')
@ -19,7 +19,7 @@ install=$pkgname.install
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2
avahi-client.patch
python2.patch)
md5sums=('ac65dafa20d502a10438fec7e1116b1e'
md5sums=('b2efc1e1dec8fcdbfb5f61b8ca2b22ab'
'00379aacb88dcac8c1e0513da1a5f24c'
'97bc0467dd8a866d9f0835d6440e3c19')

View file

@ -1,67 +0,0 @@
include Makefile.include
CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST
LDFLAGS+=-L./ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -ldbus-1
INCLUDES+=-I./ -Ilinux
DIST ?= omxplayer-dist
SRC=linux/XMemUtils.cpp \
utils/log.cpp \
DynamicDll.cpp \
utils/PCMRemap.cpp \
utils/RegExp.cpp \
OMXSubtitleTagSami.cpp \
OMXOverlayCodecText.cpp \
BitstreamConverter.cpp \
linux/RBP.cpp \
OMXThread.cpp \
OMXReader.cpp \
OMXStreamInfo.cpp \
OMXAudioCodecOMX.cpp \
OMXCore.cpp \
OMXControl.cpp \
Keyboard.cpp \
OMXVideo.cpp \
OMXAudio.cpp \
OMXClock.cpp \
File.cpp \
OMXPlayerVideo.cpp \
OMXPlayerAudio.cpp \
OMXPlayerSubtitles.cpp \
SubtitleRenderer.cpp \
Unicode.cpp \
Srt.cpp \
KeyConfig.cpp \
omxplayer.cpp
OBJS+=$(filter %.o,$(SRC:.cpp=.o))
all: omxplayer.bin
%.o: %.cpp
@rm -f $@
$(CXX) $(CFLAGS) $(INCLUDES) -c $< -o $@ -Wno-deprecated-declarations
version:
sh gen_version.sh > version.h
omxplayer.bin: version $(OBJS)
$(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) -lvchiq_arm -lvcos -lrt -lpthread -lavutil -lavcodec -lavformat -lswscale -lswresample -lpcre
#arm-unknown-linux-gnueabi-strip omxplayer.bin
clean:
for i in $(OBJS); do (if test -e "$$i"; then ( rm $$i ); fi ); done
@rm -f omxplayer.old.log omxplayer.log
@rm -f omxplayer.bin
@rm -rf $(DIST)
@rm -f omxplayer-dist.tar.gz
install:
install -d $(DESTDIR)/usr/bin
install -d $(DESTDIR)/usr/share/doc/omxplayer
install omxplayer $(DESTDIR)/usr/bin/
install omxplayer.bin $(DESTDIR)/usr/bin/
install README.md COPYING $(DESTDIR)/usr/share/doc/omxplayer/

View file

@ -1,28 +0,0 @@
USE_BUILDROOT=0
JOBS=1
CFLAGS :=
CXXFLAGS := $(CFLAGS)
CPPFLAGS := $(CFLAGS)
LDFLAGS :=
LD := ld
CC := gcc
CXX := g++
OBJDUMP := objdump
RANLIB := ranlib
STRIP := strip
AR := ar
CXXCP := $(CXX) -E
CFLAGS += -pipe -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux \
-mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -mno-apcs-stack-check \
-O3 -mstructure-size-boundary=32 -mno-sched-prolog
LDFLAGS += -L/opt/vc/lib/ -Wl,-rpath /opt/vc/lib/
INCLUDES += -I/opt/vc/include -I/opt/vc/include/interface/vcos/ \
-I/opt/vc/include/interface/vcos/pthreads -I/usr/include/freetype2 \
-I/opt/vc/include/interface/vmcs_host/linux -I/usr/include/dbus-1.0 \
-I/usr/lib/dbus-1.0/include/

View file

@ -2,7 +2,7 @@
# Contributor: Gilrain <pierre.buard+aur gmail com>
# Contributor: bruenig
pkgname=packer
pkgver=20131001
pkgver=20140810
pkgrel=1
pkgdesc="Bash wrapper for pacman and aur"
url="http://github.com/keenerd/packer"
@ -12,7 +12,8 @@ makedepends=('git')
depends=('grep' 'sed' 'bash' 'curl' 'pacman' 'jshon' 'expac')
optdepends=('sudo: install and update packages as non-root'
'customizepkg: apply customizepkg modifications')
source=('git://github.com/keenerd/packer.git')
#source=('git://github.com/keenerd/packer.git')
source=('git+https://github.com/keenerd/packer.git')
md5sums=('SKIP')
pkgver() {

View file

@ -1,7 +1,7 @@
# Maintainer: bug <bug2000@gmail.com>
# Contributor: Lone_Wolf <lonewolf@xs4all.nl>
pkgname=pioneers
pkgver=15.1
pkgver=15.2
pkgrel=1
pkgdesc="A clone of the famous Siedler of Catan game"
arch=('i686' 'x86_64')
@ -10,10 +10,13 @@ license=('GPL2')
depends=('gtk2')
makedepends=('pkgconfig' 'intltool' 'librsvg')
source=(http://downloads.sourceforge.net/pio/$pkgname-$pkgver.tar.gz)
md5sums=('08a460cceb8aa6f426015873b88ec667')
md5sums=('c3b364e5d8d7e5172bcd2ced897daf06')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}

View file

@ -3,7 +3,7 @@
_pkgname=pithos
pkgname=$_pkgname-git
pkgver=397
pkgver=403
pkgrel=1
epoch=1
pkgdesc='Pandora Internet Radio player for GNOME'

View file

@ -4,7 +4,7 @@
# Contributor: Augusto Born de Oliveira <augustoborn at gmail dot com>
pkgname=sickbeard-git
pkgver=3814.a3bfb87
pkgver=3846.fe2abd7
pkgrel=1
pkgdesc="A PVR application that downloads and manages your TV shows"
arch=('any')

40
community/gnubg/PKGBUILD Normal file
View file

@ -0,0 +1,40 @@
# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Stefan Clarke <fm0nk3y@yahoo.co.uk>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - --enable-simd=no
pkgname=gnubg
pkgver=1.03.000
pkgrel=1
pkgdesc="A world class backgammon application"
arch=('i686' 'x86_64')
url="http://www.gnubg.org"
license=('GPL')
depends=('python2' 'gtkglext' 'hicolor-icon-theme')
install=$pkgname.install
source=($url/media/sources/$pkgname-release-$pkgver-sources.tar.gz
$pkgname.desktop)
md5sums=('8447449769e545240bfe4c98c4c26ac1'
'965f5c7c25f60b27d06cc6fef7befd30')
build() {
cd "$srcdir"/$pkgname-$pkgver
./autogen.sh
./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc \
--mandir=/usr/share/man --enable-simd=no
make
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir"/ install
install -Dm644 "$srcdir"/$pkgname.desktop \
"$pkgdir"/usr/share/applications/$pkgname.desktop
}

View file

@ -0,0 +1,19 @@
[Desktop Entry]
Name=GNU Backgammon
Name[hr]=GNU Tavla
Name[ru]=GNU Нарды
Name[sr]=ГНУ Тавла
GenericName=Backgammon
GenericName[hr]=Tavla
GenericName[ru]=Нарды
GenericName[sr]=Тавла
Comment=GNU Backgammon
Comment[hr]=GNU Tavla
Comment[ru]=GNU Короткие нарды
Comment[sr]=GNU Тавла
Exec=gnubg
Icon=gnubg
StartupNotify=true
Terminal=false
Type=Application
Categories=GTK;Game;StrategyGame;

View file

@ -0,0 +1,11 @@
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View file

@ -1,74 +0,0 @@
From 5d77ba2d26110c678b40fd723866a17d4036de12 Mon Sep 17 00:00:00 2001
From: Lucas De Marchi <lucas.demarchi@intel.com>
Date: Tue, 18 Feb 2014 02:19:26 -0300
Subject: [PATCH 1/6] Bluetooth: allocate static minor for vhci
Commit bfacbb9 (Bluetooth: Use devname:vhci module alias for virtual HCI
driver) added the module alias to hci_vhci module so it's possible to
create the /dev/vhci node. However creating an alias without
specifying the minor doesn't allow us to create the node ahead,
triggerring module auto-load when it's first accessed.
Starting with depmod from kmod 16 we started to warn if there's a
devname alias without specifying the major and minor.
Let's do the same done for uhid, kvm, fuse and others, specifying a
fixed minor. In systems with systemd as the init the following will
happen: on early boot systemd will call "kmod static-nodes" to read
/lib/modules/$(uname -r)/modules.devname and then create the nodes. When
first accessed these "dead" nodes will trigger the module loading.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
---
Documentation/devices.txt | 1 +
drivers/bluetooth/hci_vhci.c | 3 ++-
include/linux/miscdevice.h | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devices.txt b/Documentation/devices.txt
index 10378cc..04356f5 100644
--- a/Documentation/devices.txt
+++ b/Documentation/devices.txt
@@ -353,6 +353,7 @@ Your cooperation is appreciated.
133 = /dev/exttrp External device trap
134 = /dev/apm_bios Advanced Power Management BIOS
135 = /dev/rtc Real Time Clock
+ 137 = /dev/vhci Bluetooth virtual HCI driver
139 = /dev/openprom SPARC OpenBoot PROM
140 = /dev/relay8 Berkshire Products Octal relay card
141 = /dev/relay16 Berkshire Products ISO-16 relay card
diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c
index 1ef6990..add1c6a 100644
--- a/drivers/bluetooth/hci_vhci.c
+++ b/drivers/bluetooth/hci_vhci.c
@@ -359,7 +359,7 @@ static const struct file_operations vhci_fops = {
static struct miscdevice vhci_miscdev= {
.name = "vhci",
.fops = &vhci_fops,
- .minor = MISC_DYNAMIC_MINOR,
+ .minor = VHCI_MINOR,
};
static int __init vhci_init(void)
@@ -385,3 +385,4 @@ MODULE_DESCRIPTION("Bluetooth virtual HCI driver ver " VERSION);
MODULE_VERSION(VERSION);
MODULE_LICENSE("GPL");
MODULE_ALIAS("devname:vhci");
+MODULE_ALIAS_MISCDEV(VHCI_MINOR);
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index 3737f72..7bb6148 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -23,6 +23,7 @@
#define TEMP_MINOR 131 /* Temperature Sensor */
#define RTC_MINOR 135
#define EFI_RTC_MINOR 136 /* EFI Time services */
+#define VHCI_MINOR 137
#define SUN_OPENPROM_MINOR 139
#define DMAPI_MINOR 140 /* DMAPI */
#define NVRAM_MINOR 144
--
1.9.1

View file

@ -4,39 +4,35 @@
buildarch=4
pkgbase=linux-am33x
_srcname=linux-3.14
_srcname=linux-3.16
_kernelname=${pkgbase#linux}
_desc="TI AM335x Beaglebone (Black)"
pkgver=3.14.4
pkgver=3.16.0
pkgrel=1
rcnrel=bone4
rcnrel=bone2
arch=('armv7h')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git')
options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
"http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
#"http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
"http://rcn-ee.net/deb/sid-armhf/v${pkgver}-${rcnrel}/patch-${pkgver%.0}-${rcnrel}.diff.gz"
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}"
'0001-Bluetooth-allocate-static-minor-for-vhci.patch'
'config')
md5sums=('b621207b3f6ecbb67db18b13258f8ea8'
'116f27cf17c3522716b6678b17516067'
'ea7ff785da31668415160dcaa42e02a7'
md5sums=('5c569ed649a0c9711879f333e90c5386'
'ae9e30fc8656eb699170506a70199f86'
'SKIP'
'1b276abe16d14e133f3f28d9c9e6bd68'
'b24944272e50e4756ada1a01b6856abb')
'778c88451f5e6046f13fdc0673f6c692')
prepare() {
cd "${srcdir}/${_srcname}"
# add upstream patch
patch -p1 -i "${srcdir}/patch-${pkgver}"
#patch -p1 -i "${srcdir}/patch-${pkgver}"
# ALARM patches
git apply "${srcdir}/patch-${pkgver%.0}-${rcnrel}.diff"
patch -p1 -i ../0001-Bluetooth-allocate-static-minor-for-vhci.patch
# AUFS patches
cp -ru "${srcdir}/aufs3-standalone/Documentation" .

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=-am33x
KERNEL_VERSION=3.12.0-6-ARCH
KERNEL_VERSION=3.16.0-1-ARCH
post_install () {
# updating module dependencies

View file

@ -8,8 +8,8 @@ _srcname=linux-3.16
_kernelname=${pkgbase#linux}
_desc="ARMv7 multi-platform"
pkgver=3.16.0
pkgrel=1
rcnrel=armv7-x2
pkgrel=2
rcnrel=armv7-x4
arch=('armv7h')
url="http://www.kernel.org/"
license=('GPL2')
@ -18,21 +18,21 @@ options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
#"http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
"http://rcn-ee.net/deb/sid-armhf/v${pkgver}-${rcnrel}/patch-${pkgver%.0}-${rcnrel}.diff.gz"
#"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}"
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs3.x-rcN"
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}"
#"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs3.x-rcN"
'0001-atags-add-support-for-marvell-uboot.patch'
'0002-atags-retrieve-mac-addresses.patch'
'0003-smileplug-devicetree.patch'
'0004-emmc-timing-fix.patch'
'config')
md5sums=('5c569ed649a0c9711879f333e90c5386'
'f04e8f08bd4ec807b8ea824d32b96a4f'
'fb09ddce4b5c81b9aa3c35adeba416cf'
'SKIP'
'3ad860d0d6daedc82091ea29c9730b95'
'02cce6b8f88c4392f552b14d0bf2e71c'
'0a0c5691aea2503cd0c503cb50244f48'
'911bffe9c261ca5b91dd0a083d99e81f'
'f885198b06f4866a3f7b885ffb83b5c0')
'60b3d6a34b658bfa945fec55ba689240')
prepare() {
cd "${srcdir}/${_srcname}"

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.16.0-1 Kernel Configuration
# Linux/arm 3.16.0-2 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_ARM_HAS_SG_CHAIN=y
@ -1595,7 +1595,7 @@ CONFIG_DMA_CMA=y
#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=16
CONFIG_CMA_SIZE_MBYTES=32
CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set

View file

@ -7,8 +7,8 @@ pkgbase=linux-mmp
_srcname=linux-3.10
_kernelname=${pkgbase#linux}
_desc="Marvell PXA168/MMP platforms"
pkgver=3.10.51
pkgrel=2
pkgver=3.10.52
pkgrel=1
arch=('armv7h')
url="https://github.com/Marvell-Semi/PXA168_kernel/tree/gplugd-dev"
license=('GPL2')
@ -17,12 +17,12 @@ options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
"http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver%.*}.x"
'http://archlinuxarm.org/builder/src/gplugd.patch.xz'
'http://archlinuxarm.org/builder/src/0001-Guruplug-Display-support.patch'
'config')
md5sums=('4f25cd5bec5f8d5a7d935b3f2ccb8481'
'3c83eb32b21aad9a9983a3758d27dd1a'
'db676e44be72d7a65c52c52499198be4'
'SKIP'
'e5d2d65404b0ad9e6596b2e22365dfdc'
'ed93929850ca95cac672459da37e57c5'
'9597a50acddabe1bd309189a74aa5217')
prepare() {
@ -43,7 +43,7 @@ prepare() {
patch -Np1 -i ../aufs3-standalone/aufs3-standalone.patch
# gplugd patch
patch -p1 -i ../gplugd.patch
patch -p1 -i ../0001-Guruplug-Display-support.patch
cat "${srcdir}/config" > ./.config