feat(pkgbuild): add anaconda and anaconda-widgets packages with dependency ordering
Add PKGBUILD files for anaconda (45.8) and anaconda-widgets (45.8) to support Fedora's Anaconda installer ported to Arch for FWS with liveimg payload. anaconda-widgets: - GTK3 UI widgets with GObject introspection - Extracted from anaconda source as autonomous autotools project - Versioned on anaconda release anaconda: - Main installer with comprehensive dependency set - Includes note that further iteration needed on real Arch for buildtime deps and Fedora-specific paths - Removes widgets files (provided by anaconda-widgets package) Update setup-aur.sh to build local packages in proper dependency order: - Define LOCAL_BUILD_ORDER array to ensure leaf packages build first - anaconda builds last (depends on all other local packages) - Extract build logic into build_local_pkg function - Fallback to alphabetical scan for future unlisted packages - This prevents makepkg -s failures when deps are not yet installed
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# Maintainer: FWS
|
||||
# Widgets GTK3 de l'installateur Anaconda (rhinstaller). Lib C + introspection
|
||||
# GObject (AnacondaWidgets-1.0.typelib) + overrides gi. Le sous-dossier widgets/
|
||||
# du source anaconda est un projet autotools AUTONOME (son propre configure.ac,
|
||||
# AC_INIT([AnacondaWidgets],[3.4])) → on le construit seul depuis le tarball
|
||||
# anaconda-45.8. Paquet versionné sur la release anaconda (comme le sous-paquet
|
||||
# Fedora anaconda-widgets).
|
||||
pkgname=anaconda-widgets
|
||||
pkgver=45.8
|
||||
pkgrel=1
|
||||
pkgdesc="GTK3 UI widgets for the Anaconda installer (introspection inclus)"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/rhinstaller/anaconda"
|
||||
license=('GPL-2.0-or-later')
|
||||
depends=('gtk3' 'glib2' 'pango' 'gdk-pixbuf2' 'python-gobject')
|
||||
makedepends=('autoconf' 'automake' 'libtool' 'gettext' 'intltool'
|
||||
'gobject-introspection' 'gtk-doc' 'gladeui' 'python')
|
||||
source=("anaconda-$pkgver.tar.gz::https://github.com/rhinstaller/anaconda/archive/refs/tags/anaconda-$pkgver.tar.gz")
|
||||
sha256sums=('5ef1464bff7f28a4a09a821cbb0121f09ef504ec169288d742373f86807ec4ed')
|
||||
_srcdir="anaconda-anaconda-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_srcdir/widgets"
|
||||
# autogen.sh : autoreconf -vfi + copie /usr/share/gettext/gettext.h dans src/.
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr --libdir=/usr/lib \
|
||||
--disable-static --disable-gtk-doc --enable-introspection
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_srcdir/widgets"
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" -name '*.la' -delete
|
||||
# NB : on inclut aussi les fichiers -devel (.so/.h/.pc + catalogue glade) ;
|
||||
# inoffensif sur l'ISO et évite de manquer un fichier runtime. Le paquet
|
||||
# « anaconda » retirera ces mêmes fichiers de son propre pkgdir.
|
||||
}
|
||||
Reference in New Issue
Block a user