diff --git a/ayatana-ido3.recipe.py b/ayatana-ido3.recipe.py new file mode 100644 index 0000000..07a5097 --- /dev/null +++ b/ayatana-ido3.recipe.py @@ -0,0 +1,30 @@ +pkgname = "ayatana-ido3" +pkgver = "0.10.4" +source = f"https://github.com/AyatanaIndicators/ayatana-ido/archive/refs/tags/{pkgver}.tar.gz" +builddir = f"/tmp/fempkg/build/{pkgname}/ayatana-ido-{pkgver}" +fembuilddir = f"/tmp/fempkg/build/{pkgname}" +outputdir = "/home/gabry/lfs-repo/binpkg" +manifestdir = "/home/gabry/lfs-repo/manifests" +destdir = f"{fembuilddir}/DESTDIR" + +deps = ["cmake"] + +build = [ + # Extract + f"mkdir -p {fembuilddir} && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgver}.tar.gz", + + # 64-bit build + f"cd {builddir} && mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -G Ninja ..", + f"cd {builddir}/build && ninja", + f"cd {builddir}/build && DESTDIR={destdir} ninja install", + + f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/", + f"cp -pv {builddir}/COPYING* {destdir}/usr/share/licenses/{pkgname}/", + + # Make tarball + manifests + f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .", + f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt", + + # Cleanup + f"rm -rf {fembuilddir}" +] diff --git a/desktop-file-utils.recipe.py b/desktop-file-utils.recipe.py new file mode 100644 index 0000000..76bcf1f --- /dev/null +++ b/desktop-file-utils.recipe.py @@ -0,0 +1,30 @@ +pkgname = "desktop-file-utils" +pkgver = "0.28" +source = f"https://rocketleaguechatp.duckdns.org/desktop-file-utils-{pkgver}.tar.xz" +builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}" +fembuilddir = f"/tmp/fempkg/build/{pkgname}" +outputdir = "/home/gabry/lfs-repo/binpkg" +manifestdir = "/home/gabry/lfs-repo/manifests" +destdir = f"{fembuilddir}/DESTDIR" + +deps = ["glib"] + +build = [ + # Extract + f"mkdir -p {fembuilddir} && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.xz", + + # 64-bit build + f"cd {builddir} && mkdir build && cd build && meson setup --prefix=/usr --buildtype=release ..", + f"cd {builddir}/build && ninja", + f"cd {builddir}/build && DESTDIR={destdir} ninja install", + + f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/", + f"install -v -m644 {builddir}/COPYING {destdir}/usr/share/licenses/{pkgname}/LICENSE", + + # Make tarball + manifests + f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .", + f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt", + + # Cleanup + f"rm -rf {fembuilddir}" +] diff --git a/gnome-common.recipe.py b/gnome-common.recipe.py new file mode 100644 index 0000000..fce0f4e --- /dev/null +++ b/gnome-common.recipe.py @@ -0,0 +1,31 @@ +pkgname = "gnome-common" +pkgver = "3.18.0" +Pkgver = pkgver[:4] +source = f"https://download.gnome.org/sources/{pkgname}/{Pkgver}/gnome-common-{pkgver}.tar.xz" +builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}" +fembuilddir = f"/tmp/fempkg/build/{pkgname}" +outputdir = "/home/gabry/lfs-repo/binpkg" +manifestdir = "/home/gabry/lfs-repo/manifests" +destdir = f"{fembuilddir}/DESTDIR" + +deps = ["gtk-doc"] + +build = [ + # Extract + f"mkdir -p {fembuilddir} && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.xz", + + # 64-bit build + f"cd {builddir} && ./configure --prefix=/usr", + f"cd {builddir} && make -j$(nproc)", + f"cd {builddir} && make DESTDIR={destdir} install", + + f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/", + f"install -v -m644 {builddir}/COPYING {destdir}/usr/share/licenses/{pkgname}/COPYING", + + # Make tarball + manifests + f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .", + f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt", + + # Cleanup + f"rm -rf {fembuilddir}" +] diff --git a/gpu-screen-recorder-gtk.recipe.py b/gpu-screen-recorder-gtk.recipe.py new file mode 100644 index 0000000..d426429 --- /dev/null +++ b/gpu-screen-recorder-gtk.recipe.py @@ -0,0 +1,30 @@ +pkgname = "gpu-screen-recorder-gtk" +pkgver = "5.7.8" +source = f"https://repo.dec05eba.com/gpu-screen-recorder-gtk" +source_type = "git" +builddir = f"/tmp/fempkgbuild/{pkgname}" +fembuilddir = builddir +outputdir = "/home/gabry/lfs-repo/binpkg" +manifestdir = "/home/gabry/lfs-repo/manifests" +destdir = f"{fembuilddir}/DESTDIR" + +deps = ["gpu-screen-recorder", "gtk3", "libayatana-appindicator", "desktop-file-utils"] + +build = [ + + # 64-bit build + f"cd {builddir} && mkdir -pv build && cd build && meson setup --prefix=/usr --buildtype=release ..", + f"cd {builddir}/build && ninja", + f"cd {builddir}/build && DESTDIR={destdir} ninja install", + f"cd {builddir} && install -v -d -m755 {destdir}/usr/share/applications && install -v -m644 com.dec05eba.gpu_screen_recorder.desktop " + f"{destdir}/usr/share/applications/com.dec05eba.gpu_screen_recorder.desktop", + + f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/", + f"install -v -m644 {builddir}/LICENSE {destdir}/usr/share/licenses/{pkgname}/LICENSE", + + # Make tarball + manifests + f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .", + f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt", + + f"rm -rf {builddir}" +] diff --git a/gtk-doc.recipe.py b/gtk-doc.recipe.py new file mode 100644 index 0000000..086da42 --- /dev/null +++ b/gtk-doc.recipe.py @@ -0,0 +1,31 @@ +pkgname = "gtk-doc" +pkgver = "1.35.1" +Pkgver = pkgver[:4] +source = f"https://download.gnome.org/sources/gtk-doc/{Pkgver}/gtk-doc-{pkgver}.tar.xz" +builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}" +fembuilddir = f"/tmp/fempkg/build/{pkgname}" +outputdir = "/home/gabry/lfs-repo/binpkg" +manifestdir = "/home/gabry/lfs-repo/manifests" +destdir = f"{fembuilddir}/DESTDIR" + +deps = ["itstool"] + +build = [ + # Extract + f"mkdir -p {fembuilddir} && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}-{pkgver}.tar.xz", + + # 64-bit build + f"cd {builddir} && mkdir -pv build && cd build && meson setup --prefix=/usr --buildtype=release ..", + f"cd {builddir}/build && ninja", + f"cd {builddir}/build && DESTDIR={destdir} ninja install", + + f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/", + f"cp -pv {builddir}/COPYING* {destdir}/usr/share/licenses/{pkgname}/", + + # Make tarball + manifests + f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .", + f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt", + + # Cleanup + f"rm -rf {fembuilddir}" +] diff --git a/index.txt b/index.txt index ba059ce..4ba65e4 100644 --- a/index.txt +++ b/index.txt @@ -12,6 +12,7 @@ aubio.recipe.py autoconf.recipe.py automake.recipe.py avahi.recipe.py +ayatana-ido3.recipe.py bash.recipe.py bc.recipe.py binutils.recipe.py @@ -48,6 +49,7 @@ dbus.recipe.py ddcutil.recipe.py dejagnu.recipe.py depot_tools.recipe.py +desktop-file-utils.recipe.py dhcpcd.recipe.py diffutils.recipe.py dosfstools.recipe.py @@ -107,6 +109,7 @@ glslc.recipe.py glu.recipe.py gmmlib.recipe.py gmp.recipe.py +gnome-common.recipe.py gnome-desktop.recipe.py gnome-keyring.recipe.py gnome-settings-daemon.recipe.py @@ -116,6 +119,7 @@ gperf.recipe.py gpgmepp.recipe.py gpgme.recipe.py gpg.recipe.py +gpu-screen-recorder-gtk.recipe.py gpu-screen-recorder.recipe.py graphene.recipe.py grep.recipe.py @@ -126,6 +130,7 @@ gst-plugins-base.recipe.py gstreamer.recipe.py gtk3.recipe.py gtk4.recipe.py +gtk-doc.recipe.py gtkmm4.recipe.py gzip.recipe.py harfbuzz.recipe.py @@ -164,12 +169,15 @@ kf6.recipe.py kmod.recipe.py lcms2.recipe.py less.recipe.py +lfs-repo.code-workspace libaio.recipe.py libaom.recipe.py libarchive.recipe.py libass.recipe.py libassuan.recipe.py libatasmart.recipe.py +libayatana-appindicator.recipe.py +libayatana-indicator.recipe.py libblockdev.recipe.py libburn.recipe.py libbytesize.recipe.py @@ -179,6 +187,7 @@ libcap.recipe.py libcava.recipe.py libclc.recipe.py libdaemon.recipe.py +libdbusmenu.recipe.py libdisplay-info.recipe.py libdrm.recipe.py libdvdread.recipe.py diff --git a/libayatana-appindicator.recipe.py b/libayatana-appindicator.recipe.py new file mode 100644 index 0000000..f2de4da --- /dev/null +++ b/libayatana-appindicator.recipe.py @@ -0,0 +1,30 @@ +pkgname = "libayatana-appindicator" +pkgver = "0.5.94" +source = f"https://github.com/AyatanaIndicators/libayatana-appindicator/archive/refs/tags/{pkgver}.tar.gz" +builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}" +fembuilddir = f"/tmp/fempkg/build/{pkgname}" +outputdir = "/home/gabry/lfs-repo/binpkg" +manifestdir = "/home/gabry/lfs-repo/manifests" +destdir = f"{fembuilddir}/DESTDIR" + +deps = ["libayatana-indicator", "cmake", "glibc", "libdbusmenu"] + +build = [ + # Extract + f"mkdir -p {fembuilddir} && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgver}.tar.gz", + + # 64-bit build + f"cd {builddir} && mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -DENABLE_BINDINGS_MONO=off -G Ninja ..", + f"cd {builddir}/build && ninja", + f"cd {builddir}/build && DESTDIR={destdir} ninja install", + + f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/", + f"cp -pv {builddir}/COPYING* {destdir}/usr/share/licenses/{pkgname}/", + + # Make tarball + manifests + f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .", + f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt", + + # Cleanup + f"rm -rf {fembuilddir}" +] diff --git a/libayatana-indicator.recipe.py b/libayatana-indicator.recipe.py new file mode 100644 index 0000000..d030e9d --- /dev/null +++ b/libayatana-indicator.recipe.py @@ -0,0 +1,30 @@ +pkgname = "libayatana-indicator" +pkgver = "0.9.4" +source = f"https://github.com/AyatanaIndicators/libayatana-indicator/archive/refs/tags/{pkgver}.tar.gz" +builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}" +fembuilddir = f"/tmp/fempkg/build/{pkgname}" +outputdir = "/home/gabry/lfs-repo/binpkg" +manifestdir = "/home/gabry/lfs-repo/manifests" +destdir = f"{fembuilddir}/DESTDIR" + +deps = ["ayatana-ido3"] + +build = [ + # Extract + f"mkdir -p {fembuilddir} && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgver}.tar.gz", + + # 64-bit build + f"cd {builddir} && mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -G Ninja ..", + f"cd {builddir}/build && ninja", + f"cd {builddir}/build && DESTDIR={destdir} ninja install", + + f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/", + f"install -v -m644 {builddir}/COPYING {destdir}/usr/share/licenses/{pkgname}/LICENSE", + + # Make tarball + manifests + f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .", + f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt", + + # Cleanup + f"rm -rf {fembuilddir}" +] diff --git a/libdbusmenu.recipe.py b/libdbusmenu.recipe.py new file mode 100644 index 0000000..2f394e2 --- /dev/null +++ b/libdbusmenu.recipe.py @@ -0,0 +1,32 @@ +pkgname = "libdbusmenu" +pkgver = "18.10.20180917" +source = f"https://deb.debian.org/debian/pool/main/libd/libdbusmenu/libdbusmenu_{pkgver}~bzr492+repack1.orig.tar.xz" +builddir = f"/tmp/fempkg/build/{pkgname}/{pkgname}-{pkgver}~bzr492" +fembuilddir = f"/tmp/fempkg/build/{pkgname}" +outputdir = "/home/gabry/lfs-repo/binpkg" +manifestdir = "/home/gabry/lfs-repo/manifests" +destdir = f"{fembuilddir}/DESTDIR" +exports = "export HAVE_VALGRIND_TRUE='#' && export HAVE_VALGRIND_FALSE=''" + +deps = ["gnome-common", "gtk-doc"] + +build = [ + # Extract + f"mkdir -p {fembuilddir} && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgname}_{pkgver}~bzr492+repack1.orig.tar.xz", + + # 64-bit build + f"cd {builddir} && NOCONFIGURE=1 ./autogen.sh && {exports} && ./configure --prefix=/usr --disable-{{dumper,static,tests}} --with-gtk=3 --disable-vala && " + f"sed -i -e 's/ -shared / -Wl,-O1,--as-needed\\0/g' libtool", + f"cd {builddir} && make -j$(nproc)", + f"cd {builddir} && make DESTDIR={destdir} install", + + f"install -v -d -m755 {destdir}/usr/share/licenses/{pkgname}/", + f"cp -pv {builddir}/COPYING* {destdir}/usr/share/licenses/{pkgname}/", + + # Make tarball + manifests + f"mkdir -p {outputdir} && cd {destdir} && tar --transform 's|^\\.||' -I zstd -cf {outputdir}/{pkgname}-{pkgver}.tar.zst .", + f"mkdir -p {manifestdir} && tar -tf {outputdir}/{pkgname}-{pkgver}.tar.zst | grep -v '/$' > {manifestdir}/{pkgname}.txt", + + # Cleanup + f"rm -rf {fembuilddir}" +]