diff --git a/Makefile b/Makefile index d4a5e4a..83d9846 100644 --- a/Makefile +++ b/Makefile @@ -428,13 +428,31 @@ endef define make_rpm_target $(call make_rpm_pkg_target,$(FEDORA_PKG_FILE),$(1),,) $(call make_rpm_pkg_target,$(FEDORA_TRIAL_PKG_FILE),$(1),-trial,) -$(call make_distro_target,$(1),FEDORA31) -$(call make_distro_target,$(1),FEDORA32) +$(call make_distro_target,$(1),FEDORA) endef $(eval $(call make_rpm_target,fedora31)) $(eval $(call make_rpm_target,fedora32)) +# 1: pkg filename +# 2: distro (freebsd12,freebsd13,...) +# 3: "-trial" for trial +# 4: dependency (to make trial depend on full) +define make_freebsd_pkg_target +$(BUILD_DIR)/$(2)/$(1): freebsd-port/Makefile.in $(COMMON_SRC_DEPS) $(4) + $$(call make_carla,/usr,sudo,/lib/zrythm) + rm -rf /usr/ports/audio/zrythm + mkdir -p /usr/ports/audio/zrythm + cp -R freebsd-port/* /usr/ports/audio/zrythm/ + sed -i -e 's/@VERSION@/$(ZRYTHM_PKG_VERSION)/g' /usr/ports/audio/zrythm/Makefile + sed -i -e 's/@ZRYTHM_TARBALL@/$(ZRYTHM_TARBALL)/g' /usr/ports/audio/zrythm/distinfo + cd /usr/ports/audio/zrythm && make install clean +endef + +$(eval $(call make_freebsd_pkg_target,$(FREEBSD_PKG_FILE),freebsd12,,)) +$(eval $(call make_freebsd_pkg_target,$(FREEBSD_PKG_FILE),freebsd12,-trial,)) +$(call make_distro_target,freebsd12,FREEBSD) + # create AppImage target # arg 1: '-trial' if trial # arg 2: 'true' if trial, 'false' if not diff --git a/freebsd-port/pkg-plist b/freebsd-port/pkg-plist new file mode 100644 index 0000000..4840a31 --- /dev/null +++ b/freebsd-port/pkg-plist @@ -0,0 +1,130 @@ +bin/zrythm +bin/zrythm_launch +etc/bash_completion.d/zrythm +share/applications/zrythm.desktop +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG-LICENSE.txt +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Bold.ttf +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Bold.woff +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Bold.woff2 +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-BoldItalic.ttf +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-BoldItalic.woff +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-BoldItalic.woff2 +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Italic.ttf +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Italic.woff +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Italic.woff2 +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Light.ttf +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Light.woff +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Light.woff2 +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-LightItalic.ttf +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-LightItalic.woff +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-LightItalic.woff2 +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Regular.ttf +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Regular.woff +share/fonts/zrythm/DSEG14-Classic-MINI/DSEG14ClassicMini-Regular.woff2 +share/fonts/zrythm/DSEG14-Classic-MINI/README +share/fonts/zrythm/DSEG14-Classic-MINI/README.md +share/icons/hicolor/scalable/apps/zrythm.svg +share/locale/ar/LC_MESSAGES/zrythm.mo +share/locale/de/LC_MESSAGES/zrythm.mo +share/locale/en_GB/LC_MESSAGES/zrythm.mo +share/locale/es/LC_MESSAGES/zrythm.mo +share/locale/fr/LC_MESSAGES/zrythm.mo +share/locale/gl/LC_MESSAGES/zrythm.mo +share/locale/hi/LC_MESSAGES/zrythm.mo +share/locale/it/LC_MESSAGES/zrythm.mo +share/locale/ja/LC_MESSAGES/zrythm.mo +share/locale/ko/LC_MESSAGES/zrythm.mo +share/locale/nb_NO/LC_MESSAGES/zrythm.mo +share/locale/pt/LC_MESSAGES/zrythm.mo +share/locale/pt_BR/LC_MESSAGES/zrythm.mo +share/locale/ru/LC_MESSAGES/zrythm.mo +share/locale/zh/LC_MESSAGES/zrythm.mo +share/man/man1/zrythm.1.gz +share/mime/packages/org.zrythm.Zrythm-mime.xml +%%DATADIR%%/samples/square_emphasis.wav +%%DATADIR%%/samples/square_normal.wav +%%DATADIR%%/sourceview-styles/monokai-extended-zrythm.xml +%%DATADIR%%/themes/icons/zrythm-dark/index.theme +%%DATADIR%%/themes/icons/zrythm-dark/scalable/README +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/add.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/automate.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/bus.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/cursor-move.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/cut-clip.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/cutter.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/dim.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/draw-cross.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/draw-line.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-clear.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-copy.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-cut.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-delete.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-duplicate.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-paste.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-purge.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-redo.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-select-all.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-tool.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/edit-undo.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/event-viewer.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/expose-to-jack.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/fade-in.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/fade-out.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/listen.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/media-loop.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/media-playlist-repeat.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/mixer.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/mono.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/mute.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/object-resize-left.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/object-resize-loop-left.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/object-resize-loop-right.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/object-resize-right.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/object-stretch-left.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/object-stretch-right.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/phase-invert.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/piano-roll.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/power.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/preset-a.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/preset-ab.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/preset-b.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/preset-ba.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/quantize-options.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/quick-quantize.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/random-1dice.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/random-2dice.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/remove.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/select-tool.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/snap-to-grid.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/solo.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/split.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/stereo.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/track-inspector.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/waveform.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/window-maximize.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/window-minimize.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/zoom-in.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/actions/zoom-out.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/apps/zrythm-splash-png.png +%%DATADIR%%/themes/icons/zrythm-dark/scalable/apps/zrythm-splash-png.xcf +%%DATADIR%%/themes/icons/zrythm-dark/scalable/apps/zrythm-splash.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/apps/zrythm.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/devices/metronome.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/devices/sd-card.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/devices/speaker.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/devices/synth.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/emotes/face-smile.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/mimetypes/logo-abletonlink.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/mimetypes/logo-au.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/mimetypes/logo-audacity.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/mimetypes/logo-ladspa.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/mimetypes/logo-lv2.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/mimetypes/logo-vst.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/status/bars.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/status/image-missing.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/status/jack-timebase-master.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/status/jack-transport-client.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/status/signal-audio.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/status/signal-cv.svg +%%DATADIR%%/themes/icons/zrythm-dark/scalable/status/signal-midi.svg +%%DATADIR%%/themes/zrythm-theme.css