Browse Source
Maintaining this large an amount of satellites is hard. Moved most of them to the graveyard until I need them again, in which case I'll just move them back.master
mid-kid
8 years ago
52 changed files with 196 additions and 85 deletions
@ -1,29 +1,34 @@ |
|||||
name=astronaut |
name=astronaut |
||||
version=$(date +%Y%m%d) |
version=$(date +%Y%m%d) |
||||
|
|
||||
extrafile "astronaut" |
define_option '!helpers: Enable installation of helper scripts' |
||||
|
define_option '!xbps: Enable installation of the xbps-astronaut wrapper' |
||||
|
define_option '!pacman: Enable installation of the pacman-astronaut wrapper' |
||||
|
define_option '!pkgtools: Enable installation of the astronautpkg wrapper' |
||||
|
|
||||
|
extrafile 'astronaut' |
||||
|
|
||||
if option helpers; then |
if option helpers; then |
||||
extrafile "astrohelp" |
extrafile 'astrohelp' |
||||
extrafile "freshnaut" |
extrafile 'freshnaut' |
||||
fi |
fi |
||||
|
|
||||
option xbps extrafile "xbps-astronaut" |
option xbps extrafile 'xbps-astronaut' |
||||
option pacman extrafile "pacman-astronaut" |
option pacman extrafile 'pacman-astronaut' |
||||
option pkgtools extrafile "astronautpkg" |
option pkgtools extrafile 'astronautpkg' |
||||
header_end |
header_end |
||||
|
|
||||
install -D "astronaut" "$dir_install/$dir_prefix/bin/astronaut" |
install -D 'astronaut' "$dir_install/$dir_prefix/bin/astronaut" |
||||
|
|
||||
# Optional helper tools |
# Optional helper tools |
||||
if option helpers; then |
if option helpers; then |
||||
install -D "astrohelp" "$dir_install/$dir_prefix/bin/astrohelp" |
install -D 'astrohelp' "$dir_install/$dir_prefix/bin/astrohelp" |
||||
install -D "freshnaut" "$dir_install/$dir_prefix/bin/freshnaut" |
install -D 'freshnaut' "$dir_install/$dir_prefix/bin/freshnaut" |
||||
fi |
fi |
||||
|
|
||||
# Wrappers for specific package managers |
# Wrappers for specific package managers |
||||
option xbps install -D "xbps-astronaut" "$dir_install/$dir_prefix/bin/xbps-astronaut" |
option xbps install -D 'xbps-astronaut' "$dir_install/$dir_prefix/bin/xbps-astronaut" |
||||
option pacman install -D "pacman-astronaut" "$dir_install/$dir_prefix/bin/pacman-astronaut" |
option pacman install -D 'pacman-astronaut' "$dir_install/$dir_prefix/bin/pacman-astronaut" |
||||
option pkgtools install -D "astronautpkg" "$dir_install/$dir_prefix/bin/astronautpkg" |
option pkgtools install -D 'astronautpkg' "$dir_install/$dir_prefix/bin/astronautpkg" |
||||
|
|
||||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
||||
|
@ -1,11 +1,11 @@ |
|||||
import "compile/configure" |
import 'compile/configure' |
||||
|
|
||||
name=Heimdall |
name=Heimdall |
||||
version=1.4.1 |
version=1.4.1 |
||||
update_url="https://github.com/Benjamin-Dobell/$name/releases" |
update_url="https://github.com/Benjamin-Dobell/$name/releases" |
||||
|
|
||||
dlextract "https://github.com/Benjamin-Dobell/$name/archive/v$version.tar.gz" \ |
dlextract "https://github.com/Benjamin-Dobell/$name/archive/v$version.tar.gz" \ |
||||
"22c911e9042f5ed8fd90cbeeb9589015" |
'22c911e9042f5ed8fd90cbeeb9589015' |
||||
header_end |
header_end |
||||
|
|
||||
cd "$name-$version/libpit" |
cd "$name-$version/libpit" |
@ -1,11 +1,11 @@ |
|||||
import "compile/cmake" |
import 'compile/cmake' |
||||
|
|
||||
name=include-what-you-use |
name=include-what-you-use |
||||
version=0.6 |
version=0.6 |
||||
update_url="http://include-what-you-use.org/downloads/" |
update_url="http://include-what-you-use.org/downloads/" |
||||
|
|
||||
dlextract "http://include-what-you-use.org/downloads/$name-$version.src.tar.gz" \ |
dlextract "http://include-what-you-use.org/downloads/$name-$version.src.tar.gz" \ |
||||
"e4dffc7c2396f0e3f2b7499c077325b5" |
'e4dffc7c2396f0e3f2b7499c077325b5' |
||||
header_end |
header_end |
||||
|
|
||||
cd "$name" |
cd "$name" |
@ -1,20 +1,18 @@ |
|||||
import "compile/configure" |
import 'compile/configure' |
||||
|
|
||||
# TODO: Can't get 1.21 to install properly |
|
||||
|
|
||||
name=fakeroot |
name=fakeroot |
||||
#version=1.21 |
version=1.21 |
||||
version=1.20.2 |
|
||||
update_url="http://http.debian.net/debian/pool/main/f/$name/" |
update_url="http://http.debian.net/debian/pool/main/f/$name/" |
||||
|
|
||||
#dlextract "http://http.debian.net/debian/pool/main/f/$name/${name}_$version.orig.tar.gz" \ |
dlextract "http://http.debian.net/debian/pool/main/f/$name/${name}_$version.orig.tar.gz" \ |
||||
#"be5c9a0e516869fca4a6758105968e5a" |
'be5c9a0e516869fca4a6758105968e5a' |
||||
dlextract "http://http.debian.net/debian/pool/main/f/$name/${name}_$version.orig.tar.bz2" \ |
|
||||
"a4b4564a75024aa96c86e4d1017ac786" |
|
||||
header_end |
header_end |
||||
|
|
||||
cd "$name-$version" |
cd "$name-$version/doc" |
||||
#./bootstrap |
po4a -k 0 --rm-backups --variable 'srcdir=../doc/' po4a/po4a.cfg |
||||
|
cd .. |
||||
|
|
||||
|
./bootstrap |
||||
compile_configure --disable-static |
compile_configure --disable-static |
||||
|
|
||||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
||||
|
@ -0,0 +1,15 @@ |
|||||
|
compile_qt5source() { |
||||
|
./configure -v -confirm-license -opensource \ |
||||
|
-prefix "/$dir_prefix" \ |
||||
|
-libdir "/$dir_prefix/$dir_libdir" \ |
||||
|
-headerdir "/$dir_prefix/include/qt5" \ |
||||
|
-sysconfdir "/$dir_sysconfdir/xdg" \ |
||||
|
-datadir "/$dir_prefix/$dir_datadir/qt5" \ |
||||
|
-bindir "/$dir_prefix/$dir_libdir/qt5/bin" \ |
||||
|
-archdatadir "/$dir_prefix/$dir_libdir/qt5" \ |
||||
|
-docdir "/$dir_prefix/$dir_docdir/qt5" \ |
||||
|
-examplesdir "/$dir_prefix/$dir_docdir/qt5/examples" \ |
||||
|
$@ |
||||
|
make |
||||
|
make INSTALL_ROOT="$dir_install" install |
||||
|
} |
@ -0,0 +1,14 @@ |
|||||
|
import 'compile/configure' |
||||
|
|
||||
|
name=libxkbcommon |
||||
|
version=0.6.1 |
||||
|
update_url='http://xkbcommon.org/' |
||||
|
|
||||
|
dlextract "http://xkbcommon.org/download/$name-$version.tar.xz" \ |
||||
|
'67a8f322b5fa32352272e811bb90dd73' |
||||
|
header_end |
||||
|
|
||||
|
cd "$name-$version" |
||||
|
compile_configure --disable-static |
||||
|
|
||||
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,42 @@ |
|||||
|
import 'compile/qt5source' |
||||
|
|
||||
|
name=qt5 |
||||
|
majver=5.7 |
||||
|
version=$majver.0 |
||||
|
|
||||
|
optional_libraries='libpng libjpeg doubleconversion freetype harfbuzz' |
||||
|
for opt in $optional_libraries; do |
||||
|
define_option "$opt: Enable support for $opt." |
||||
|
done |
||||
|
|
||||
|
dlextract "http://download.qt.io/official_releases/qt/$majver/$version/submodules/qtbase-opensource-src-$version.tar.xz" \ |
||||
|
'184f9460b40752d71b15b827260580c2' |
||||
|
header_end |
||||
|
|
||||
|
cd "qtbase-opensource-src-$version" |
||||
|
|
||||
|
# Build using custom CFLAGS, CXXFLAGS and LDFLAGS (Shamelessly stolen from ArchLinux) |
||||
|
sed -i -e "s/^\(QMAKE_CFLAGS_RELEASE.*\)/\1 $(safe_sed "$CFLAGS")/" mkspecs/common/gcc-base.conf |
||||
|
sed -i -e "s/^\(QMAKE_CXXFLAGS_RELEASE.*\)/\1 $(safe_sed "$CXXFLAGS")/" mkspecs/common/gcc-base.conf |
||||
|
sed -i -e "s/^\(QMAKE_LFLAGS_RELEASE.*\)/\1 $(safe_sed "$LDFLAGS")/" mkspecs/common/g++-unix.conf |
||||
|
|
||||
|
optional="" |
||||
|
for opt in $optional_libraries; do |
||||
|
option $opt && optional="$optional -system-$opt" || optional="$optional -no-$opt" |
||||
|
done |
||||
|
|
||||
|
echo "$optional" |
||||
|
|
||||
|
# Make sure all the possible libraries are linked from the OS, as Qt might use it's own if they aren't available. |
||||
|
compile_qt5source \ |
||||
|
-system-sqlite \ |
||||
|
-system-zlib \ |
||||
|
-system-pcre \ |
||||
|
-system-xcb \ |
||||
|
-system-xkbcommon-x11 \ |
||||
|
-openssl-linked \ |
||||
|
-dbus-linked \ |
||||
|
-nomake examples \ |
||||
|
$optional |
||||
|
|
||||
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -1 +0,0 @@ |
|||||
../functions |
|
@ -1,14 +1,15 @@ |
|||||
import "compile/configure" |
import 'compile/configure' |
||||
|
|
||||
name=volumeicon |
name=volumeicon |
||||
version=0.5.1 |
version=0.5.1 |
||||
update_url="http://softwarebakery.com/maato/$name.html" |
update_url="http://nullwise.com/$name.html" |
||||
|
|
||||
dlextract "http://softwarebakery.com/maato/files/$name/$name-$version.tar.gz" \ |
dlextract "http://nullwise.com/files/$name/$name-$version.tar.gz" \ |
||||
"48230f3a1843fa4cc4ec97d0da35c3f5" |
'48230f3a1843fa4cc4ec97d0da35c3f5' |
||||
header_end |
header_end |
||||
|
|
||||
cd "$name-$version" |
cd "$name-$version" |
||||
|
sed -i -e 's/-DCOMPILEWITH_NOTIFY/ &/' ./configure |
||||
compile_configure --enable-notify |
compile_configure --enable-notify |
||||
|
|
||||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
||||
|
Loading…
Reference in new issue