From 6db8bc506ebcf7473f1ec2d1e015a1df7c00267d Mon Sep 17 00:00:00 2001 From: mac-a-r0ni <1995739+mac-a-r0ni@users.noreply.github.com> Date: Sun, 24 Sep 2023 06:12:50 -0400 Subject: [PATCH] initial import of dep ports removed from crux gparted, libbluray, vte3 --- gparted/Pkgfile | 27 +++++++++++++++++++++++++++ libbluray/Pkgfile | 20 ++++++++++++++++++++ vte3/Pkgfile | 31 +++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 gparted/Pkgfile create mode 100644 libbluray/Pkgfile create mode 100644 vte3/Pkgfile diff --git a/gparted/Pkgfile b/gparted/Pkgfile new file mode 100644 index 0000000..e9c3230 --- /dev/null +++ b/gparted/Pkgfile @@ -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 +} diff --git a/libbluray/Pkgfile b/libbluray/Pkgfile new file mode 100644 index 0000000..3b6b6cd --- /dev/null +++ b/libbluray/Pkgfile @@ -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 +} diff --git a/vte3/Pkgfile b/vte3/Pkgfile new file mode 100644 index 0000000..0787ccf --- /dev/null +++ b/vte3/Pkgfile @@ -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 +}