initial import of dep ports removed from crux

gparted, libbluray, vte3
This commit is contained in:
mac-a-r0ni 2023-09-24 06:12:50 -04:00
parent 3b41afcc1d
commit 6db8bc506e
3 changed files with 78 additions and 0 deletions

27
gparted/Pkgfile Normal file
View File

@ -0,0 +1,27 @@
# Description: Gnome Partition Editor.
# URL: http://gparted.sourceforge.net/
# Maintainer: mac-a-r0ni, j at lngn dot net
# Depends on: gtkmm3 parted polkit
# Optional: gtk-doc pinentry polkit-gnome
name=gparted
version=1.5.0
release=1
source=(https://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--libexecdir=/usr/sbin \
--enable-online-resize \
--enable-libparted-dmraid \
--enable-xhost-root \
--disable-dependency-tracking \
--disable-doc
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/locale
}

20
libbluray/Pkgfile Normal file
View File

@ -0,0 +1,20 @@
# Description: Blu-Ray access library.
# URL: https://www.videolan.org/developers/libbluray.html
# Maintainer: mac-a-r0ni, j at lngn dot net
# Depends on: fontconfig libxml2
name=libbluray
version=1.3.4
release=1
source=(https://download.videolan.org/pub/videolan/libbluray/$version/libbluray-$version.tar.bz2)
build() {
cd $name-$version
./configure \
$([ -e /usr/bin/ant ] || echo --disable-bdjava-jar) \
--prefix=/usr
make
make DESTDIR=$PKG install
}

31
vte3/Pkgfile Normal file
View File

@ -0,0 +1,31 @@
# Description: Virtual Terminal Emulator widget for GTK3/4
# URL: https://wiki.gnome.org/action/show/Apps/Terminal/VTE
# Maintainer: mac-a-r0ni, j at lngn dot net
# Depends on: gnutls gtk3
# Optional: gtk4 icu libsixel vala
name=vte3
version=0.74.0
release=1
source=(https://gitlab.gnome.org/GNOME/vte/-/archive/$version/vte-$version.tar.bz2)
build() {
prt-get isinst gtk4 && PKGMK_VTE+=' -D gtk4=true' || PKGMK_VTE+=' -D gtk4=false'
prt-get isinst icu || PKGMK_VTE+=' -D icu=false'
prt-get isinst libsixel && PKGMK_VTE+=' -D sixel=true'
prt-get isinst vala || PKGMK_VTE+=' -D vapi=false'
meson setup build vte-$version ${PKGMK_VTE} \
--prefix=/usr \
--libexecdir=/usr/lib \
--buildtype=plain \
--wrap-mode nodownload \
-D b_pie=true \
-D b_lto=false \
-D _systemd=false
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/share/locale
}