Skip to content

Commit

Permalink
chore(sync): frawhide -> f39 (#1348)
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko authored Jun 11, 2024
1 parent e58e321 commit 9cb8018
Show file tree
Hide file tree
Showing 29 changed files with 616 additions and 24 deletions.
2 changes: 1 addition & 1 deletion anda/apps/anki-bin/anki-bin.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: anki-bin
Version: 24.06
Version: 24.06.2
Release: 1%?dist
Summary: Flashcard program for using space repetition learning (Installed with wheel)
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
Expand Down
2 changes: 1 addition & 1 deletion anda/apps/anki-qt5/anki-qt5.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: anki-qt5
Version: 24.06
Version: 24.06.2
Release: 1%?dist
Summary: Flashcard program for using space repetition learning
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
Expand Down
2 changes: 1 addition & 1 deletion anda/apps/anki/anki.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: anki
Version: 24.06
Version: 24.06.2
Release: 1%?dist
Summary: Flashcard program for using space repetition learning
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
Expand Down
1 change: 1 addition & 0 deletions anda/apps/armcord-bin/armcord-bin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Source2: https://raw.githubusercontent.com/ArmCord/ArmCord/v%version/README.md
Requires: electron xdg-utils
ExclusiveArch: x86_64 aarch64 armv7l
Conflicts: armcord
BuildRequires: add-determinism

%description
ArmCord is a custom client designed to enhance your Discord experience
Expand Down
3 changes: 2 additions & 1 deletion anda/apps/armcord/armcord.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ URL: https://github.com/ArmCord/ArmCord
Group: Applications/Internet
Source1: launch.sh
Requires: electron xdg-utils
BuildRequires: nodejs-npm git
BuildRequires: nodejs-npm git add-determinism
Conflicts: armcord-bin
BuildArch: noarch

Expand All @@ -18,6 +18,7 @@ ArmCord is a custom client designed to enhance your Discord experience
while keeping everything lightweight.

%prep
rm -rf *
git clone %url .
git checkout v%version

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so

Name: discord-canary-openasar
Version: 0.0.403
Version: 0.0.412
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
Expand Down
2 changes: 1 addition & 1 deletion anda/apps/discord-canary/discord-canary.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so

Name: discord-canary
Version: 0.0.403
Version: 0.0.412
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers
URL: discord.com
Expand Down
4 changes: 2 additions & 2 deletions anda/apps/mpv/mpv-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%global commit 943a50b300a081bb223325295040846fe435a861
%global commit 5158a3d779ed5b6bcd41b4a0573847abc08dcb66
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240504
%global commit_date 20240610
%global ver v0.38.0

Name: mpv-nightly
Expand Down
4 changes: 2 additions & 2 deletions anda/games/prismlauncher-nightly/prismlauncher-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
%global real_name prismlauncher
%global nice_name PrismLauncher

%global commit bfac12604e9cd0884987ca89f34a455cf16c543c
%global commit 6b1c4981e7032a044a5d77649d0d264831672cd5
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
%global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8

%global commit_date 20240501
%global commit_date 20240611
%global snapshot_info %{commit_date}.%{shortcommit}

%bcond_without qt6
Expand Down
38 changes: 38 additions & 0 deletions anda/langs/go/albius/albius.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
%define debug_package %nil
%global commit 688ca6ae29de89174794a48be61ecd0fb1111c96
%global commit_date 20240430
%global shortcommit %(c=%{commit}; echo ${c:0:7})

Name: albius
Version: %date.%shortcommit
Release: 1%?dist
Summary: A Linux installer backend with support for SquashFS and OCI installations
License: GPL-3.0
URL: https://github.com/Vanilla-OS/Albius
Source0: %url/archive/%commit/albius-%commit.tar.gz
BuildRequires: go anda-srpm-macros btrfs-progs-devel pkgconfig(devmapper) pkgconfig(gpgme) lvm2 gcc

%description
Albius is a Linux installer backend originally designed for Vanilla OS,
but capable of handling any Linux distribution that uses either Squashfs
or OCI images for distributing the base system. Albius is written entirely
in Go and uses a recipe system (see "recipes" subsection) for describing
operations, mountpoints and options.

%prep
%autosetup -n Albius-%commit
go mod download

%build
mkdir -p build/bin
go build -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -s -w" -buildmode=pie -o build/bin/albius .

%install
mkdir -p %{buildroot}%{_bindir}/
install -pm755 build/bin/albius %{buildroot}%{_bindir}/

%files
%_bindir/albius

%changelog
%autochangelog
5 changes: 5 additions & 0 deletions anda/langs/go/albius/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "albius.spec"
}
}
1 change: 1 addition & 0 deletions anda/langs/go/albius/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rpm.version(gh("Vanilla-OS/Albius"));
4 changes: 2 additions & 2 deletions anda/langs/nim/nim-nightly/nim-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
%global commit d09c3c0f58eb9f1f4cf07fa98a9686aa19778f16
%global commit 8cbbe12ee4eaa9568d246638b1f712a5a57e20ab
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ver 2.1.1
%global commit_date 20240430
%global commit_date 20240611
%global debug_package %nil

Name: nim-nightly
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
%global real_name vala-language-server

%global commit a49292758922160244d1842cdcba0a5154d1cb27
%global commit 31cb5116a4a138365feb709ebb7b8670db604991
%global shortcommit %(c=%{commit}; echo ${c:0:7})

%global commit_date 20240330
%global commit_date 20240605
%global snapshot_info %{commit_date}.%{shortcommit}
%global verrel 0.48.7

Expand Down
4 changes: 2 additions & 2 deletions anda/langs/vala/vala-nightly/vala-nightly.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
%global priority 90

%global real_name vala
%global commit fa704b2c2385f35d12568ee31de33568d6d67749
%global commit 781cba14b1402e8968f85aed84d73f6fc4ea48ba
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global repo https://gitlab.gnome.org/GNOME/%{real_name}.git

%global commit_date 20240426
%global commit_date 20240605
%global snapshot_info %{commit_date}.%{shortcommit}

Name: vala-nightly
Expand Down
2 changes: 1 addition & 1 deletion anda/langs/vala/vala-panel/vala-panel.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: vala-panel
Version: 24.03
Version: 24.05
%global forgeurl https://gitlab.com/vala-panel-project/vala-panel
%forgemeta

Expand Down
5 changes: 5 additions & 0 deletions anda/lib/openh264/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "openh264.spec"
}
}
201 changes: 201 additions & 0 deletions anda/lib/openh264/gst-p-bad-cleanup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
#!/bin/sh

# Process a gst-plugins-bad tarball to remove
# unwanted GStreamer plugins.
#
# This script here is taken from Fedora gstreamer1-plugins-bad-free repo, with
# only change being openh264 addition.
#
# See https://bugzilla.redhat.com/show_bug.cgi?id=532470
# for details
#
# Bastien Nocera <[email protected]> - 2010
#

SOURCE="$1"
NEW_SOURCE=`echo $SOURCE | sed 's/bad-/bad-openh264-/'`
DIRECTORY=`echo $SOURCE | sed 's/\.tar\.xz//'`

ALLOWED="
aacparse
accurip
adpcmdec
adpcmenc
aiff
aiffparse
amrparse
asfmux
audiobuffersplit
audiofxbad
audiolatency
audiomixer
audiomixmatrix
audioparsers
audiovisualizers
autoconvert
bayer
camerabin
camerabin2
cdxaparse
codecalpha
codectimestamper
coloreffects
colorspace
compositor
dataurisrc
dccp
debugutils
dtmf
dvbsubenc
faceoverlay
festival
fieldanalysis
freeverb
freeze
frei0r
gaudieffects
gdp
geometrictransform
h264parse
hdvparse
hls
id3tag
inter
interlace
invtelecine
ivfparse
ivtc
jpegformat
jp2kdecimator
legacyresample
librfb
liveadder
midi
mve
mpegdemux
mpeg4videoparse
mpegpsmux
mpegtsdemux
mpegtsmux
mpegvideoparse
mxf
netsim
nsf
nuvdemux
onvif
openh264
patchdetect
pcapparse
pnm
proxy
qtmux
rawparse
removesilence
rist
rtmp2
rtp
rtpmux
rtpvp8
scaletempo
sdi
sdp
segmentclip
selector
smooth
speed
stereo
subenc
switchbin
timecode
transcode
tta
valve
videofilters
videoframe_audiolevel
videomaxrate
videomeasure
videoparsers
videosignal
vmnc
yadif
y4m
"

NOT_ALLOWED="
dvbsuboverlay
dvdspu
real
siren
"

error()
{
MESSAGE=$1
echo $MESSAGE
exit 1
}

check_allowed()
{
MODULE=$1
for i in $ALLOWED ; do
if test x$MODULE = x$i ; then
return 0;
fi
done
# Ignore errors coming from ext/ directory
# they require external libraries so are ineffective anyway
return 1;
}

check_not_allowed()
{
MODULE=$1
for i in $NOT_ALLOWED ; do
if test x$MODULE = x$i ; then
return 0;
fi
done
return 1;
}

rm -rf $DIRECTORY
tar xJf $SOURCE || error "Cannot unpack $SOURCE"
pushd $DIRECTORY > /dev/null || error "Cannot open directory \"$DIRECTORY\""

unknown=""
for subdir in gst ext sys; do
for dir in $subdir/* ; do
# Don't touch non-directories
if ! [ -d $dir ] ; then
continue;
fi
MODULE=`basename $dir`
if ( check_not_allowed $MODULE ) ; then
echo "**** Removing $MODULE ****"
echo "Removing directory $dir"
rm -r $dir || error "Cannot remove $dir"
echo
elif test $subdir = ext || test $subdir = sys; then
# Ignore library or system non-blacklisted plugins
continue;
elif ! ( check_allowed $MODULE ) ; then
echo "Unknown module in $dir"
unknown="$unknown $dir"
fi
done
done

echo

if test "x$unknown" != "x"; then
echo -n "Aborting due to unkown modules: "
echo "$unknown" | sed "s/ /\n /g"
exit 1
fi

popd > /dev/null

tar cJf $NEW_SOURCE $DIRECTORY
echo "$NEW_SOURCE is ready to use"

Loading

0 comments on commit 9cb8018

Please sign in to comment.