diff --git a/audio/alsa-firmware/DESCR b/audio/alsa-firmware/DESCR new file mode 100644 index 0000000..e69de29 diff --git a/audio/alsa-firmware/Makefile b/audio/alsa-firmware/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/audio/alsa-lib/DESCR b/audio/alsa-lib/DESCR new file mode 100644 index 0000000..e69de29 diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile new file mode 100644 index 0000000..3634ce1 --- /dev/null +++ b/audio/alsa-lib/Makefile @@ -0,0 +1,14 @@ +# Makefile - hhl - /usr/ports/lang/gcc12 +# Copyright 2022 Nathan Fisher +# +comment = The ALSA library used for the ALSA sound interface +distname = alsa-lib +pkg_version = 1.2.7.2 +pkg_homepage = https://www.alsa-project.org/ +pkg_license = gnu-gpl-v2 +pkg_maintainer = jeang3nie@hitchhiker-linux.org +distext = bz2 +dist_remote = $(pkg_homepage)/files/pub/lib/$(distfile) +sha512_sum = 79e5920384e570a1acd8ecd1eb8812879333c3cedb1d15780080afc40125b97df893c33f4163d9dd863871b628bc6026265f8ace2c8634fc1af5b52b62ac9cfe +include ../../mk/ports.mk +include ../../mk/targets.mk diff --git a/audio/alsa-plugins/DESCR b/audio/alsa-plugins/DESCR new file mode 100644 index 0000000..e69de29 diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/audio/alsa-utils/DESCR b/audio/alsa-utils/DESCR new file mode 100644 index 0000000..e69de29 diff --git a/audio/alsa-utils/Makefile b/audio/alsa-utils/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/mk/targets.mk b/mk/targets.mk index 98fe425..5f4c5c6 100644 --- a/mk/targets.mk +++ b/mk/targets.mk @@ -100,6 +100,12 @@ $(workdir)/BUILD_INFO: $(workdir)/.staged @echo PKGSYSCONFBASEDIR=/usr/pkg/etc >> work/build_info @echo PKGSYSCONFDIR=/usr/pkg/etc >> work/build_info @echo PKGTOOLS_VERSION=$$(pkg_add -V) >> work/build_info + @find $(DESTDIR) -type f | while read f ; \ + do if [ "$$(file $$f | grep ELF)" != "" ] ; \ + then ldd $$f ; fi ; \ + done | awk '{ print $$3 }' | grep -v linux-vdso | sort -u | \ + while read f ; \ + do echo REQUIRES=$$f >> work/build_info ; done @for provides in $(pkg_provides) ; \ do echo PROVIDES=$${provides} >> work/build_info ; done @mv work/build_info $@ @@ -127,12 +133,24 @@ $(srcdir)/.patched: $(patches) $(srcdir)/.dirstamp patch -p1 < $(wkgdir)/$${patch} ; done touch $@ -$(srcdir)/.dirstamp: $(distlocal) | $(workdir) +$(srcdir)/.dirstamp: $(distlocal) install_dependencies | $(workdir) $(info $(grn)=== Extracting $(distlocal) ===$(reset)) [ "$$(sha512sum $(distlocal) | awk '{ print $$1 }')" == "$(sha512_sum)" ] tar $(tarflags) $(distlocal) -C work/ touch $@ +install_dependencies: $(workdir)/.dependencies_installed + +.PHONY: install_dependencies + +$(workdir)/.dependencies_installed: | $(workdir) + for dep in $(dependencies) ; \ + do depname = $$(basename $${dep}) ; \ + if [ ! $$(pkg_info -qe $${depname}) ] ; \ + then make -C /usr/ports/$${dep} ; \ + fi ; done + touch $@ + ifeq ($(use_configure),1) show-config_opts: $(info $(grn)$(config_opts)$(reset)) diff --git a/x11/briskmenu/Makefile b/x11/briskmenu/Makefile new file mode 100644 index 0000000..214bb84 --- /dev/null +++ b/x11/briskmenu/Makefile @@ -0,0 +1,35 @@ +# Makefile - hhl - /usr/ports/x11/briskmenu +# Copyright 2022 Nathan Fisher +# +comment = https://github.com/getsolus/brisk-menu/releases +distname = brisk-menu +pkg_version = v0.6.2 +pkg_homepage = https://github.com/getsolus/brisk-menu/ +pkg_license = gnu-gpl-v2 +pkg_maintainer = jeang3nie@hitchhiker-linux.org +distremote = +sha512_sum = e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173 +include ../../mk/ports.mk +include config.mk +include provides.mk + +ifeq ($(enable_fortran), 1) + fortran = ,fortran +endif +ifeq ($(enable_go), 1) + golang = ,go +endif +ifeq ($(enable_objc), 1) + objc = ,objc +endif +ifeq ($(enable_objcxx), 1) + objcxx = ,obj-c++ +endif + +config_opts += --enable-languages=c,c++,lto$(fortran)$(golang)$(objc)$(objcxx) +config_opts += --disable-multilib +config_opts += --disable-bootstrap +config_opts += --with-system-zlib + +include ../../mk/targets.mk +