remove rust
This commit is contained in:
1 parent
1aa5cb1251
commit
a2ad13e9c0
4 files changed
+25
-121
No files matched your search
@@ -1,66 +0,0 @@
|
||||
profile = "dist"
|
||||
|
||||
# see src/bootstrap/src/utils/change_tracker.rs
|
||||
change-id = 131075
|
||||
|
||||
[llvm]
|
||||
# by default, rust will build for a myriad of architectures
|
||||
targets = "X86"
|
||||
|
||||
# When using system llvm prefer shared libraries
|
||||
link-shared = true
|
||||
|
||||
[build]
|
||||
# omit docs to save time and space (default is to build them)
|
||||
docs = false
|
||||
|
||||
# install extended tools: cargo, clippy, etc
|
||||
extended = true
|
||||
|
||||
# Do not query new versions of dependencies online.
|
||||
locked-deps = true
|
||||
|
||||
# Specify which extended tools (those from the default install).
|
||||
tools = ["cargo", "clippy", "rustdoc", "rustfmt"]
|
||||
|
||||
# Use the source code shipped in the tarball for the dependencies.
|
||||
# The combination of this and the "locked-deps" entry avoids downloading
|
||||
# many crates from Internet, and makes the Rustc build more stable.
|
||||
vendor = true
|
||||
|
||||
[install]
|
||||
prefix = "/usr"
|
||||
docdir = "share/doc/rustc-@version@"
|
||||
|
||||
[rust]
|
||||
codegen-units-std = 1
|
||||
debuginfo-level = 1
|
||||
debuginfo-level-std = 2
|
||||
channel = "stable"
|
||||
description = ""
|
||||
rpath = false
|
||||
frame-pointers = true
|
||||
lld = false
|
||||
use-lld = "external"
|
||||
llvm-bitcode-linker = false
|
||||
deny-warnings = false
|
||||
backtrace-on-ice = true
|
||||
remap-debuginfo = false
|
||||
jemalloc = true
|
||||
|
||||
# BLFS used to not install the FileCheck executable from llvm,
|
||||
# so disabled codegen tests. The assembly tests rely on FileCheck
|
||||
# and cannot easily be disabled, so those will anyway fail if
|
||||
# FileCheck has not been installed.
|
||||
codegen-tests = false
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
# NB the output of llvm-config (i.e. help options) may be
|
||||
# dumped to the screen when config.toml is parsed.
|
||||
llvm-config = "/usr/bin/llvm-config"
|
||||
|
||||
[target.i686-unknown-linux-gnu]
|
||||
# NB the output of llvm-config (i.e. help options) may be
|
||||
# dumped to the screen when config.toml is parsed.
|
||||
llvm-config = "/usr/bin/llvm-config"
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
name='rust'
|
||||
release='7'
|
||||
version='1.84.0'
|
||||
url='https://www.rust-lang.org'
|
||||
description='Systems programming language from Mozilla'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://static.rust-lang.org/dist/rustc-$version-src.tar.xz"
|
||||
'config.toml')
|
||||
depends=(curl gcc libssh llvm)
|
||||
makedepends=(cmake ninja perl python lld)
|
||||
sha256sums=('bc2c1639f26814c7b17a323992f1e08c3b01fe88cdff9a27d951987d886e00b3'
|
||||
'SKIP')
|
||||
group=(dev.lang)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
# disable strip
|
||||
dontstrip=1
|
||||
|
||||
cd rustc-$version-src
|
||||
|
||||
setup () {
|
||||
install ../config.toml ./config.toml
|
||||
sed -i "s/@verison@/"$version"/g" ./config.toml
|
||||
}
|
||||
|
||||
build () {
|
||||
python3 ./x.py build -j `nproc`
|
||||
}
|
||||
|
||||
package () {
|
||||
python3 ./x.py install -j `nproc`
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='gobject-introspection'
|
||||
release='4'
|
||||
version='1.82.0'
|
||||
release='5'
|
||||
version='1.84.0'
|
||||
url='https://gitlab.gnome.org/GNOME/gobject-introspection.git/'
|
||||
description='Introspection system for GObject-based libraries '
|
||||
email='bayramk@gmail.com'
|
||||
@@ -10,7 +10,7 @@ license=('GPLv3')
|
||||
source=("https://gitlab.gnome.org/GNOME/gobject-introspection/-/archive/${version}/gobject-introspection-${version}.tar.gz")
|
||||
depends=(glib)
|
||||
makedepends=()
|
||||
sha256sums=('82c2372520d9ec58f0361efddb2ef9ce4026618b7389e99ba73f8a4e683ed361')
|
||||
sha256sums=('8ff69ea72bea4f42d2daab1d0cf2dc5810b58387583f403f796f661af2b15a7b')
|
||||
group=(dev.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
+22
-16
@@ -1,42 +1,48 @@
|
||||
#!/usr/bin/env bash
|
||||
name='librsvg'
|
||||
release='4'
|
||||
version='2.59.2'
|
||||
release='5'
|
||||
version='2.40.20'
|
||||
url='https://github.com/oaken-source/librsvg-og'
|
||||
description='Scalable Vector Graphics (SVG) rendering library '
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
#source=("https://github.com/oaken-source/librsvg-og/archive/refs/tags/$version.tar.gz")
|
||||
source=("https://download.gnome.org/sources/librsvg/${version%.*}/librsvg-${version}.tar.xz")
|
||||
source=("https://github.com/oaken-source/librsvg-og/archive/refs/tags/$version.tar.gz")
|
||||
#source=("https://download.gnome.org/sources/librsvg/${version%.*}/librsvg-${version}.tar.xz")
|
||||
depends=(libcroco gobject-introspection pango cairo fontconfig libX11 libXext libXrender libxcb gdk-pixbuf)
|
||||
makedepends=(rust cargo-c vala)
|
||||
sha256sums=('ecd293fb0cc338c170171bbc7bcfbea6725d041c95f31385dc935409933e4597')
|
||||
makedepends=(vala)
|
||||
sha256sums=('5bcbd8aa34a81478f990dc62a308ee2a42ff89a4e2bc905c09fd68f525bf5643')
|
||||
group=(gnome.base)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
#cd $name-$version
|
||||
cd $name-og-$version
|
||||
|
||||
prepare(){
|
||||
# convert CRFL files to normal files
|
||||
find -type f -exec sed -i "s/\r$//g" {} \;
|
||||
}
|
||||
export CFLAGS="-Wno-incompatible-pointer-types"
|
||||
|
||||
setup(){
|
||||
meson setup build \
|
||||
--prefix=/usr \
|
||||
-Ddocs=disabled \
|
||||
-Dintrospection=enabled \
|
||||
-Dpixbuf=enabled\
|
||||
-Dpixbuf-loader=enabled \
|
||||
-Dvala=enabled
|
||||
# meson setup build \
|
||||
# --prefix=/usr \
|
||||
# -Ddocs=disabled \
|
||||
# -Dintrospection=enabled \
|
||||
# -Dpixbuf=enabled\
|
||||
# -Dpixbuf-loader=enabled \
|
||||
# -Dvala=enabled
|
||||
autoreconf -vfi
|
||||
./configure --prefix=/usr
|
||||
}
|
||||
build(){
|
||||
ninja -C build $jobs
|
||||
# ninja -C build $jobs
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
ninja -C build install $jobs
|
||||
# ninja -C build install $jobs
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user