mid-kid
8 years ago
25 changed files with 208 additions and 40 deletions
@ -0,0 +1,14 @@ |
|||
import 'compile/configure' |
|||
|
|||
name=cabextract |
|||
version=1.6 |
|||
update_url='http://cabextract.org.uk/' |
|||
|
|||
dlextract "http://cabextract.org.uk/$name-$version.tar.gz" \ |
|||
'ee3ded0b1f84e5c6e3309bb36d701916' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
compile_configure |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -1,8 +1,7 @@ |
|||
[Desktop Entry] |
|||
Type=Application |
|||
Name=Jstest |
|||
Comment=Joystick Configuration |
|||
Exec=jstest-gtk |
|||
Icon=jstest-gtk |
|||
Terminal=false |
|||
Type=Application |
|||
Categories=GTK;System; |
|||
|
@ -1,8 +1,7 @@ |
|||
[Desktop Entry] |
|||
Type=Application |
|||
Name=NXEngine (Cave Story) |
|||
Comment=A clone/engine-rewrite of the classic jump-and-run platformer Cave Story/Doukutsu Monogatari |
|||
Exec=nxengine |
|||
Icon=nxengine |
|||
Terminal=false |
|||
Type=Application |
|||
Categories=Game;AdventureGame; |
|||
|
@ -0,0 +1,7 @@ |
|||
[Desktop Entry] |
|||
Name=Syncthing (Browser) |
|||
Comment=A free, open-source peer-to-peer file synchronization application. |
|||
Exec=syncthing -browser-only |
|||
Icon=syncthing |
|||
Type=Application |
|||
Categories=Network;FileTransfer;P2P; |
@ -1,8 +1,7 @@ |
|||
[Desktop Entry] |
|||
Type=Application |
|||
Name=Teeworlds |
|||
Comment=A retro multiplayer shooter |
|||
Exec=teeworlds |
|||
Icon=teeworlds |
|||
Terminal=false |
|||
Type=Application |
|||
Categories=Game;ArcadeGame; |
|||
|
@ -0,0 +1,7 @@ |
|||
[Desktop Entry] |
|||
Name= |
|||
Comment= |
|||
Exec= |
|||
Icon= |
|||
Type=Application |
|||
Categories= # https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html#category-registry |
@ -0,0 +1,15 @@ |
|||
import 'compile/configure' |
|||
|
|||
name=fluidsynth |
|||
version=1.1.6 |
|||
update_url="https://sourceforge.net/projects/$name/files/" |
|||
update_names="/files/$name-$version/" |
|||
|
|||
dlextract "https://sourceforge.net/projects/$name/files/$name-$version/$name-$version.tar.bz2" \ |
|||
'f6e696690e989098f70641364fdffad7' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
compile_configure -- --disable-static |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -1,15 +0,0 @@ |
|||
download_git() { |
|||
local reponame="$(basename "$1")" |
|||
local dir="$dir_source/$name/$reponame-$2" |
|||
|
|||
if [ ! -d "$dir" ]; then |
|||
rm -rf "$dir" |
|||
git clone --recursive --depth=1 -b "v$2" "$1" "$dir" |
|||
else |
|||
cd "$dir" |
|||
git checkout "tags/v$2" |
|||
cd "$OLDPWD" |
|||
fi |
|||
|
|||
getfile "$reponame-$2" |
|||
} |
@ -0,0 +1,52 @@ |
|||
name=go |
|||
version=1.7.1 |
|||
bootstrap_version=1.4.3 |
|||
update_url='https://golang.org/dl/' |
|||
|
|||
define_option '!bootstrap: Build for the first time' |
|||
|
|||
dlextract "https://storage.googleapis.com/golang/$name$version.src.tar.gz" \ |
|||
'433e2158e5c28fe24b11622df393cc46' |
|||
|
|||
if option bootstrap; then |
|||
download "https://storage.googleapis.com/golang/$name$bootstrap_version.src.tar.gz" \ |
|||
'dfb604511115dd402a77a553a5923a04' |
|||
fi |
|||
header_end |
|||
|
|||
if option bootstrap; then |
|||
mkdir bootstrap; cd bootstrap |
|||
extract "$name$bootstrap_version.src.tar.gz" |
|||
|
|||
cd "$name/src" |
|||
CGO_ENABLED=0 ./make.bash |
|||
|
|||
cd .. |
|||
GOROOT_BOOTSTRAP="$PWD" |
|||
cd ../.. |
|||
else |
|||
GOROOT_BOOTSTRAP="$dir_sysroot/$dir_prefix/$dir_libdir/$name" |
|||
fi |
|||
|
|||
cd "$name/src" |
|||
GOROOT_BOOTSTRAP="$GOROOT_BOOTSTRAP" \ |
|||
GOROOT_FINAL="$dir_sysroot/$dir_prefix/$dir_libdir/$name" \ |
|||
./make.bash |
|||
cd .. |
|||
|
|||
rm -rf pkg/bootstrap pkg/obj |
|||
|
|||
mkdir -p "$dir_install/$dir_prefix/$dir_libdir/$name" |
|||
cp -at "$dir_install/$dir_prefix/$dir_libdir/$name" bin pkg src |
|||
|
|||
# Create symlinks |
|||
mkdir -p "$dir_install/$dir_prefix/$dir_bindir" |
|||
for x in bin/*; do |
|||
ln -s "$dir_sysroot/$dir_prefix/$dir_libdir/$name/$x" "$dir_install/$dir_prefix/$dir_bindir/$(basename "$x")" |
|||
done |
|||
|
|||
# Set global GOPATH for external libraries |
|||
echo "export GOPATH=\"$dir_sysroot/$dir_prefix/$dir_libdir/$name/site\"" > go.sh |
|||
install -Dm755 -t "$dir_install/$dir_sysconfdir/profile.d" go.sh |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,14 @@ |
|||
import 'compile/python' |
|||
|
|||
name=docutils |
|||
version=0.12 |
|||
update_url="https://pypi.python.org/pypi/$name" |
|||
|
|||
dlextract "https://pypi.python.org/packages/37/38/ceda70135b9144d84884ae2fc5886c6baac4edea39550f28bcd144c1234d/$name-$version.tar.gz" \ |
|||
'4622263b62c5c771c03502afa3157768' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
compile_python 3 |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,13 @@ |
|||
import 'vcs/git' |
|||
import 'compile/qt' |
|||
|
|||
name=qt5 |
|||
submodule=styleplugins |
|||
|
|||
vcs_git "https://code.qt.io/qt/qt$submodule" |
|||
header_end |
|||
|
|||
cd "qt$submodule" |
|||
compile_qt 5 |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,31 @@ |
|||
name=syncthing |
|||
version=0.14.6 |
|||
update_url='https://syncthing.net/' |
|||
|
|||
dlextract "https://github.com/$name/$name/releases/download/v$version/$name-source-v$version.tar.gz" \ |
|||
'ddff17f926e333e615d08c8d31050730' |
|||
extrafile 'syncthing-browser.desktop' |
|||
header_end |
|||
|
|||
mkdir -p "src/github.com/$name/" |
|||
mv "$name" "src/github.com/$name" |
|||
cd "src/github.com/$name/$name" |
|||
|
|||
GOPATH="$PWD/../../../../:$GOPATH" go run build.go -no-upgrade |
|||
|
|||
rm -f bin/testutil |
|||
|
|||
# Install program |
|||
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" bin/* |
|||
|
|||
# Install manpages |
|||
for num in 1 5 7; do |
|||
for file in man/*.$num; do |
|||
install -Dm644 -t "$dir_install/$dir_prefix/$dir_mandir/man$num" "$file" |
|||
done |
|||
done |
|||
|
|||
# Install desktop |
|||
install -Dm644 -t "$dir_install/$dir_prefix/$dir_datadir/applications" ../../../../syncthing-browser.desktop |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,24 @@ |
|||
import 'compile/configure' |
|||
|
|||
name=wine |
|||
majver=1.9 |
|||
version=$majver.19 |
|||
update_url='https://www.winehq.org/' |
|||
update_names="/announce/$version\"" |
|||
|
|||
define_option 'wine32=: On x86_64, enable 32bit wine support. Specify the 32bit libdir here.' |
|||
|
|||
dlextract "http://dl.winehq.org/$name/source/$majver/$name-$version.tar.bz2" \ |
|||
'd9d3794d7394b9a22f7514d63f3a95f1' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
|
|||
compile_configure -b ../build -- $([ "$(uname -m)" = 'x86_64' ] && echo --enable-win64) |
|||
|
|||
wine32="$(option =wine32)" |
|||
if [ "$wine32" ]; then |
|||
PKG_CONFIG_PATH="$dir_sysroot/$dir_prefix/$wine32/pkgconfig" compile_configure -b ../build-wine32 -- --with-wine64=../build --libdir="/$dir_prefix/$wine32" |
|||
fi |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
Loading…
Reference in new issue